This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 486
    
    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 commons dbcp - SocketException: Too many open files
Apache Tomcat DBCP pool
Database "process" breaks between two Tomcat versions
Apache Commons DBCP
~~ Newbie question - database ~~