Tuesday, July 27, 2010

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

1 comment:

Anonymous said...

What is the use of JMX port?