• Post Reply Bookmark Topic Watch Topic
  • New Topic

dbcp connection lock

 
Peter Straw
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know how to set a timeout on a commons dbcp connection please?
Sometimes when the jdbc driver tries to get a connection from the pool, the webapp just hangs and a threaddump indicates that the connetcion object is locked.
Many thanks.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!