synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-244) some IO-Exception immediatly detected, but cannot be processed immediatly
Date Tue, 11 Mar 2008 12:30:47 GMT


Asankha C. Perera resolved SYNAPSE-244.

       Resolution: Fixed
    Fix Version/s: NIGHTLY
         Assignee: Asankha C. Perera

Applied patch from with some minor changes

Thanks xuhongbo, can you please verify that everything works as expected now?

> some IO-Exception immediatly detected, but cannot be processed immediatly
> -------------------------------------------------------------------------
>                 Key: SYNAPSE-244
>                 URL:
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 1.1
>         Environment: windows,  axisClient <--->synapse<-->axisServer
>            Reporter: xuhongbo
>            Assignee: Asankha C. Perera
>             Fix For: NIGHTLY
> scenarios:
> axisClient<-->synapse <--> axisServer
> 1) axisClient send request to synapse
> 2) syanpse relay request to axisServer
> 3) after axisServer received the request, break down the network between synapse and
axisServer (etc: shutdown axisServer)
> 4) axisClient doens't failure immediatly, It's alway's failure when it's timeout exceed
or synapse TimeOut handler checked time-out
> ===============================================================================================
> The more details reson I have find out is:
> When network breakdown(etc axisServer shutdown),  org.apache.synapse.transport.nhttp.ClientHandler's
corresponding callback handler is invoked (closed(), or exception(),...) . and the callback
only just shutdown the connection.
> But the sessionRequestCallback(HttpCoreNIOSender.sessionRequestCallback) registed when
establish http connection(ioreactor.connect(...)) will never be called. 
> so the failure response will not be generated and send back to axisClient.

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:
For additional commands, e-mail:

View raw message