Enabling JMX on Tomcat
  • 1 Minute à lire
  • PDF

Enabling JMX on Tomcat

  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

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.


Cet article vous a-t-il été utile ?