【发布时间】:2015-12-03 09:36:26
【问题描述】:
我无法使用 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.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.102.15.224"
它对本地进程也有同样的意义。
【问题讨论】: