Home
> Uncategorized > Enable JMX Management for Hibernate EhCache
Enable JMX Management for Hibernate EhCache
Have a look at
- net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory.start(Settings, Properties)
- net.sf.ehcache.hibernate.management.impl.ProviderMBeanRegistrationHelper.registerMBean(CacheManager, Properties)
What we need is a system property “tc.active” with value “true”
Categories: Uncategorized
ehcache, Hibernate, jmx
And then you can monitor the JMX-exposed data with tools like JRDS http://jrds.fr/
Another little-bit offtopic goodie: http://hibernate-jcons.sourceforge.net/index.html