[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-developer
Subject:    [openjms-developer] [ openjms-Bugs-1402865 ] Killed client prevents reconnect over http
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-02-23 11:36:12
Message-ID: E1FCElY-0000IG-VC () sc8-sf-web5 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1402865, was opened at 2006-01-11 23:51
Message generated for change (Comment added) made by tanderson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1402865&group_id=54559

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: transport
Group: v0.7.7-alpha-3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tim Anderson (tanderson)
Assigned to: Tim Anderson (tanderson)
Summary: Killed client prevents reconnect over http

Initial Comment:
If a client connected to the server over http is killed
(Control-C etc), subsequent attempts to connect block
indefinitely.

The problem arises as the server's connection pool is
trying to determine if the http connection associated
with the killed client is still valid, and this is
blocking subsequent connection attempts.

The openjms-tunnel servlet never responds to the server
as it only reads from the socket when there is a client
request - which is somewhat limited in that it assumes
clients will terminately cleanly. 

There are two issues:
1. DefaultConnectionPool prevents connection matching 
   to occur while dead/idle connections are being 
   reaped.
   The aim of this was to avoid dead connections from
   being used, and idle connections from being reaped 
   prematurely.

Solution to this is to allow connection matching while
dead connections are being reaped. There is a small
chance that a dead connection will be assigned to a
live object.

2. openjms-tunnel doesn't reap dead connections.
   The reaper will block indefinitely trying to
   ping the tunnel connection.
      
Solution to this is to reap connections that haven't
been used for a period of time. This should be
configurable.


----------------------------------------------------------------------

>Comment By: Tim Anderson (tanderson)
Date: 2006-02-23 22:36

Message:
Logged In: YES 
user_id=557161

Fixed in CVS. Fix will be available in 0.7.7-beta-1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1402865&group_id=54559


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
openjms-developer mailing list
openjms-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic