Tomcat server is running and able to access from the hub, however the probe is not able to connect, getting the following error.
Host Response
Failed to query the host <ip address >
The reason for this could be one of many, please check:
- the hostname or ip address is illegal or wrong
- the port number is wrong
- the handlerclass is wrong
Release : 9.1.0
Component : UIMTOM : UIM - TOMCAT
Validate the hostname and port.
Validate the JMX JAVA_OPTS is enabled for Tomcat
Unix:
JAVA_OPTS="-Dcom.sun.management.jmxremote.port=9050 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false"
export JAVA_OPTS
Windows:
SET JAVA_OPTS=-Dcom.sun.management.jmxremote.port=9050 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
If you are using Windows, it is easiest to set this in the Tomcat properties (Tomcat8w.exe):
Use the JMX port in the probe configuration: