快乐的老鼠 发表于 2017-1-21 12:08:01

TOMCAT 配置 JROCKIT MISSION CONTROL

  配置JAVA_HOME,CLASSPATH,PATH等为JROCKIT路径和包,主要是JAVA_HOME,TOMCAT需要使用
  然后配置TOMCAT启动参数
  CATALINA.BAT中找到
  set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
  在其后增加
  -Xmanagement -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
  如下是增加后的
  set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"-Xmanagement -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
页: [1]
查看完整版本: TOMCAT 配置 JROCKIT MISSION CONTROL