我将以下文本放入setenv.sh
export CATALINA_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=127.0.0.1"但我仍然无法将JConsole连接到远程服务器。那里的主机名到底应该是什么?我已经检查了server.xml,它在连接器标签中不包含任何ip。
或者我还漏掉了什么?
发布于 2015-06-16 22:16:28
这个answer对我很有效。我无法将Jconsole连接到远程tomcat服务器,只是因为需要额外的端口。
https://stackoverflow.com/questions/30844750
复制相似问题