Remote JMX

Originally published November 19, 2008.
Information provided in this post may be out of date.

The following Java system properties allow unauthenticated and unsecured remote JMX client connections. I use these system properties when remotely troubleshooting problems during development.? My JMX agent of choice is VisualVM with the MBeans plugin.

-Dcom.sun.management.jmxremote.port=<em>port</em> -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

For further details on JMX and how to configure access, consult Sun’s Java JMX Management Guide.