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 | mauro2java2011
    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 | Romain Manni-Bucau
    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
      EjbTransactionUtil.handleSystemException
      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.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:155)
      5 frames