Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@predic8 predic8 commented Jul 10, 2015

@clstokes thanks, saved me some time

@wellcomer

This comment has been minimized.

Copy link

@wellcomer wellcomer commented Nov 11, 2015

Thank you very much!

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