> From: Roberto Benedetti [mailto:r.benede...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org