Hi,
I've been trying to monitor tomcat6 with JMX but I got an error that I don't know how to resolve:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 11.11.150.152; nested exception is:
java.net.ConnectException: Connexion refusée (Connection refused)]
More explainations:
I've got a zabbix server with the IP: 11.11.150.99
And a Tomcat server with the IP: 11.11.150.152
I installled zabbix_java_gateway on my zabbix server and configured it with its own IP.
I installed a zabbix agent on the host to monitor and I modified the catalina.sh with this:
CATALINA_OPTS="$CATALINA_OPTS\
-Dcom.sun.management.jmxremote \
-Djava.rmi.server.hostname=11.11.150.99 \
-Dcom.sun.management.jmxremote.port=12345 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false"
Someone got a solution for me? What am I missing?
I've been trying to monitor tomcat6 with JMX but I got an error that I don't know how to resolve:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 11.11.150.152; nested exception is:
java.net.ConnectException: Connexion refusée (Connection refused)]
More explainations:
I've got a zabbix server with the IP: 11.11.150.99
And a Tomcat server with the IP: 11.11.150.152
I installled zabbix_java_gateway on my zabbix server and configured it with its own IP.
I installed a zabbix agent on the host to monitor and I modified the catalina.sh with this:
CATALINA_OPTS="$CATALINA_OPTS\
-Dcom.sun.management.jmxremote \
-Djava.rmi.server.hostname=11.11.150.99 \
-Dcom.sun.management.jmxremote.port=12345 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false"
Someone got a solution for me? What am I missing?
Comment