Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 88837 invoked from network); 19 Apr 2006 23:37:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 23:37:50 -0000 Received: (qmail 96222 invoked by uid 500); 19 Apr 2006 23:37:47 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 96154 invoked by uid 500); 19 Apr 2006 23:37:47 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 96143 invoked by uid 99); 19 Apr 2006 23:37:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 16:37:47 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 16:37:46 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 434FB7142CD; Wed, 19 Apr 2006 23:36:44 +0000 (GMT) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 39340] - [pool] Infinite loop in Evictor of GenericKeyedObjectPool In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060419233644.434FB7142CD@brutus.apache.org> Date: Wed, 19 Apr 2006 23:36:44 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39340 stuart_brock@adp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From stuart_brock@adp.com 2006-04-19 23:36 ------- It appears that I may have made a mistake during my installation, as I am not able to recreate this problem today. The jar is being used by an EJB in WebLogic, so it is very likely that something just wasn't right with my installation. I have therefore marked the bug as resolved. Addressing the aside. You are correct Sandy, the QuoteVendorConnectionPool does extend the GenericKeyedObjectPool. My thinking was that I could save a lot of development time by extending the GenericKeyedObjectPool, rather than implementing one of the interfaces or extending an abstract class. Why reinvent the wheel, right? Regarding the connection validation, you are again correct. However, the connection protocol is optimistic and requires the use of a "heartbeat" message for validation. As the error handling and reconnect logic is the same for both a heartbeat message and a quote request message, I won't actually save any time by sending a heartbeat message first. I just send the quote request and in the case of failure attempt to reconnect. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org