`
qiujiayu
  • 浏览: 170452 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

TOMCAT 配置 JROCKIT MISSION CONTROL

    博客分类:
  • JAVA
阅读更多

配置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 楼 hrbjie 2010-10-22  
n你好,能不能写篇关于jrockit 工具如何使用的文章

相关推荐

Global site tag (gtag.js) - Google Analytics