2 Replies Latest reply on Dec 1, 2008 9:19 AM by jorgemoralespou_2

    Where can I get underlying JBossCache from within JMX

    jorgemoralespou_2

      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