tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: error while running a webapp
Date Thu, 05 Oct 2006 23:56:51 GMT
On 10/5/06, Oliver Wagner <lists@wagner-www.de> wrote:
>
> I think the DB close the connection while the tomcat is running and I don't know (at
my Connection-Pool) how to know when that happened.

set
   autoReconnect=true
in your driver config, or catch the exception when the timeout occurs
and retry connecting to see if it's a simple timeout/transient failure or
something more  persistent.

HTH!
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Mime
View raw message