I tried running Ignite with given flags.
/docker run -d -p 49112:49112 --rm -e
CONFIG_URI="https://raw.githubusercontent.com/apache/ignite/master/examples/config/example-cache.xml";
-e JVM_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=49112
-Dcom.sun.management.jmxremote.rmi.port=49112
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false" apacheignite/ignite/

VisualVM couldn't connect. Java version in docker is openjdk version
"1.8.0_181"


I managed to run Ignite and connect VisualVM with flags I used for tomcat.
And it only works on port 49112 (I tried with ports 50000 and 50002 with no
success)
/docker run -d -p 49112:49112 --rm -e
CONFIG_URI="https://raw.githubusercontent.com/apache/ignite/master/examples/config/example-cache.xml";
-e JVM_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=49112
-Dcom.sun.management.jmxremote.rmi.port=49112
-Djava.rmi.server.hostname=0.0.0.0 -Dcom.sun.management.jmxremote.ssl=false"
apacheignite/ignite/




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to