To reproduce - Run and discover jconsole as specified in the description of the linked jira. Close the jconsole. Look at your agent's output, I get: C:\jon\jon-agent-2.1.0-SNAPSHOT\bin>rhq-agent.bat Loading script environment from rhq-agent-env.bat... RHQ 1.1.0-SNAPSHOT (Tue Sep 30 05:11:10 EDT 2008) sending> Sep 30, 2008 4:33:37 PM ClientCommunicatorAdmin restart WARNING: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect] Sep 30, 2008 4:33:38 PM RMIConnector RMIClientCommunicatorAdmin-doStop WARNING: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 10.18.0.79; nested exception is: java.net.ConnectException: Connection refused: connect Sep 30, 2008 4:33:38 PM ClientCommunicatorAdmin Checker-run WARNING: Failed to check connection: java.net.ConnectException: Connection refused: connect Sep 30, 2008 4:33:38 PM ClientCommunicatorAdmin Checker-run WARNING: stopping Also, I'm not sure if this is related but sometimes the resource won't turn green again when I restart jconsole (not 100% reproduceable)
"Run and discover jconsole as specified in the description of the linked jira. " there is no linked jira. I don't understand what you are doing here. jconsole? that monitors MBeans - I'm not sure if you are sayign you are trying to get the agent to monitor jconsole itself. Need more info - this smells like an artificial problem that no one will encounter, unless I'm missing something.
Added link that I apparently forgot.
I've seen this. It may be related to JMX plugin and the RMI connections involved. Mazz found: http://forums.sun.com/thread.jspa?threadID=5283213 which may be related.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-912 This bug relates to RHQ-829
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
This has not been seen in a long time, and is likely n/a due to component upgrades.