Thursday, February 10, 2005

Monitoring Tomcat 5.5.x with JMX

To monitor your Tomcat instance with JMX start Tomcat with the following JVM parameters.

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9000
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Then download MC4J and configure it to connect to Tomcat with the following string:

jmx:rmi:///jndi/rmi://localhost:9000/jmxrmi

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home