wood burning stoves 2.0*
The moose likes JDBC and the fly likes Apache Tomcat DBCP pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Apache Tomcat DBCP pool" Watch "Apache Tomcat DBCP pool" New topic
Author

Apache Tomcat DBCP pool

sachin pathak
Greenhorn

Joined: Jun 05, 2002
Posts: 27
Hi friends
I am using DBCP from Apache commons to connect to postGRE sql db. I have some code which throws a Connection Closed Exception when I am trying to execute some queries. Can anyone pls explain me in what conditions DBCP throws this exception? I have reviewed my code many times and could not get where the connection might have been closed ? Are there any other factors which might be creating problems ?
Thanks in advance
Sachin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Tomcat DBCP pool
 
Similar Threads
DataSource.getConnection() returning closed connections
Clobs, Stored procedures and Oracle 8i
unable to update CLOB data using Commons DBCP connection.
Required details of Connection Pooling
ObjectClosedException: DSRA9110E: Statement is closed