java.lang.IllegalStateException: PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1

tomee-users | mauro2java2011 | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: tomee:stop not work

    tomee-users | 1 year ago | mauro2java2011
    java.lang.IllegalStateException: PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
  2. 0

    Re: tomee:stop not work

    tomee-users | 1 year ago | Romain Manni-Bucau
    java.lang.IllegalStateException: PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
  3. 0

    Re: tomee:stop not work

    tomee-users | 1 year ago | mauro2java2011
    java.lang.IllegalStateException: PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: tomee:stop not work

    tomee-users | 1 year ago | Romain Manni-Bucau
    java.lang.IllegalStateException: PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1

    Root Cause Analysis

    1. java.lang.Exception

      No message provided

      at org.apache.openejb.persistence.JtaEntityManager.close()
    2. OpenEJB :: OSGi :: Core
      JtaEntityManager.close
      1. org.apache.openejb.persistence.JtaEntityManager.close(JtaEntityManager.java:368)
      1 frame
    3. mauro.closedb
      CloseDBManager.closeDB
      1. mauro.closedb.CloseDBManager.closeDB(CloseDBManager.java:38)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. OpenEJB :: OSGi :: Core
      StatsInterceptor.PreDestroy
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext$LifecycleInvocation.invoke(ReflectionInvocationContext.java:223)
      3. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      4. org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181)
      5. org.apache.openejb.monitoring.StatsInterceptor.PreDestroy(StatsInterceptor.java:118)
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    7. OpenEJB :: OSGi :: Core
      Assembler.destroyApplication
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85)
      4. org.apache.openejb.core.singleton.SingletonInstanceManager.freeInstance(SingletonInstanceManager.java:269)
      5. org.apache.openejb.core.singleton.SingletonContainer.undeploy(SingletonContainer.java:143)
      6. org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1956)
      7. org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1825)
      7 frames
    8. OpenEJB :: TomEE :: Catalina
      GlobalListenerSupport.lifecycleEvent
      1. org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1938)
      2. org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:126)
      2 frames
    9. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      2. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      3. org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
      4. org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)
      5. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1027)
      6. org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1547)
      7. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1474)
      8. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1695)
      9. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:333)
      10. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      11. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      12. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1373)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1545)
      14. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1555)
      15. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1523)
      15 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame