Having download and run mbeanInspector, I cannot get it running has anyone had this issue?
Microsoft Windows XP [Version 5.1.2600]
C:\Program Files\IBM\WebSphere\MBeansInspector\bin>mbeaninspector.bat
'"C:\Program Files\IBM\WebSphere\MBeansInspector\bin\setupCmdLine.bat"' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
"Mike Dunk" <mike...@fairisaac.com> wrote in message
news:1515640195.116993404...@ltsgwas010.sby.ibm.com...
This is a Windows issue, not a WAS issue.
C:\Program Files\IBM\WebSphere\AppServer\bin>mbeaninspector.bat
java.lang.ClassNotFoundException: com.ibm.mbeaninspector.MBeanInspector
at java.net.URLClassLoader.findClass(URLClassLoader.java:492)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:132
)
at java.lang.ClassLoader.loadClass(ClassLoader.java:604)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:239)
I think Paul is right when he says that this is more of a windows issue, I must have screwed up the installation somewhere along the line.
When I say it's a Windows issue, all I mean is that a .bat file can't
execute another .bat file that is not in the local directory or on the
Windows Path. The problem is not WAS, it's basic ignorance of the
simplest concepts.
Doesn't the reference to the "%~dp0" macro used in mbeaninspector.bat resolve the fully expanded path to the directory containing the batch file?
Put another way: wouldn't the reference to the "~dp0" macro in mbeaninspector.bat allow batch files to run regardless of the current working directory?
Equally, hasn't the addition of "%~dp0" in front of setupCmdLine.bat in the batch file "mbeaninspector.bat" given location independence without having to hard code paths?
So, it's very well possible that could have been written differently, but if
it works, it's just enough.