RE: Axis2 client hangs with multiple requests in one session

2008-02-18 Thread Pär Malmqvist
Thanks! /Pär> Date: Sun, 17 Feb 2008 06:01:01 -0800> From: [EMAIL PROTECTED]> To: axis-user@ws.apache.org> Subject: RE: Axis2 client hangs with multiple requests in one session> > > Yes, doing the following after each AxisFault would help me prevent the

RE: Axis2 client hangs with multiple requests in one session

2008-02-17 Thread Landslide
Yes, doing the following after each AxisFault would help me prevent the Axis2 client to hang: client.cleanupTransport(); and my server side still gets all the preset cookie values. -- View this message in context: http://www.nabble.com/Axis2-client-hangs-with-multiple-requests-in-one-sess

RE: Axis2 client hangs with multiple requests in one session

2008-02-17 Thread Pär Malmqvist
t; axis-user@ws.apache.org> Subject: Re: Axis2 client hangs with multiple > requests in one session> > > 1) Yes, the Axis2 client would hang on the 3rd > call if the first 2 requests> get an AxisFault when I use:> > options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true);&g

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Landslide
1) Yes, the Axis2 client would hang on the 3rd call if the first 2 requests get an AxisFault when I use: options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); options.setCallTransportCleanup(true); 2) The Axis2 client would hang on the 3rd call no matter what when I use:

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Michele Mazzucco
TECTED] > To: axis-user@ws.apache.org > Subject: Re: Axis2 client hangs with multiple requests in one session > > > Thanks, Michele! > > The combination of these 2 lines works for multiple requests/ responses: > options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); >

RE: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Pär Malmqvist
ject: Re: Axis2 client hangs with multiple > requests in one session> > > Thanks, Michele!> > The combination of these 2 > lines works for multiple requests/responses:> > options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true);> > options.setCallTransportCl

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Landslide
Thanks, Michele! The combination of these 2 lines works for multiple requests/responses: options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); options.setCallTransportCleanup(true); This line only tracks the cookie "JSESSIONID" but nothing else: options.setManageSes

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Michele Mazzucco
Have you tried to call options.setCallTransportCleanup(true)?, my guess is that the problem lies at the transport level. If still does not work try to create a custom HttpConnectionManager for the client -- see AsyncTest2Test into the integration test module. Michele On 16 Feb 2008, at 02: