By arunraj
We can monitor jvm by configuring the following jmx parameters as vm arguments during tomcat startup.
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8082
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=8082
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
If tomcat is installed as windows service, then right click tomcat icon in the task bar -> configuration window -> java panel, add the above vm arguments. Now open jConsole(.exe) , click remote access option, provide the hostName(localhost) and the port(8082 as above) to monitor the jvm.