To answer my own question, this seems to work:
                _cache = createCache();
  |             ArrayList mbServers = MBeanServerFactory.findMBeanServer( null 
);
  |             if (mbServers.size() > 0)
  |             {
  |                     MBeanServer mbs = (MBeanServer) mbServers.get( 0 );
  |                     mbs.registerMBean( new 
org.jboss.cache.jmx.CacheJmxWrapper( _cache ),
  |                                     new ObjectName( 
JmxUtil.getDefaultCacheObjectName( _cache ) ) );
  |             }


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060894
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to