美文网首页
tomcat配置jconsole监视

tomcat配置jconsole监视

作者: sunyuan1125 | 来源:发表于2017-07-29 16:46 被阅读37次

1、Start.bat 启动

catalina.bat中

在:doRun和:doStart下添加以下代码

set JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=64M -XX:MaxPermSize=128m -Xms512m -Xmx1024m

set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=10090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"

相关文章

网友评论

      本文标题:tomcat配置jconsole监视

      本文链接:https://www.haomeiwen.com/subject/vpstzttx.html