I added the configuration jmxremotein the catalina.bat file:
set JAVA_OPTS=-Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
so that I can run jconsole to monitor tomcat performance.
But I had a problem that I couldn’t stop tomcat normally through $CATALINA_HOME\catalina.bat stop, and$CATALINA_HOME\shutdown.bat
Any suggestion?
source
share