Skip to content

Instantly share code, notes, and snippets.

@darkstone
Forked from clstokes/tomcat7
Created February 12, 2014 16:57
Show Gist options
  • Save darkstone/8959678 to your computer and use it in GitHub Desktop.
Save darkstone/8959678 to your computer and use it in GitHub Desktop.
#
# Since I have to look this up every time...
#
# Add the following in /etc/default/tomcat7
#
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.port=9991"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment