[jboss-user] [JBoss Cache: Core Edition] - Where can I get underlying JBossCache from within JMX

jorgemoralespou_2 do-not-reply at jboss.com
Sun Nov 30 15:11:38 EST 2008


Hi,
I was using JBossCache 1.4, and with default JMX registration I used to get my TreeCache from within TreeCacheMBean, registered under "jboss.cache:service=MyCache".

Now I'm trying to migrate to JBC 3, and registered my cache within an MBean, that when it starts registers all the caches I use, with a JmxRegistrationManager, using same ObjectName.

When my classes try to get the Cache through the registered MBean, it is not registered.

If I list registered MBeans for cache resources, I don't see the one I used to use, but these:
jmx-resource=CacheMgmtInterceptor,service=MyCache
  | jmx-resource=DataContainerImpl,service=MyCache
  | jmx-resource=MVCCLockManager,service=MyCache
  | jmx-resource=RPCManager,service=MyCache
  | jmx-resource=RegionManagerImpl,service=MyCache
  | jmx-resource=TransactionTable,service=MyCache
  | jmx-resource=TxInterceptor,service=MyCache
  | 
  | I`m using JBAS 4.2.3 with a tweaked version of JBC 3.0.1 (refactored like jarjar would have done).
  | 
  | Thanks

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

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



More information about the jboss-user mailing list