Hi,
DBCP will NOT gracefully recover by itself. You need to configure it
according to your desired behavior. Specifically, check out the
testOnBorrow, testOnReturn, and testWhileIdle properties at
http://jakarta.apache.org/commons/dbcp/configuration.html.
Yoav Shapira
Follow-up question. Should I or should I not use the ConnectionPool
implementation provided by IBM in their JDBC driver? And if I should, do
the parameters provided by DBCP still apply? I have to admit, I'm a bit
fuzzy on what role which component is playing in this game!
Thanks!!
Shapira, Yoav
,
as long as the factory provided by IBM supports that approach.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 3:31 PM
To: Tomcat Users List
Subject: Re: DBCP/JNDI/Realms
Follow-up question. Should I
, as long as
the factory provided by IBM supports that approach.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 3:31 PM
To: Tomcat Users List
Subject: Re: DBCP/JNDI/Realms
Follow-up question. Should
Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 3:31 PM
To: Tomcat Users List
Subject: Re: DBCP/JNDI/Realms
Follow-up question. Should I or should I not use the ConnectionPool
implementation provided by IBM in their JDBC driver? And if I should,
do
-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 4:22 PM
To: Tomcat Users List
Subject: Re: DBCP/JNDI/Realms
OK, so short of waiting for this to fail again, how might I go about
testing this works? Should I see if the database folks can kill the
JDBC
connections manually
[mailto:[EMAIL PROTECTED]
Sent: December 6, 2004 4:22 PM
To: Tomcat Users List
Subject: Re: DBCP/JNDI/Realms
OK, so short of waiting for this to fail again, how might I go about testing
this works? Should I see if the database folks can kill the JDBC connections
manually?
Shapira, Yoav wrote