Skip to content

Instantly share code, notes, and snippets.

View sandeepkunkunuru's full-sized avatar

Sandeep Kunkunuru sandeepkunkunuru

View GitHub Profile
@sandeepkunkunuru
sandeepkunkunuru / Catalina.sh
Last active December 12, 2015 05:58
Setting up Remote JVM monitoring using JConsole(or VisualVM) for Tomcat
# Uncomment the following line to make the umask available when using the
# org.apache.catalina.security.SecurityListener
#JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`"
#-----------Add below lines for remote JVM monitoring-------
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false "
#----------Add above lines for remote JVM monitoring-------