[jboss-jira] [JBoss JIRA] (WFLY-7291) InfinispanCacheDeploymentListener throws ServiceNotFoundException when stopping

Brian Stansberry (JIRA) issues at jboss.org
Mon Oct 30 22:48:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-7291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned WFLY-7291:
--------------------------------------

    Fix Version/s: 12.0.0.Alpha1
         Assignee: George Gastaldi  (was: Scott Marlow)
       Resolution: Done


> InfinispanCacheDeploymentListener throws ServiceNotFoundException when stopping
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-7291
>                 URL: https://issues.jboss.org/browse/WFLY-7291
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 10.1.0.Final
>            Reporter: George Gastaldi
>            Assignee: George Gastaldi
>             Fix For: 12.0.0.Alpha1
>
>         Attachments: demosrc.zip
>
>
> Deploying a WAR produced by the attached project produces the following error in the logs when shutting down the server: 
> {code}
> [ERROR [org.jboss.as.jpa] (ServerService Thread Pool -- 38) WFLYJPA0007: Failed to stop persistence unit service demo.war#primary: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.hibernate."demo.war#primary" not found
>     at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669)
>     at org.jboss.as.jpa.processor.secondLevelCache.InfinispanCacheDeploymentListener.stopCache(InfinispanCacheDeploymentListener.java:144)
>     at org.jboss.as.jpa.processor.secondLevelCache.CacheDeploymentListener.stopCache(CacheDeploymentListener.java:96)
>     at org.jipijapa.event.impl.internal.Notification.stopCache(Notification.java:107)
>     at org.jboss.as.jpa.hibernate5.infinispan.InfinispanRegionFactory.stopCacheManager(InfinispanRegionFactory.java:80)
>     at org.hibernate.cache.infinispan.InfinispanRegionFactory.stop(InfinispanRegionFactory.java:443)
>     at org.hibernate.internal.CacheImpl.close(CacheImpl.java:266)
>     at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1074)
>     at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:347)
>     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:237)
>     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:217)
>     at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
>     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2.run(PersistenceUnitServiceImpl.java:262)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
>     at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list