Tomcat JMX Monitor

Add the following context into the Tomcat Service Properties / Java tab / Java Options

-Djava.rmi.server.hostname=<ip address>
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=<port>
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Example
-Djava.rmi.server.hostname=192.168.204.40
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8585
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Monitor tools:
1. Install jdk1.8 
2. Go to bin folder
3. Double click jconsole.exe
4. Choose Remote Process
5. Inpu the IP Address and port of the tomcat server which you want to monitor
For example: 192.168.204.40:8585

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error