Add the following settings to catalina.sh.
CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=8180
-Dcom.sun.management.jmxremote.rmi.port=8181
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=localhost"
For Teraterm, set as follows. First: Local port: 8180 Remote host: Host to refer to JMX Port: 8180 Second: Local port: 8181 Remote host: Host to reference JMX Port: 8181
Start jconsole. Then select Remote Process, type localhost: 8180, and click Connect.
Recommended Posts