`
matt.u
  • 浏览: 127498 次
  • 性别: Icon_minigender_1
  • 来自: CQ
社区版块
存档分类
最新评论

使用JVisualVM连接tomcat

 
阅读更多
在catalina.sh中加入以下语句:
CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8849 -Dcom.sun.management.jmxremote.ssl=false -Dco
m.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=202.202.208.70"



如果不加-Djava.rmi.server.hostname=202.202.208.70会在某些机器上无法连接。详细原因待查。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics