]
Filip Drabek updated JOPR-273:
------------------------------
Assignee: (was: Filip Drabek)
JBossCache v3 plugin throws MalformedObjectNameException during
discovery when running on Java5
-----------------------------------------------------------------------------------------------
Key: JOPR-273
URL:
https://issues.jboss.org/browse/JOPR-273
Project: Jopr
Issue Type: Bug
Components: Plugin - JBoss AS 5
Affects Versions: 2.2
Environment: Java5
Reporter: Charles Crouch
Priority: Minor
Labels: 560, embjopr
Fix For: 2.3
Deploy a copy of the embedded console with the jboss cache plugin in into default config
of EAP5 and log in. In the console you will see the following exception:
19:30:28,678 INFO [DConnection] Found 954 MBeans, starting load
19:30:30,115 WARN [InventoryManager] Failure during discovery for [Jboss Cache]
Resources - failed after 0 ms.
java.lang.Exception: Discovery component invocation failed.
at
org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory
.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Illegal ObjectName *:*,jmx-resource=*
at org.mc4j.ems.impl.jmx.connection.DConnection.queryBeans(DConnection.java:328)
at
org.rhq.plugins.jbosscache5.JBossCacheDiscoveryComponent.discoverResources(JBossCacheDiscoveryComponent.java:49)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory
.java:260)
... 5 more
Caused by: javax.management.MalformedObjectNameException: Invalid character '*'
in value part of property
at javax.management.ObjectName.construct(ObjectName.java:529)
at javax.management.ObjectName.<init>(ObjectName.java:1304)
at org.mc4j.ems.impl.jmx.connection.DConnection.queryBeans(DConnection.java:323)
... 10 more
19:30:30,834 WARN [InventoryManager] Failure during discovery for [Jboss Cache]
Resources - failed after 16 ms.
java.lang.Exception: Discovery component invocation failed.
at
org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory
.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Illegal ObjectName *:*,jmx-resource=*
at org.mc4j.ems.impl.jmx.connection.DConnection.queryBeans(DConnection.java:328)
at
org.rhq.plugins.jbosscache5.JBossCacheDiscoveryComponent.discoverResources(JBossCacheDiscoveryComponent.java:49)
at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory
.java:260)
... 5 more
Caused by: javax.management.MalformedObjectNameException: Invalid character '*'
in value part of property
at javax.management.ObjectName.construct(ObjectName.java:529)
at javax.management.ObjectName.<init>(ObjectName.java:1304)
at org.mc4j.ems.impl.jmx.connection.DConnection.queryBeans(DConnection.java:323)
... 10 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: