Can't stop tomcat ok when i configure jmxremote

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?

+5
source share
2 answers

There are 2 things:

  • Please see my blog post for a brief outline of how to do this (meeting this in the past ...)
  • , , , . , jmx , , .
+7
0

All Articles