Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...