tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Rios <roberto.r...@innovaction.com.br>
Subject Re: SQL Server 2000: JDBC
Date Thu, 06 Oct 2005 12:56:13 GMT
Hi,

Generally this error occurs when the connection between tomcat and the 
database is down, or the connection object is using a connection that is 
poor.

For instance, if your tomcat is running, and for some reason, the 
database goes down and then restart, you will receive this error.

So, before sending a sql command, you should test if the connection is 
good. If it isn't, kill it and start another one. I'm not sure, but if 
you use dbcp it will do it for you.

Bob

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


Mime
View raw message