Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@clstokes
Created September 25, 2012 21:06
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save clstokes/3784425 to your computer and use it in GitHub Desktop.
Save clstokes/3784425 to your computer and use it in GitHub Desktop.
Enable JMX in Tomcat 7 on Ubuntu
#
# 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"
@predic8
Copy link

predic8 commented Jul 10, 2015

@clstokes thanks, saved me some time

@wellcomer
Copy link

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment