Infinispan cache inaccessible after restart of application server

Solution Verified - Updated -

Issue

  • Running JBoss EAP 6.2 CP03 with a modeshape module (3.8) with infinispan as cache. We had a similar set-up in EAP 6.1 with modeshape 3.7.4 which worked fine. In EAP 6.2 CP03 everything runs fine until we restart the app server. After the restart modeshape/infinispan is not accessible any-more. This is the error we get after the restart :
16:05:52,839 ERROR [org.modeshape.jmx.RepositoryStatisticsBean] (http-localhost/127.0.0.1:8080-2) Cannot register MBean "org.modeshape:name=jcrrepository,type=RepositoryStatistics": java.util.NoSuchElementException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:929) [rt.jar:1.7.0_40]
    at java.util.HashMap$KeyIterator.next(HashMap.java:960) [rt.jar:1.7.0_40]
    at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.getCallerUserId(PluggableMBeanServerImpl.java:1249)
    at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.doLog(PluggableMBeanServerImpl.java:1232)
    at org.jboss.as.jmx.PluggableMBeanServerImpl.log(PluggableMBeanServerImpl.java:1157)
    at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.log(MBeanServerAuditLogRecordFormatter.java:330)
    at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.registerMBean(MBeanServerAuditLogRecordFormatter.java:146)
    at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:895)
    at org.modeshape.jmx.RepositoryStatisticsBean.start(RepositoryStatisticsBean.java:55) [modeshape-jcr-3.8.0.Final.jar:3.8.0.Final]
    at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1000) [modeshape-jcr-3.8.0.Final.jar:3.8.0.Final]
    at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:971) [modeshape-jcr-3.8.0.Final.jar:3.8.0.Final]
    at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:404) [modeshape-jcr-3.8.0.Final.jar:3.8.0.Final]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content