VMware Cloud Community
ywtsang
Contributor
Contributor

setup problem of monitoring of hibernate session factory

i want to monitor the hibernate session factory statistics deployed at my jboss
e.g.
http://support.hyperic.com/display/hypcomm/JBoss+4.2+Hibernate+Session+Factory+service

the configuration just needs
"application"

so i just type my "ear" name there (e.g. abc.ear)

but it complains:

The configuration has not been set for this resource due to : Invalid configuration: Error retrieving value: Metric not found [Hibernate:type=statistics,application=abc.ear:EntityFetchCount:java.naming.provider.url=jnp%3A//10.1.4.226%3A1099,java.naming.security.principal=%java.naming.security.principal%,java.naming.security.credentials=%java.naming.security.credentials%]: javax.management.InstanceNotFoundException: Hibernate:type=statistics,application=abc.ear is not registered.


so, what should I type?
or any thing I need to enable first?

thanks
0 Kudos
0 Replies