Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 97002 invoked from network); 29 Oct 2009 14:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 14:48:25 -0000 Received: (qmail 65151 invoked by uid 500); 29 Oct 2009 14:48:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 65038 invoked by uid 500); 29 Oct 2009 14:48:24 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 65028 invoked by uid 99); 29 Oct 2009 14:48:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 14:48:24 +0000 X-ASF-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 14:48:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71FA8234C04C for ; Thu, 29 Oct 2009 07:47:59 -0700 (PDT) Message-ID: <1278936739.1256827679465.JavaMail.jira@brutus> Date: Thu, 29 Oct 2009 14:47:59 +0000 (UTC) From: "Bushov Alexander (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (POOL-152) GenericObjectPool hangs forever in borrowObject when newly created object is not validated In-Reply-To: <697975031.1256827439352.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/POOL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bushov Alexander updated POOL-152: ---------------------------------- Attachment: borrowObject.patch Test.java example and patch > GenericObjectPool hangs forever in borrowObject when newly created object is not validated > ------------------------------------------------------------------------------------------ > > Key: POOL-152 > URL: https://issues.apache.org/jira/browse/POOL-152 > Project: Commons Pool > Issue Type: Bug > Affects Versions: 1.5.2, 1.5.3 > Reporter: Bushov Alexander > Attachments: borrowObject.patch, Test.java > > > If your set GenericObjectPool parameters such as: maxActive = 1 and whenExhaustedAction to block, testOnBorrow to true, call borrowObject that fails in validation of newly created object then second call of borrowObject will stuck. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.