[jboss-dev-forums] [Design of JBossCache] - Re: Can't control (Tree)Cache via JConsole

bstansberry@jboss.com do-not-reply at jboss.com
Tue May 15 15:21:00 EDT 2007


You are hitting the issue discussed at http://jira.jboss.com/jira/browse/JBCACHE-1047. If you were using code built from the latest HEAD you could:

...
  | CacheJmxWrapper wrapper = new CacheJmxWrapper(myCache);
  | wrapper.setManageCacheLifecycle(true);
  | JmxUtil.registerCacheMBean(mBeanServer, wrapper, mBeanNameStr);
  | ...

This thread though makes me realize that that's still pretty broken, although it should work fine for your use case.  See http://jira.jboss.com/jira/browse/JBCACHE-1058 for how discussion of how it's still broken.

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

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



More information about the jboss-dev-forums mailing list