Description of problem: Embedded TC in jbossAS 4.0.5 is detected, but shows no metrics or schedules From agent.log 2010-01-05 13:54:29,915 WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Connector] Resources - failed after 5 ms. java.lang.Exception: Discovery component invocation failed. at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.jav a:270) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.rhq.plugins.jbossas.JBossASTomcatConnectorDiscoveryComponent.discoverResources(JBossASTomcatConnectorDiscoveryCom ponent.java:101) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) a:266) ... 5 more This may come from the changes from JOPR-208
This is very probably fixed by JOPR-399 - as the symptoms here are the same as described in JOPR-399 Assigning to Ips to check
Yep, this is a dup of https://jira.jboss.org/jira/browse/JOPR-399 - see that issue for all the details. The fix is checked into the linux-config branch and will get merged into master next time linux-config is merged.