Skip to content

Instantly share code, notes, and snippets.

@itzg
Created October 21, 2020 17:18
Show Gist options
  • Select an option

  • Save itzg/232b2b22d993d485fc6f196dda86b5a3 to your computer and use it in GitHub Desktop.

Select an option

Save itzg/232b2b22d993d485fc6f196dda86b5a3 to your computer and use it in GitHub Desktop.
: ${JMX_HOST:=0.0.0.0}
: ${JMX_PORT:=7091}
JVM_OPTS="${JVM_OPTS}
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.port=${JMX_PORT}
-Dcom.sun.management.jmxremote.rmi.port=${JMX_PORT}
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.host=${JMX_HOST}
-Djava.rmi.server.hostname=${JMX_HOST}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment