Hi,
I recently installed Hyperic server on agent 3.1.4 for monitoring Apache Tomcat 6. The agent auto detected Tomat and I've also added it from the Dashboard.
But when I try to configure it from the server UI, I am getting following error:
The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [{jmx.username=system, jmx.url=service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi}]: java.rmi.ConnectException: Connection refused to host: 192.168.3.3; nested exception is: java.net.ConnectException: Connection refused
I have added following lines to catalina.sh
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.authenticate=false
I did a "telnet localhost 6969" and the port is open and firewall rules are also clear for access from both Hyperic Agent and Hyperic Server.
Also the strange this is that my server's ip is 192.168.3.5, whereas the error given while configuring the server configuration is Connection refused to host: 192.168.3.3.
FYI: My hyperic agent runs on "hyperic" user and tomcat on "tomcat" user on the machine. Dunno if it makes any difference.
I tried enabling/disabling JMX authentication, etc but nothing has worked If someone could help me out I'll be grateful.
Thanks,
Harsh
I recently installed Hyperic server on agent 3.1.4 for monitoring Apache Tomcat 6. The agent auto detected Tomat and I've also added it from the Dashboard.
But when I try to configure it from the server UI, I am getting following error:
The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [{jmx.username=system, jmx.url=service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi}]: java.rmi.ConnectException: Connection refused to host: 192.168.3.3; nested exception is: java.net.ConnectException: Connection refused
I have added following lines to catalina.sh
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.authenticate=false
I did a "telnet localhost 6969" and the port is open and firewall rules are also clear for access from both Hyperic Agent and Hyperic Server.
Also the strange this is that my server's ip is 192.168.3.5, whereas the error given while configuring the server configuration is Connection refused to host: 192.168.3.3.
FYI: My hyperic agent runs on "hyperic" user and tomcat on "tomcat" user on the machine. Dunno if it makes any difference.
I tried enabling/disabling JMX authentication, etc but nothing has worked If someone could help me out I'll be grateful.
Thanks,
Harsh