Created
August 7, 2019 20:42
-
-
Save harpocrates/d72f64ca267416c2ecf64cbd5f4cfa5b to your computer and use it in GitHub Desktop.
Wrapper script for calling `java` with JMX access on port 10000
This file contains 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
#!/usr/bin/env bash | |
java \ | |
-Dcom.sun.management.jmxremote.port=10000 \ | |
-Dcom.sun.management.jmxremote.rmi.port=10000 \ | |
-Dcom.sun.management.jmxremote.authenticate=false \ | |
-Dcom.sun.management.jmxremote.ssl=false \ | |
-Djava.rmi.server.hostname=localhost \ | |
$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment