• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!