-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Connection.close() requested while a transaction is in progr
PostPosted: Fri Jul 08, 2005 11:16 pm 
Newbie

Joined: Fri Jul 08, 2005 11:10 pm
Posts: 2
Location: Portland, OR
Could anyone please tell me the reasons behind these hibernate exceptions and possible solution.

I am working on a maintenance of a web-based application which has been demonstrating slow performance. On a close look at the logs, the following error messages are seen:

[7/8/05 13:17:57:662 CDT] 15771a JDBCException W net.sf.hibernate.util.JDBCExceptionReporter SQL Error: -99999, SQLState: null [7/8/05 13:17:57:665 CDT] 15771a JDBCException E net.sf.hibernate.util.JDBCExceptionReporter java.sql.Connection.close() requested while a transaction is in progress on the connection.The transaction remains active, and the connection cannot be closed.
[7/8/05 13:17:57:667 CDT] 15771a JDBCException W net.sf.hibernate.util.JDBCExceptionReporter SQL Error: -99999, SQLState: null [7/8/05 13:17:57:668 CDT] 15771a JDBCException E net.sf.hibernate.util.JDBCExceptionReporter java.sql.Connection.close() requested while a transaction is in progress on the connection.The transaction remains active, and the connection cannot be closed.
[7/8/05 13:17:57:669 CDT] 15771a JDBCException E net.sf.hibernate.util.JDBCExceptionReporter Cannot close connection
[7/8/05 13:17:57:671 CDT] 15771a JDBCException E net.sf.hibernate.util.JDBCExceptionReporter TRAS0014I: The following exception was logged com.ibm.db2.jcc.a.SqlException: java.sql.Connection.close() requested while a transaction is in progress on the connection.The transaction remains active, and the connection cannot be closed. at com.ibm.db2.jcc.a.o.r(o.java:1260) at com.ibm.db2.jcc.a.o.u(o.java:1285) at com.ibm.db2.jcc.a.o.s(o.java:1270) at com.ibm.db2.jcc.a.o.close(o.java:1253) at net.sf.hibernate.connection.DriverManagerConnectionProvider.closeConnection

Thanks

-- Ravi


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.