File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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 ~~