Enabling JMX port in Tomcat


By default JMX port is not enable in the Tomcat.
If you want to enable the JMX port, add the fallowing properties
in catalina.bat file which located in bin directory of the %CATALINA_HOME%.

Add the fallowing properties as starting line of catalina.bat

set JAVA_OPTS= %JAVA_OPTS% -Dcom.sun.management.jmxremote.port=7009
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.