Enabling JMX on Tomcat

Before being able to connect a JMX console to iObeya, it must be enabled by specifying the following command-line options for Tomcat (environment variable is CATALINA_OPTS in setenv.sh or setenv.bat):

-Dcom.sun.management.jmxremote.port=%my.jmx.port%
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

Replace <MY_JMX_PORT> by a port number available allowing remote connection from the JConsole.

Note:

Although it is possible to disable authentication by default, we do not recommend doing this in a production environment.

For detailed information on how to secure your remote JMX connection, refer to the Oracle documentation here.

You can find the detailed documentation for JMX and Tomcat here.