[jboss-user] [Management, JMX/JBoss] - EHCACHE Mbean on Jboss

ozguy do-not-reply at jboss.com
Wed Feb 27 02:27:17 EST 2008


Hi

I am using Ehcache for one of my applications which is deployed on the Jboss.

Ehcache has a Mbean which can be used with JMX to monitor the cache. Is there anyone who is able to see Ehcache Mbean on the JMX console.

here is what i am doing to register the cache with the Jboss 
 
cacheManager = CacheManager.create(getClass().getResourceAsStream(this.configLocation));
       

 MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();
        ManagementService.registerMBeans(this.cacheManager,mbeanServer,false,false,false,true);

        




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132386#4132386

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132386



More information about the jboss-user mailing list