解决jconsole 点击连接,无响应

 在VM options中加入-Dcom.sun.management.jmxremote即可解决。扩展知识:

-Dcom.sun.management.jmxremote.port=8011 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false

-Dcom.sun.management.jmxremote.port 监测端口号 
-Djava.rmi.server.hostname 监测主机名 
-Dcom.sun.management.jmxremote.authenticate 是否需要登录验证 
-Dcom.sun.management.jmxremote.ssl 是否安全套接层连接

发布了388 篇原创文章 · 获赞 105 · 访问量 31万+

猜你喜欢

转载自blog.csdn.net/haoranhaoshi/article/details/104960322