Java runtime parameters to enable JMX

To enable JMX for some java process, the following option is required. -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9099 -Dcom.sun.management.jmxremote.rmi.port=9199 The important two ports are com.sun.management.jmxremote.port and com.sun.management.jmxremote.rmi.port. If JMX client is connecting through firewall, the two ports must be opened.