Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via tomee-users by Romain Manni-Bucau, 1 year ago
PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
via tomee-users by mauro2java2011, 1 year ago
PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
via tomee-users by Romain Manni-Bucau, 7 months ago
PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
via tomee-users by mauro2java2011, 7 months ago
PersistenceUnit(name=book-pu) - entityManager.close() call - See JPA 2.0 section 7.9.1
java.lang.Exception: 	at org.apache.openejb.persistence.JtaEntityManager.close(JtaEntityManager.java:368)	at mauro.closedb.CloseDBManager.closeDB(CloseDBManager.java:38)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$LifecycleInvocation.invoke(ReflectionInvocationContext.java:223)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)	at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181)	at org.apache.openejb.monitoring.StatsInterceptor.PreDestroy(StatsInterceptor.java:118)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)	at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)	at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85)	at org.apache.openejb.core.singleton.SingletonInstanceManager.freeInstance(SingletonInstanceManager.java:269)	at org.apache.openejb.core.singleton.SingletonContainer.undeploy(SingletonContainer.java:143)	at org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1956)	at org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1825)	at org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1938)	at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:126)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1027)	at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1547)	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1474)	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1695)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:333)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1373)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1545)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1555)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1523)	at java.lang.Thread.run(Thread.java:745)