c.j.bonecp.ConnectionTesterThread Destroy connection exception

Bug #1391043 reported by Luv
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BoneCP
New
Undecided
Unassigned

Bug Description

ERROR c.j.bonecp.ConnectionTesterThread Destroy connection exception
com.ibm.db2.jcc.am.SqlException: [jcc][t4][10251][10308][4.15.82] java.sql.Connection.close() requested while a transaction is in progress on the connection.
The transaction remains active, and the connection cannot be closed. ERRORCODE=-4471, SQLSTATE=null
 at com.ibm.db2.jcc.am.fd.a(fd.java:680) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.fd.a(fd.java:60) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.fd.a(fd.java:120) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.Connection.checkForTransactionInProgress(Connection.java:1389) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.t4.b.checkForTransactionInProgress(b.java:7214) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.Connection.closeResourcesX(Connection.java:1411) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.Connection.closeX(Connection.java:1397) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.ibm.db2.jcc.am.Connection.close(Connection.java:1379) ~[com.ibm.db2jcc4-4.15.82-NONFREE.jar:na]
 at com.jolbox.bonecp.ConnectionHandle.internalClose(ConnectionHandle.java:504) ~[com.jolbox.bonecp-0.8.0-rc1.jar:na]
 at com.jolbox.bonecp.ConnectionTesterThread.closeConnection(ConnectionTesterThread.java:162) [com.jolbox.bonecp-0.8.0-rc1.jar:na]
 at com.jolbox.bonecp.ConnectionTesterThread.run(ConnectionTesterThread.java:95) [com.jolbox.bonecp-0.8.0-rc1.jar:na]
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60]
 at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60]
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_60]
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_60]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
 at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]

Revision history for this message
Luv (luv-saxena01) wrote :

I am using play framework version 2.X for my rest application and I am getting above error in my logs.
I have closed connection every where in my project carefully then also this error is coming although my application is working fine but I have remove this from my error logs please help me out in this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.