我已经向我的JBOSS EAP 6.2服务器添加了以下属性:
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=9999"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=94.5.19.27"
我已经重启了Jboss。 当我尝试使用以下JMX字符串在JVisualVM中连接实例(94.5.19.27:9999),我收到以下错误消息:
有人知道我可能需要通过哪些其他配置传递吗?
谢谢。
编辑 如果是防火墙问题,会返回以下内容吗?
[secondstory_dev@secondstory1d log]$ netstat -na | grep 9999
tcp6 0 0 127.0.0.1:9999 :::* LISTEN