1 2 Previous Next 16 Replies Latest reply on Jul 31, 2017 11:31 AM by valsaraj viswanathan

    Infinispan cache exception during shutdown

    valsaraj viswanathan Master

      Getting following exception while stopping wildfly-8.2:

      ERROR [org.jboss.as.jpa] (ServerService Thread Pool -- 108) JBAS011406: Failed to stop persistence unit service app.ear/appEJB.jar#em: java.lang.IllegalStateException: Cache container has been stopped and cannot be reused. Recreate the cache container.

              at org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:797)

              at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:389)

              at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:412)

              at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:103)

              at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:94)

              at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:85)

              at org.hibernate.cache.infinispan.InfinispanRegionFactory.stopCacheRegions(InfinispanRegionFactory.java:374)

              at org.hibernate.cache.infinispan.InfinispanRegionFactory.stop(InfinispanRegionFactory.java:368)

              at org.hibernate.internal.CacheImpl.close(CacheImpl.java:289)

              at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1361)

              at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:370)

              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:220)

              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:206)

              at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]

              at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474) [wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]

              at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2.run(PersistenceUnitServiceImpl.java:239)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

              at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

        1 2 Previous Next