I've been trying to monitor a message driven bean in my application deployed in jboss 4.0.5GA, i'm using hyperic hq 4, and i ran into some problems : how can i configure the "JBoss 4.0 Message Driven EJB" plugin, especially in the "Configuration Properties" page in the hq server.
Specifically, what do i type in the "ejb.name", "ejb.jar" and "j2ee.application" fields. I have tried numerous different configurations and none worked, all failed with the message :
"The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [java.naming.provider.url=jnp%3A//127.0.0.1%3A1099,java.naming.security.principal=admin,java.naming.security.credentials=admin]: org.hyperic.hq.product.MetricNotFoundException: Metric not found [jboss.management.local:name=MyMDB,J2EEServer=Local,J2EEApplication=test-ear.ear,EJBModule=test-jar.jar,j2eeType=MessageDrivenBean:statisticMessageCount:java.naming.provider.url=jnp%3A//127.0.0.1%3A1099,java.naming.security.principal=admin,java.naming.security.credentials=admin]: javax.management.InstanceNotFoundException: jboss.management.local:name=MyMDB,J2EEServer=Local,J2EEApplication=test-ear.ear,EJBModule=test-jar.jar,j2eeType=MessageDrivenBean is not registered."
Specifically, what do i type in the "ejb.name", "ejb.jar" and "j2ee.application" fields. I have tried numerous different configurations and none worked, all failed with the message :
"The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [java.naming.provider.url=jnp%3A//127.0.0.1%3A1099,java.naming.security.principal=admin,java.naming.security.credentials=admin]: org.hyperic.hq.product.MetricNotFoundException: Metric not found [jboss.management.local:name=MyMDB,J2EEServer=Local,J2EEApplication=test-ear.ear,EJBModule=test-jar.jar,j2eeType=MessageDrivenBean:statisticMessageCount:java.naming.provider.url=jnp%3A//127.0.0.1%3A1099,java.naming.security.principal=admin,java.naming.security.credentials=admin]: javax.management.InstanceNotFoundException: jboss.management.local:name=MyMDB,J2EEServer=Local,J2EEApplication=test-ear.ear,EJBModule=test-jar.jar,j2eeType=MessageDrivenBean is not registered."