org.springframework.jmx.export.UnableToRegisterMBeanException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [Statistics[start time=1473339335820,sessions opened=1,sessions closed=1,transactions=1,successful transactions=1,optimistic lock failures=0,flushes=0,connections obtained=1,statements prepared=1,statements closed=0,second level cache puts=0,second level cache hits=0,second level cache misses=0,entities loaded=0,entities updated=0,entities inserted=0,entities deleted=0,entities fetched=0,collections loaded=0,collections updated=0,collections removed=0,collections recreated=0,collections fetched=0,naturalId queries executed to database=0,naturalId cache puts=0,naturalId cache hits=0,naturalId cache misses=0,naturalId max query time=0,queries executed to database=1,query cache puts=0,query cache hits=0,query cache misses=0,update timestamps cache puts=0,update timestamps cache hits=0,update timestamps cache misses=0,max query time=18]] with key 'com.vervewireless.dao.hibernate:type=HibernateStatistics,name=SessionFactoryStatistics'; nested exception is org.springframework.jmx.export.MBeanExportException: Could not create ModelMBean for managed resource [Statistics[start time=1473339335820,sessions opened=1,sessions closed=1,transactions=1,successful transactions=1,optimistic lock failures=0,flushes=0,connections obtained=1,statements prepared=1,statements closed=0,second level cache puts=0,second level cache hits=0,second level cache misses=0,entities loaded=0,entities updated=0,entities inserted=0,entities deleted=0,entities fetched=0,collections loaded=0,collections updated=0,collections removed=0,collections recreated=0,collections fetched=0,naturalId queries executed to database=0,naturalId cache puts=0,naturalId cache hits=0,naturalId cache misses=0,naturalId max query time=0,queries executed to database=1,query cache puts=0,query cache hits=0,query cache misses=0,update timestamps cache puts=0,update timestamps cache hits=0,update timestamps cache misses=0,max query time=18]] with key 'com.vervewireless.dao.hibernate:type=HibernateStatistics,name=SessionFactoryStatistics'; nested exception is org.springframework.jmx.export.metadata.InvalidMetadataException: No ManagedResource attribute found for class: class org.hibernate.stat.internal.ConcurrentStatisticsImpl at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625) at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:550) at org.springframework.jmx.export.MBeanExporter.afterSingletonsInstantiated(MBeanExporter.java:432) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:796) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.vervewireless.ingester.exec.IngesterCamel.main(IngesterCamel.java:40) Caused by: org.springframework.jmx.export.MBeanExportException: Could not create ModelMBean for managed resource [Statistics[start time=1473339335820,sessions opened=1,sessions closed=1,transactions=1,successful transactions=1,optimistic lock failures=0,flushes=0,connections obtained=1,statements prepared=1,statements closed=0,second level cache puts=0,second level cache hits=0,second level cache misses=0,entities loaded=0,entities updated=0,entities inserted=0,entities deleted=0,entities fetched=0,collections loaded=0,collections updated=0,collections removed=0,collections recreated=0,collections fetched=0,naturalId queries executed to database=0,naturalId cache puts=0,naturalId cache hits=0,naturalId cache misses=0,naturalId max query time=0,queries executed to database=1,query cache puts=0,query cache hits=0,query cache misses=0,update timestamps cache puts=0,update timestamps cache hits=0,update timestamps cache misses=0,max query time=18]] with key 'com.vervewireless.dao.hibernate:type=HibernateStatistics,name=SessionFactoryStatistics'; nested exception is org.springframework.jmx.export.metadata.InvalidMetadataException: No ManagedResource attribute found for class: class org.hibernate.stat.internal.ConcurrentStatisticsImpl at org.springframework.jmx.export.MBeanExporter.createAndConfigureMBean(MBeanExporter.java:820) at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:677) at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:621) ... 8 more Caused by: org.springframework.jmx.export.metadata.InvalidMetadataException: No ManagedResource attribute found for class: class org.hibernate.stat.internal.ConcurrentStatisticsImpl at org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler.populateMBeanDescriptor(MetadataMBeanInfoAssembler.java:305) at org.springframework.jmx.export.assembler.AbstractMBeanInfoAssembler.getMBeanInfo(AbstractMBeanInfoAssembler.java:70) at org.springframework.jmx.export.MBeanExporter.getMBeanInfo(MBeanExporter.java:842) at org.springframework.jmx.export.MBeanExporter.createAndConfigureMBean(MBeanExporter.java:815) ... 10 more
No Bugmate found.