axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay25 <jshr...@yahoo.com>
Subject Re: [jira] Commented: (AXIS2-3670) Problem using REUSE_HTTP_CLIENT - Application stalls
Date Mon, 04 May 2009 17:33:14 GMT

Hi

I tried applying the 1.3 patch as specified here:
https://issues.apache.org/jira/browse/AXIS2-2931?focusedCommentId=12676837#action_12676837

The stub generated with the new patch also has the same issue. Transport is
cleaned up only in case of success  scenario.  So I edited the generated
stub to add finally block to cleanup transport. 
This seems to fix the issue. However need to do more testing to confirm the
fix. 

Not a very clean solution, but a workaround for now. 

Thanks
Jay


Dobri Kitipov-3 wrote:
> 
> Hi Jayashree,
> you can check if:
> 
> _messageContext.getTransportOut().getSender().cleanup(_messageContext);
> 
> is really invoked. AFAI can remember there is an issue when an exception
> is
> thrown into the stub. If this is the case the
> _messageContext.getTransportOut().getSender().cleanup(_messageContext); is
> not invoked.
> 
> Sorry for not being really responsive, but I am on a vacatio and will be
> back on 7th of May.
> 
> hope this helps
> 
> Regards,
> Dobri
> 



-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28AXIS2-3670%29-Probelm-using-REUSE_HTTP_CLIENT-tp16331279p23372954.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


Mime
View raw message