Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Connection pool doesn't reconnect after the database has been
rebooted?

Mark Thomas

2007-02-12

Replies:

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@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.