Fix args for booting java process
args must be specified before jar file, updated args Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com> Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
This commit is contained in:
parent
72751b75d8
commit
f162d740e0
4
dist/redhat/scripts/jmx_run
vendored
4
dist/redhat/scripts/jmx_run
vendored
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/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
|
||||||
|
Loading…
Reference in New Issue
Block a user