Tomcat 连接失败:是否重试?Jconsole
我无法使用localhost:9999连接到mac中的jconsole。它表示安全连接失败。不安全地重试?但当我选择不安全连接时。它说连接失败:重试Tomcat 连接失败:是否重试?Jconsole,tomcat,jconsole,Tomcat,Jconsole,我无法使用localhost:9999连接到mac中的jconsole。它表示安全连接失败。不安全地重试?但当我选择不安全连接时。它说连接失败:重试 Added following in bash_profile and setenv.sh of tomcat 8. -export JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jm
Added following in bash_profile and setenv.sh of tomcat 8.
-export JAVA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.102.15.224"
本地进程也是如此。JMX使用两个端口,一个用于指定的注册表,另一个用于随机选择的实际连接
您可以设置它,也可以让他人为您设置它,但我在本地进程中遇到了同样的问题。我指的是以编程方式注册的MBean(不是tomcat进程)。你检查过我链接到我的答案了吗?对不起,我会检查一下。顺便说一句:但是我可以使用localhost:0000访问和查看一些进程。