<Resource removeAbandoned="60" ... /> DBCP specifies 60 secs before recycling the connection http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
hth! Martin "Everything comes to him who hustles while he waits" - edison ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: arvindw...@gmail.com > Date: Tue, 2 Jun 2009 00:56:53 +0530 > Subject: Query timeout in dbcp > To: users@tomcat.apache.org > > Is there any possibility to mention max time a query can execute from DBCP > side? our DB is Postgres and Container is tomcat 6. i dont want to give the > timeout in postgres but need to set in application side based on differnet > needs? Is it possible? > > -Arvind S > > > > "Many of lifes failure are people who did not realize how close they were to > success when they gave up." > -Thomas Edison _________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009