Bug 536577 (RHQ-912) - JVM remoting - errors appear in agent when jvm is shut down
Summary: JVM remoting - errors appear in agent when jvm is shut down
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-912
Product: RHQ Project
Classification: Other
Component: Agent
Version: 1.1pre
Hardware: All
OS: All
low
low
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2008-09-30 20:39 UTC by Jeff Weiss
Modified: 2014-11-09 22:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
windows, rev1653, jrockit 1.5.0 jvm
Last Closed: 2014-05-15 21:31:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Weiss 2008-09-30 20:39:00 UTC
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)

Comment 1 John Mazzitelli 2008-12-13 05:44:27 UTC
"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.

Comment 2 Jeff Weiss 2008-12-15 12:33:16 UTC
Added link that I apparently forgot.  

Comment 3 Jay Shaughnessy 2009-03-03 19:23:30 UTC
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.

Comment 4 Red Hat Bugzilla 2009-11-10 21:19:29 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-912
This bug relates to RHQ-829


Comment 5 wes hayutin 2010-02-16 16:56:15 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 6 wes hayutin 2010-02-16 17:01:24 UTC
making sure we're not missing any bugs in rhq_triage

Comment 7 Jay Shaughnessy 2014-05-15 21:31:45 UTC
This has not been seen in a long time, and is likely n/a due to component upgrades.


Note You need to log in before you can comment on or make changes to this bug.