This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Clobs, Stored procedures and Oracle 8i
unable to update CLOB data using Commons DBCP connection.
Required details of Connection Pooling
DataSource.getConnection() returning closed connections
ObjectClosedException: DSRA9110E: Statement is closed