You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "xuhongbo (JIRA)" <ji...@apache.org> on 2008/03/12 02:42:46 UTC

[jira] Commented: (SYNAPSE-244) some IO-Exception immediatly detected, but cannot be processed immediatly

    [ https://issues.apache.org/jira/browse/SYNAPSE-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577665#action_12577665 ] 

xuhongbo commented on SYNAPSE-244:
----------------------------------

confirmed work as excepted;  (case: timeout , IOException while transfering data)

> some IO-Exception immediatly detected, but cannot be processed immediatly
> -------------------------------------------------------------------------
>
>                 Key: SYNAPSE-244
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-244
>             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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org