ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Gawor <jga...@gmail.com>
Subject Re: Timeout due to connection pool is starved in latest 1.5.2-SNAPSHOT code ?
Date Fri, 25 Jun 2010 20:20:31 GMT
Just committed the patch. Thanks Shawn!

Jarek

On Fri, Jun 25, 2010 at 4:51 AM, Shawn Jiang <genspring@gmail.com> wrote:
> I opened a JIRA https://issues.apache.org/jira/browse/AXIS2-4752  and
> uploaded a patch there.  Could anyone help review it ?
> Thanks in advance.
>
> On Fri, Jun 25, 2010 at 3:01 PM, Shawn Jiang <genspring@gmail.com> wrote:
>>
>> We are trying to upgrade AXIS2 from 1.5 to 1.5.2-SNAPSHOT in geronimo 2.2
>> branch and met some problems after the upgrading.
>> A SAAJ client that are calling  services for several time will result in a
>> timeout exception.   We didn't have this issue before the upgrading.   I
>> noticed that there are some changes on the http transport code in 1.5.1 and
>> 1.5.2.
>> I don't have much  control on the httpSender itself because we are use
>> SAAJ SOAPConnection.     I believe there must be some clean up code that
>> need to be added to SOAPConnectionImpl after a calling.
>> Can anyone give me some suggestions on this ?
>>
>> ---------------------------------------------------------------------------------------------------------------------
>>  javax.xml.soap.SOAPException: Timeout waiting for connection
>> at
>> org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnectionImpl.java:198)
>> at
>> org.apache.axis2.saaj.SOAPConnectionImpl.call(SOAPConnectionImpl.java:132)
>> Caused by: org.apache.axis2.AxisFault: Timeout waiting for connection
>> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>> at
>> org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnectionImpl.java:192)
>> ... 40 more
>> Caused by: org.apache.commons.httpclient.ConnectionPoolTimeoutException:
>> Timeout waiting for connection
>> at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:497)
>> at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
>> at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>> at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>> at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>> ... 48 more
>>
>> --
>> Shawn
>
>
>
> --
> Shawn
>

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


Mime
View raw message