tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject Re: java.sql.SQLException: No more data to read from socket
Date Thu, 19 Jul 2012 12:36:53 GMT
2012/7/19 vijay mathew <vijaymathew2001@yahoo.com>:
> Jose,
> Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I need to upgrade the
JDBC driver.
> I suspect that whene DB is getting restarted, the idle connections are being removed.
Not sure how we can avoid this >situation

OK, so you are restarting the database ...
Maybe you could test a property called "validationQuery", but I don't
know if it exists in Tomcat 5.5's  DBCP

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message