Idea启动参数开启JMX监控

时间:2020-07-01 21:59:37   收藏:0   阅读:1395

在idea中配置JVM参数

技术分享图片

-Djava.rmi.server.hostname=127.0.0.1
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=4444
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

在 jconsole 中配置远程连接

技术分享图片

注意:

项目使用的JDK如果是idea自带的可能会报连接异常的错误

原文:https://www.cnblogs.com/lanqie/p/13221342.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!