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
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
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
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:
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);
>
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
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
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: