Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 21228 invoked from network); 3 Jun 2003 18:46:15 -0000 Received: from mail1.capitalthinking.com (216.52.89.19) by daedalus.apache.org with SMTP; 3 Jun 2003 18:46:15 -0000 Message-ID: From: "Liu, Xiaoyan" To: "'commons-user@jakarta.apache.org'" Subject: how to setup connection timeout in DBCP Date: Tue, 3 Jun 2003 14:46:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C32A00.69FEF8F0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C32A00.69FEF8F0 Content-Type: text/plain; charset="ISO-8859-1" Hi, all Is there anyway to set up db connection timeout attribute with DBCP? This attribute specifies the maximum time a connection can be 'occupied' by transactions. There does not seem to have such an option in dbcp javadoc. Further more, is there API calls we can use to hook in to catch timeout exception? Thanks for any information. Liu ------_=_NextPart_001_01C32A00.69FEF8F0--