Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 99650 invoked from network); 4 Sep 2009 15:29:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 15:29:08 -0000 Received: (qmail 99639 invoked by uid 500); 4 Sep 2009 15:29:07 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 99578 invoked by uid 500); 4 Sep 2009 15:29:07 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 99567 invoked by uid 99); 4 Sep 2009 15:29:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:29:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:28:56 +0000 Received: (qmail 3188 invoked from network); 4 Sep 2009 10:28:35 -0500 Received: from 38-171-19-72.skybeam.com (HELO ?192.168.3.121?) (72.19.171.38) by halosg.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Sep 2009 10:28:30 -0500 Message-ID: <4AA13209.4050504@hanik.com> Date: Fri, 04 Sep 2009 09:28:09 -0600 From: Filip Hanik - Dev Lists User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: FW: dbcp pool evictor deadlock? References: <62F2E2A8D98D7A4BB77C440D56AAAFE014B1AD@us-bos-mx023.na.pxl.int> <6a79aa8f0909040728o310c0813kb5b95e3776927ce9@mail.gmail.com> In-Reply-To: <6a79aa8f0909040728o310c0813kb5b95e3776927ce9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org http://people.apache.org/~fhanik/jdbc-pool/v1.0.7.1/ Filip On 09/04/2009 08:28 AM, Narendra Sarkar wrote: > Hi, > I would like to download jdbc-pool library. However, I am unable to find the > library in jakarata.apache.org. > Can anybody tell me where from I can download this file? > > Regards, > Narendra > > >> ---------- Forwarded message ---------- >> From: Eric B. >> Date: Tue, Jun 23, 2009 at 10:13 AM >> Subject: Re: dbcp pool evictor deadlock? >> To: dev@tomcat.apache.org >> >> >> "Mark Thomas" wrote in message >> news:4A40E12C.2070504@apache.org... >> >>> Narendra Sarkar wrote: >>> >>>> Hi, >>>> We have a multi threaded environment. We have noticed that thread blocks >>>> for >>>> 10 to 20 minutes due DBCP getConnection method call. Then, we >>>> investigated >>>> the source code of DBCP(commons-dbcp-1.2.1-PII.jar) and noticed that >>>> createConnection method is synchronized. This problem occur more >>>> frequently >>>> when we have lower value of MaxIdleConnection parameter. After >>>> >> increasing >> >>>> the value of MaxIdleConnection parameter, frequency of blocking get >>>> reduced. >>>> We then replaced DBCP connection pooling with Oracle Connection pooling >>>> (ojdbc14.jar) and never encountered blocking issue. >>>> >>>> I think the issue is with that createConnection method of DBCP >>>> synchronization. We have taken Thread dump to do above analysis. >>>> >>> Yep, known issues with commons-pool. Should be fixed in 1.5.1. Trunk has >>> been updated. Proposed for 6.0.x and 5.5.x. Alternatively, there is the >>> new JDBC pool module. >>> >> I'm a little confused now. Filip pointed me to the jdbp-1.0.5 package. >> Is >> that just repackaged versions of dbcp 1.2.2/pool 1.5? If not, what >> versions >> of dbcp/pool are contained within there? >> >> If the fix in commons-pool is in 1.5.1, am I still expecting concurrency >> problems if upgrading 1.5? What would be the best move? >> >> Thanks, >> >> Eric >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: dev-help@tomcat.apache.org >> >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org