THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To enable JMX remoting with Java 5 on some platforms you need to do this first (e.g. on windows?). There's no need on OS X for sure:
Code Block |
---|
export JAVA_OPTS="-Dcom.sun.management.jmxremote.port=5001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" |
Then run JConsole
Code Block |
---|
jconsole
|
Go to the advanced tab and enter the JMX Service URL
then you should see all of the ServiceMix MBeans in the console.
Using MC4J
When you want to get at the ServiceMix MBeans using MC4J use JSR160 as your server connection type and the above default JMX Service URL as your server URL.
...