File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Apache Tomcat DBCP pool" Watch "Apache Tomcat DBCP pool" New topic

Apache Tomcat DBCP pool

sachin pathak

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
I agree. Here's the link:
subject: Apache Tomcat DBCP pool
It's not a secret anymore!