diff --git a/dist/redhat/scripts/jmx_run b/dist/redhat/scripts/jmx_run index af7d10c..9610de2 100755 --- a/dist/redhat/scripts/jmx_run +++ b/dist/redhat/scripts/jmx_run @@ -1,5 +1,5 @@ #!/bin/sh -e -args="-Djava.net.preferIPv4Stack=true -Dcassandra.jmx.local.port=$JMX_LOCAL_PORT" +args="-Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.port=$JMX_LOCAL_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmemote.ssl=false" -exec /usr/bin/java -jar /usr/lib/scylla/jmx/urchin-mbean-1.0.jar $args +exec /usr/bin/java $args -jar /usr/lib/scylla/jmx/urchin-mbean-1.0.jar