TomcatJMX远程监控连接不上
ReTomcatJMX远程监控连接不上
如下配置,实在不知错在何处了。。。
CATALINA_OPTS=' -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname= -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access'
-------------------------
ReTomcatJMX远程监控连接不上
哈哈,搞定了,Stackoverflow, 没有你可怎么活!
Also keep in mind jconsole is using RMI for the communication. This means jconsole first connects to ip:6969. Then server generates a random port X which is passed back to the jconsole. Jconsole then opens another connection to ip:X. Since X is random, there is no way you can open this specific port in the firewall. You have either to open all ports or use a socks proxy which is another subject.
赞0
踩0