Server sends close connection causes client to halt
---------------------------------------------------

                 Key: AXIS2-3202
                 URL: https://issues.apache.org/jira/browse/AXIS2-3202
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Mike Rheinheimer
            Assignee: Mike Rheinheimer


Problem, solution, and patch provided by Nicholas Gallardo.

PROBLEM:

In Asynchronous 2-way scenario, the client sends a request, the server responds 
with a HTTP 202 in this HTTP connection, process to do it's work and send 
response back through a callback via a different HTTP connection asynchronously.

When the client that sends the first request (that gets the 202 response in 
async processing) tried to re-use the socket while the server is still doing 
work in the background on that socket, the http persist read for the next 
request doesn't start until the server finishes it's work. The problem here is 
after the server sends a HTTP 202 back and the background work process is not 
done, that particular HTTP connection gets stashed up, i.e. can't perform the 
persist read until either the client is timed out (5 minutes currently) or the 
server work process is complete.  We first saw this when they made the app 
sleep one minute to draw out the background work and it was immediately 
noticeable.

SOLUTION:

Switch threads on client dispatching.  This patch provides that functionality.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to