commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39340] - [pool] Infinite loop in Evictor of GenericKeyedObjectPool
Date Wed, 19 Apr 2006 23:36:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39340>.
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


Mime
View raw message