tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: detecting oracle connection failures
Date Mon, 07 Sep 2009 18:38:52 GMT
> From: Roberto Benedetti [mailto:r.benedetti@cineca.it]
> Subject: detecting oracle connection failures
> 
> if I define an Oracle DataSource, apparently RDBMS or
> network problems are not detected and my application
> keeps waiting ad libitum, ignoring the "maxWait" parameter.

You might want to try setting the testOnBorrow and validationQuery attributes for your connection
pool.  This will avoid DBCP giving out dead connections.  Doc is here:
http://commons.apache.org/dbcp/configuration.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message