This content has been marked as final.
Show 3 replies
-
1. Re: How to replace CacheJmxWrapper with JmxRegistrationManag
galder.zamarreno Jun 16, 2009 8:41 AM (in response to alex-jboss69)See my comment in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=156458&start=10
I believe your method is still valid in spite of the deprecation. I'm trying to get further clarification on this and will let u know. -
2. Re: How to replace CacheJmxWrapper with JmxRegistrationManag
simon_temple Jul 15, 2009 12:38 PM (in response to alex-jboss69)Has any progress been made with this?
I'm using Cache 3.1.0.GA as bundled with JBAS5.1
I'm trying to use the JmxRegistrationManager instead of the CacheJmxWrapper as its deprecated. My cache starts and I see this message in the log:2009-07-15 17:17:56,731 INFO [org.jboss.cache.jmx.PlatformMBeanServerRegistration](main) JBossCache MBeans were successfully registered to the platform mbean server.
But I can't see any jboss.cache MBeans using the jmx-console.
Is the solution to stick with the deprecated classes in JBAS5.1?
Here's the last part of my jboss-beans.xml<!-- The cache itself --> <bean name="VCSTreeCache" class="org.jboss.cache.Cache"> <constructor factoryMethod="createCache"> <factory bean="VCSCacheFactory"/> <parameter class="org.jboss.cache.config.Configuration"> <inject bean="VCSTreeCacheConfig"/> </parameter> <parameter class="boolean">false</parameter> </constructor> </bean> <!-- JMX Management --> <bean name="VCSTreeCacheJmxWrapper" class="org.jboss.cache.jmx.JmxRegistrationManager"> <constructor> <parameter> <inject bean="VCSTreeCache"/> </parameter> </constructor> </bean>
-
3. Re: How to replace CacheJmxWrapper with JmxRegistrationManag
galder.zamarreno Jul 20, 2009 5:40 AM (in response to alex-jboss69)We agreed undeprecate the CacheJmxWrapper method for JBoss Cache 3.2 since it's still a valid method and we're not planning to do further changes to the JMX layer in JBoss Cache.