2. Create setenv.sh in $CATALINA_HOME/bin containing the following:
#!/bin/sh
export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
3. Start Tomcat
4. Start JConsole
- connect to the local Bootstrap if the case
or
- remote connect to "host:9001" or your convenience port.
DONE.