Skip to content

Instantly share code, notes, and snippets.

@aserrallerios
Last active May 8, 2018 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aserrallerios/37b9662d35d030debb97592ebe083526 to your computer and use it in GitHub Desktop.
Save aserrallerios/37b9662d35d030debb97592ebe083526 to your computer and use it in GitHub Desktop.
Remote JMX & debug JVM arguments
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-XX:+UnlockCommercialFeatures
-XX:+FlightRecorder
# http://stackoverflow.com/questions/151238/has-anyone-ever-got-a-remote-jmx-jconsole-to-work
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false
-Djava.rmi.server.hostname=localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment