Skip to content

Instantly share code, notes, and snippets.

@deckerego
Created December 6, 2013 14:27
Show Gist options
  • Save deckerego/7825581 to your computer and use it in GitHub Desktop.
Save deckerego/7825581 to your computer and use it in GitHub Desktop.
Enabling Remote JMX with Plaintext Authentication
monitorRole readOnlyPassword
controlRole adminPassword
#!/bin/sh
$JAVA_HOME/bin/java \
-Dcom.sun.management.jmxremote.port=9999 \
-Dcom.sun.management.jmxremote.password.file=management.jmxremote.password \
-Dcom.sun.management.jmxremote.ssl=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment