Skip to content

Instantly share code, notes, and snippets.

View m-szalik's full-sized avatar

Marek Szalik m-szalik

  • JSoftware
  • Everywhere
View GitHub Profile
@m-szalik
m-szalik / jmx-parameters-example.txt
Last active May 7, 2022 16:30
How to enable remote JMX access
java -jar yourApp.jar [JVM_OPTIONS]
For local host access only JVM_OPTIONS are:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9010
-Dcom.sun.management.jmxremote.host=127.0.0.1
-Dcom.sun.management.jmxremote.local.only=true
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false