--- title: "Enabling JMX on Tomcat" slug: "iobeya-431-on-prem-enabling-jmx-on-tomcat" updated: 2025-02-10T13:42:18Z published: 2025-02-10T13:42:18Z canonical: "help.iobeya.com/iobeya-431-on-prem-enabling-jmx-on-tomcat" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.iobeya.com/llms.txt > Use this file to discover all available pages before exploring further. # 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): ```java -Dcom.sun.management.jmxremote.port=%my.jmx.port% -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false ``` Replace by a port number available allowing remote connection from the JConsole. > [!NOTE] > 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](https://docs.oracle.com/en/java/javase/11/management/monitoring-and-management-using-jmx-technology.html). You can find the detailed documentation for JMX and Tomcat [here](https://tomcat.apache.org/tomcat-9.0-doc/monitoring.html).