You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by Jerome Camilleri <je...@bull.net> on 2007/06/11 14:52:10 UTC

Sandesha timeOut not throw to SandeshaListener

Hi,

I used Sandesha2 1.2 with Axis2 1.2 a MEP IN-OUT asynchrone call.
I attach a sandesha listener to my Axis2 client option to do something 
on error or after a timeout but it seems that in this version 
corresponding methods is never call ?
 (options.setProperty(SandeshaClientConstants.SANDESHA_LISTENER, 
rmListener))

However I have this log in my console saying that timeout occur after 
some "retrying request"
- Sandesha2 got an exception when sending a message: 
org.apache.axis2.AxisFault: Connection refused.
org.apache.axis2.AxisFault: Connection refused
- Error during service call Sandesha2 could not send the message on 
sequence http://localhost:9001/axis2/services/fichier as the sequence 
has timed out.

In fact I have this behavior when my server is down. Without Sandesha my 
server return an RemotException. With Sandesha2 I used listener to deal 
with this error... Where is my mystake ?

Regards

Jérôme



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Re: Sandesha timeOut not throw to SandeshaListener

Posted by Chamikara Jayalath <ch...@gmail.com>.
Could u please raise a JIRA

Chamikara


On 6/11/07, Jerome Camilleri <je...@bull.net> wrote:
>
> Hi,
>
> I used Sandesha2 1.2 with Axis2 1.2 a MEP IN-OUT asynchrone call.
> I attach a sandesha listener to my Axis2 client option to do something
> on error or after a timeout but it seems that in this version
> corresponding methods is never call ?
> (options.setProperty(SandeshaClientConstants.SANDESHA_LISTENER,
> rmListener))
>
> However I have this log in my console saying that timeout occur after
> some "retrying request"
> - Sandesha2 got an exception when sending a message:
> org.apache.axis2.AxisFault: Connection refused.
> org.apache.axis2.AxisFault: Connection refused
> - Error during service call Sandesha2 could not send the message on
> sequence http://localhost:9001/axis2/services/fichier as the sequence
> has timed out.
>
> In fact I have this behavior when my server is down. Without Sandesha my
> server return an RemotException. With Sandesha2 I used listener to deal
> with this error... Where is my mystake ?
>
> Regards
>
> Jérôme
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
>
>


-- 
Chamikara Jayalath
WSO2 Inc.
http://wso2.com/
http://wso2.org/ - For your Oxygen needs