me,myself,english and programming..

Using JConsole to Monitor Tomcat Applications

JConsole is a graphical tool which allows the user to monitor and manage the behavior of Java applications.

jConsole

In order to enable jconsole to monitor Tomcat Application, just add the additional line in catalina.bat or catalina.sh

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

Now you can open jconsole using below command.

jconsole localhost:9001

 

Till then…happy monitoring.. ;)

Post a Comment