tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Tomcat / DBCP / Oracle / Reconnect
Date Fri, 19 Jan 2007 03:07:34 GMT
Krishna Paparaju wrote:
> I am trying to find is there anyway Tomcat can be configured to
> reconnect back to DB once it is up. I know autoReconnect flag works for
> mySQL. Is there any equivalent in Oracle/thin driver?

You could use testOnBorrow="true" and a validationQuery to achieve
this. Check the docs for DBCP for details on how to configure this.

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