解决jconsole 点击连接,无响应

解决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 是否安全套接层连接