`

jvisualvm连接tomcat

    博客分类:
  • J2EE
 
阅读更多

怎么才能让jvisualvm连上tomcat,查找性能瓶颈,只要在catalina.sh文件中增加

 

export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote.port=8111 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=你的ip"

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics