Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 39696 invoked from network); 29 Mar 2006 17:44:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 17:44:17 -0000 Received: (qmail 86064 invoked by uid 500); 29 Mar 2006 17:44:12 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 85982 invoked by uid 500); 29 Mar 2006 17:44:11 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 58570 invoked by uid 99); 29 Mar 2006 15:44:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C65347.8FBACEF9" Subject: [DBCP] setting a login timeout on a connection Date: Wed, 29 Mar 2006 17:43:44 +0200 Message-ID: <05F7777636653C48883BE6FF7FFC64C5023AA04E@neon.ALLOT.LOCAL> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [DBCP] setting a login timeout on a connection Thread-index: AcZTRjDZiU2RtZn/R12sfC1/VI0NoQAAA3Qg From: "Guy Katz" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C65347.8FBACEF9 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi all; We use BasicDataSource and we need to declare loginTimeout. Having a quick look at the DBCP source code we noticed that BasicDataSource's setLoginTimeout and getLoginTimeout propagates to PoolingDataSource which throws UnsupportedOperationException. Is there a reason for this behavior? Is there a way to achieve a loginTimeout? Thanks in advance.=20 =20 =20 =20 =20 =20 ------_=_NextPart_001_01C65347.8FBACEF9--