Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Tomcat DBCP pool

 
sachin pathak
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic