Merge pull request #14836 from goughy000

* pr/14836:
  Force JMX hostname to 127.0.0.1
pull/14914/head
Stephane Nicoll 6 years ago
commit 696c621f35

@ -133,6 +133,7 @@ public class StartMojo extends AbstractRunMojo {
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.port=" + this.jmxPort);
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.authenticate=false");
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.ssl=false");
remoteJmxArguments.add("-Djava.rmi.server.hostname=127.0.0.1");
jvmArguments.getArgs().addAll(remoteJmxArguments);
}
return jvmArguments;

Loading…
Cancel
Save