tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Connection pool doesn't reconnect after the database has been rebooted?
Date Mon, 12 Feb 2007 12:25:42 GMT
Bjørn T Johansen wrote:
> We have a small problem with our connection pool that is setup using Tomcat 5.5.20..

> When the database is rebooted, the only way to get a valid connection again is to completely
restart Tomcat..
> Is there a way to configure this, so the connection pool reconnects automatically?

Configuring a validationQuery and setting testOnBorrow to true fixed a
similar issue for me.

Mark

---------------------------------------------------------------------
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