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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to