Created
November 26, 2013 20:27
-
-
Save gbadner/7665622 to your computer and use it in GitHub Desktop.
java.sql.SQLException: Cannot close a connection while a transaction is still active.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [javatest.batch] 11-26-2013 14:42:33: TRACE: EntityManagerFactory class:org.hibernate.jpa.internal.EntityManagerFactoryImpl isOpen:true | |
| [javatest.batch] Nov 26, 2013 2:42:33 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop | |
| [javatest.batch] INFO: HHH000030: Cleaning up connection pool [jdbc:derby://localhost:1527/derbyDB;user=cts1;password=cts1;create=true] | |
| [javatest.batch] Nov 26, 2013 2:42:33 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop | |
| [javatest.batch] WARN: HHH000293: Problem closing pooled connection | |
| [javatest.batch] java.sql.SQLException: Cannot close a connection while a transaction is still active. | |
| [javatest.batch] at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.am.Connection.closeResourcesX(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.am.Connection.closeX(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.net.NetConnection.closeX(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.am.Connection.close(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.net.NetConnection.close(Unknown Source) | |
| [javatest.batch] at org.apache.derby.client.net.NetConnection40.close(Unknown Source) | |
| [javatest.batch] at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.stop(DriverManagerConnectionProviderImpl.java:292) | |
| [javatest.batch] at org.hibernate.service.internal.AbstractServiceRegistryImpl.stopService(AbstractServiceRegistryImpl.java:331) | |
| [javatest.batch] at org.hibernate.service.internal.AbstractServiceRegistryImpl.destroy(AbstractServiceRegistryImpl.java:319) | |
| [javatest.batch] at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.destroy(StandardServiceRegistryImpl.java:95) | |
| [javatest.batch] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$ServiceRegistryCloser.sessionFactoryClosed(EntityManagerFactoryBuilderImpl.java:1216) | |
| [javatest.batch] at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryClosed(SessionFactoryObserverChain.java:65) | |
| [javatest.batch] at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1374) | |
| [javatest.batch] at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:370) | |
| [javatest.batch] at com.sun.ts.tests.jpa.common.PMClientBase.closeEMAndEMF(PMClientBase.java:198) | |
| [javatest.batch] at com.sun.ts.tests.jpa.common.PMClientBase.cleanup(PMClientBase.java:169) | |
| [javatest.batch] at com.sun.ts.tests.jpa.core.EntityGraph.Client.cleanup(Client.java:61) | |
| [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
| [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:606) | |
| [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:573) | |
| [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113) | |
| [javatest.batch] at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30) | |
| [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102) | |
| [javatest.batch] at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446) | |
| [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210) | |
| [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:257) | |
| [javatest.batch] at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27) | |
| [javatest.batch] Caused by: org.apache.derby.client.am.SqlException: Cannot close a connection while a transaction is still active. | |
| [javatest.batch] at org.apache.derby.client.am.Connection.checkForTransactionInProgress(Unknown Source) | |
| [javatest.batch] ... 29 more | |
| [javatest.batch] | |
| [javatest.batch] 11-26-2013 14:42:34: TRACE: SLEPT FOR: 1000 | |
| [javatest.batch] STATUS:Passed. | |
| [javatest.batch] Passed. | |
| [javatest.batch] ******************************************************************************** | |
| [javatest.batch] Finished Test: PASSED........com/sun/ts/tests/jpa/core/EntityGraph/Client.java#addNamedEntityGraphStringEntityGraphTest_from_standalone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment