Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 7171 invoked from network); 11 Aug 2010 02:27:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 02:27:54 -0000 Received: (qmail 18591 invoked by uid 500); 11 Aug 2010 02:27:53 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 18337 invoked by uid 500); 11 Aug 2010 02:27:53 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 18329 invoked by uid 99); 11 Aug 2010 02:27:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 02:27:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.steitz@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qw0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 02:27:44 +0000 Received: by qwj9 with SMTP id 9so1397462qwj.38 for ; Tue, 10 Aug 2010 19:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=4k5TG2P0Gz8D6i2spKBG1S5lW4R4r4CvjeylweI7niI=; b=Y46kbPsrwZgZlfrt1BiTTyU94Va8aYecrt4wokloBvfc5E6/TcHeqWu7SFcbFMfDcF 4Dfl+xr99cIYbJfXE/z5ov+W4vWgHEz9xwyHijxAbZdXxktDc4DNHzIpdlPJ2Cdpycn/ oJw61tNnu5Lxc21ICkFIdmKsb7oPXryV3mMcg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=t4aJEOO1SJiLiyr6UQtH7+g+szYQOAQGzVAyDIn2qGiBfDlmYnlROoslp9tKUiQmmp 8cGb7eOvopYi4ssu2L85j6rAW7cx3+aLAaChuajpY+KhEdChYtyaFAecOSKrFz5Fint9 +Ez5pDaqaUvi9/V5Dz2tSiC/NDwp5cvrxoRbg= Received: by 10.229.225.10 with SMTP id iq10mr9073828qcb.85.1281493642626; Tue, 10 Aug 2010 19:27:22 -0700 (PDT) Received: from phil-steitzs-macbook-pro.local (c-68-44-120-111.hsd1.de.comcast.net [68.44.120.111]) by mx.google.com with ESMTPS id r38sm8814657qcs.14.2010.08.10.19.27.20 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 19:27:21 -0700 (PDT) Message-ID: <4C620A87.7050303@gmail.com> Date: Tue, 10 Aug 2010 22:27:19 -0400 From: Phil Steitz User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Commons Users List Subject: Re: [pool] GenericKeyedObjectPool borrowObject returning null when exhausted References: <661A08EF-1B43-443B-A3F8-CB6680DBE84E@gmail.com> In-Reply-To: <661A08EF-1B43-443B-A3F8-CB6680DBE84E@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Karl Baum wrote: > I am running into an issue where GenericKeyedObjectPool seems to be > returning null when it's exhausted. I have it set to block. Is this > expected? No, this is not expected unless your object factory is returning nulls. Can you provide some more information on your setup (pool configuration, how that factory works, etc.)? Phil > > apache commons pool 1.5.4 > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) > > thx. > > -karl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org