VisualVM with Tomcat
1. adding these paramater into catalina.out
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote=true
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=3333
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.ssl=false
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false
2. Start Tomcat
3. Start VisualVM
cmd>visualvm --jdkhome %JAVA_HOME%
[Adding JMX Connection in VisualVM with Independent Tomcat]
4. Add JMX Connection VisualMX for WebApplication in Tomcat with Eclipse
5. VisualMX Monitoring
0 comments:
Post a Comment