-
1. Re: Reason for Error "EMS bean was null for Resource with type JBossAS"
mazz Aug 6, 2010 10:25 AM (in response to ssroy73)don't know, but see if the MBean jboss.web:address=ssroy.com%2F127.0.0.1,port=8009,type=Connector really exists (if you have jmx-console in the JBossAS Server you can use that). Perhaps there was a service that was discovered and in the RHQ inventory but is no longer deployed in your JBossAS Server (particularly, this is a Tomcat connector listening on port 8009).
You can try to restart the agent with the "--purgedata" command line option - this will delete the agent-side inventory and force the agent to download/sync the inventory with the server.
-
2. Re: Reason for Error "EMS bean was null for Resource with type JBossAS"
mazz Aug 6, 2010 10:27 AM (in response to ssroy73)BTW: this is logged at the DEBUG level, so that tells me this might not actually be an error condition. Its happening during the Availability check, so perhaps that connector is just not deployed and thus is to be considered DOWN by RHQ. I'm not sure, but it struck me that this was logged a DEBUG level, which tells me the develop might not consider this an error, but rather a common occurence.
-
3. Re: Reason for Error "EMS bean was null for Resource with type JBossAS"
ips Aug 6, 2010 10:49 AM (in response to ssroy73)Did restarting the Agent as John Mazz suggested clear up the issue? Did you check jmx-console or twiddle to see if there is an MBean deployed with the name "jboss.web:address=ssroy.com%2F127.0.0.1,port=8009,type=Connector"?
Is this the final release of RHQ 3.0.0 or one of the B0x releases?
-
4. Re: Reason for Error "EMS bean was null for Resource with type JBossAS"
ssroy73 Aug 10, 2010 12:38 PM (in response to ips)I tried as John suggested but still getting the same error.
I have also checked from jmx-console and found "jboss.web:address=ssroy.com%2F127.0.0.1,port=8009,type=Connector" is present.
I am using stable version 3.0.0.
Also none of the ServerInfo metrics are visible.
Any help will be greately appreciated.
Thanks & Regards - Roy
-
5. Re: Reason for Error "EMS bean was null for Resource with type JBossAS"
ssroy73 Aug 11, 2010 6:07 AM (in response to ssroy73)Hi,
I have overlooked something.
When I view from jmx-console, it shows
jboss.web:address=/127.0.0.1,port=8009,type=Connector
But from RHQ, it looks for
jboss.web:address=ssroy.com%2F127.0.0.1,port=8009,type=Connector
The above RED colour highlighted portion is not present in jmx-console and this could be reason of error. Is it possible to remove this error.
Also, I am not sure why I am getting different "ServerInfo" metrics values in jmx-console and RHQ. Any help will be greately appreciated.
Thanks a lot.
Best Regards,
Roy