WARN message "Failure to collect measurement data for Resource[...] - cause: java.lang.UnsupportedOperationException:null" in agent.log file when trying to monitor EJB metrics
Issue
- The agent.log file contains:
WARN [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Failure to collect measurement data for Resource[id=18115, uuid=a5e62bbd-64c7-0562-b66f- c5a3727b32a0, type={JBossAS7}Stateless Session Bean Runtime, key=host=test.host,server=test.server,deployment=test_deployment.ear,subdeployment=test_subdeployment.jar,subsystem=ejb3,stateless-session-bean=testBean, name=testBean, parent=ejb3] - cause: java.lang.UnsupportedOperationException:null
or
DEBUG [MeasurementManager.collector-1] (rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler)- Call to [org.rhq.modules.plugins.jbossas7.Ejb3BeanRuntimeComponent.getValues()] with args [[...]] failed.
java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
- WARN message "Failure to collect measurement data for Resource[...] - cause: java.lang.UnsupportedOperationException:null" in agent.log file when trying to monitor EJB metrics
Environment
- Red Hat JBoss Operations Network (ON) 3.3.5
- Red Hat JBoss Enterprise Application Platform (EAP) 6.4
- EJB statistics in EAP 6 are not enabled;
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
