Hi,
I try to use GemFire as Hibernate Second Level Cache Provider. After i deploy my application to JBoss, the following exception is thrown. This issue does not occur with Coherence on JBoss. Do you have any comment?
Caused by: com.gemstone.gemfire.management.ManagementException: javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object
at com.gemstone.gemfire.management.internal.MBeanJMXAdapter.registerMBean(MBeanJMXAdapter.java:111)
at com.gemstone.gemfire.management.internal.SystemManagementService.registerInternalMBean(SystemManagementService.java:384)
at com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:162)
at com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:105)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2087)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:424)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.init(GemFireCacheImpl.java:819)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:609)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:182)
at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:227)
at com.gemstone.gemfire.modules.hibernate.internal.RegionFactoryDelegate.startCache(RegionFactoryDelegate.java:48)
at com.gemstone.gemfire.modules.hibernate.GemFireRegionFactory.start(GemFireRegionFactory.java:90)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:238)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
... 131 more
My Installation is
Hibernate 3.6.4
jboss-5.1.0.GA
gemfire-7.0
gemfire-modules-2.1.2
Thanks...