Hello all, it's my first post to this list, don't know if this is the right
place for the question, but I can't find any references to this issue on
the web, so there it goes...
I have a RHQ server that's already working with several agents and is
monitoring some EJBs/EARs between other resources. But when I try to start
this specific agent the log reports this error (agent.log):
<pre>
2012-01-16 16:09:59,818 WARN [ResourceContainer.invoker.daemon-1]
(org.rhq.plugins.jbossas.JBossASServerComponent)- Could not establish
connection to the JBoss AS instance [11] times for resource
[/usr/local/jboss/server/default]
org.mc4j.ems.connection.EmsConnectException:
java.io.StreamCorruptedException:
javax.management.MalformedObjectNameException:
jboss.j2ee:ear=srh-businesscore-ear.ear,jar=srh-businesscore-ejb-1.5.3-SNAPSHOT.jar,name=,service=EJB3
is not a valid ObjectName. Invalid key/value data name
at
org.mc4j.ems.impl.jmx.connection.support.providers.proxy.GenericMBeanServerProxy.invoke(GenericMBeanServerProxy.java:156)
at $Proxy55.queryNames(Unknown Source)
at
org.mc4j.ems.impl.jmx.connection.DConnection.loadSynchronous(DConnection.java:138)
...
</pre>
The agent then is unable to report the correctly running JBossAS to the RHQ
server and it shows it as if the JBossAS is down, what is not the case
since the AS is up and the services it serves are working.
If I undeploy this EAR the problem disapear.
Does someone has any tips on what's going on? What's that name it is
expecting?
Regards.
--
Herbert Mattei de Borba
herbertdeborba(a)gmail.com