Created
March 4, 2016 04:03
-
-
Save mrkeuz/eb454e512d002a160f17 to your computer and use it in GitHub Desktop.
Docker hosted Jetty remote JMX recipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker hosted Jetty remote JMX recipe | |
# | |
# Tested on: jetty:9.3-jre8 | |
# work with args: --module=jmx,jmx-remote | |
# | |
# IMPORTANT: Hostname parameter (java.rmi.server.hostname) important for search RMI server | |
# during connection (AFIAK) and must point to exposed, external <host:port> | |
# (see https://olegz.wordpress.com/2009/03/23/jmx-connectivity-through-the-firewall/) | |
# | |
-Djava.rmi.server.hostname={external IP/hostname} | |
-Dcom.sun.management.jmxremote | |
-Dcom.sun.management.jmxremote.port=1099 | |
-Dcom.sun.management.jmxremote.ssl=false | |
-Dcom.sun.management.jmxremote.authenticate=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment