You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "HongBo Xu (JIRA)" <ji...@apache.org> on 2008/02/28 04:30:51 UTC

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

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: HongBo Xu


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


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

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-244.
---------------------------------------

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

Applied patch from https://issues.apache.org/jira/browse/SYNAPSE-248 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: 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


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

Posted by "xuhongbo (JIRA)" <ji...@apache.org>.
    [ 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