Jconsole远程连接JBOSS监控运行情况

修改jboss的run.conf文件

在JAVA_OPTS=后面添加
-Djava.rmi.server.hostname=10.11.200.11
-Dcom.sun.management.jmxremote.port=8950
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

重启jboss
在客户端cmd-> jconsole 10.11.200.11:8950 启动jconsole

猜你喜欢

转载自jackguo1123.iteye.com/blog/1467359