Get your CodeRanch badge!*
The moose likes Tomcat and the fly likes Commons DBCP with socketTimeout JTDS driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Commons DBCP with socketTimeout JTDS driver" Watch "Commons DBCP with socketTimeout JTDS driver" New topic
Author

Commons DBCP with socketTimeout JTDS driver

Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 484
    
    2

After I started using socketTimeout=40, the Commons DBCP can not reopen the connection when time out happens. Every moment that time Out happens, I lose a connection ...and to be no connection open. What could I do to tell the Commons DBCP to reopen the socket connection when a timeout happens?



Best regards


Fernando Franzini - Java Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Commons DBCP with socketTimeout JTDS driver
 
Similar Threads
Apache Tomcat DBCP pool
Apache Commons DBCP
Apache commons dbcp - SocketException: Too many open files
Database "process" breaks between two Tomcat versions
~~ Newbie question - database ~~