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
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 302

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
 
 
subject: Commons DBCP with socketTimeout JTDS driver
 
Threads others viewed
Apache Tomcat DBCP pool
Database "process" breaks between two Tomcat versions
Apache commons dbcp - SocketException: Too many open files
~~ Newbie question - database ~~
Apache Commons DBCP
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com