Java Management Extensions

Enabling JMX

To quickly enable in an unsecured way, use something like in your jvm options


-Dcom.sun.management.jmxremote.port=9004
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
    

This works in java 5 and 6

Connecting to JMX console

You can then use jconsole and connect to port 9004 of the jvm's server.

Published: Monday, 26 July 2010