Timeout due to connection pool is starved in latest 1.5.2-SNAPSHOT code.
------------------------------------------------------------------------

                 Key: AXIS2-4752
                 URL: https://issues.apache.org/jira/browse/AXIS2-4752
             Project: Axis2
          Issue Type: Bug
          Components: saaj
    Affects Versions: 1.5.1
         Environment: Linux ia32, sun jdk 1.5,  geronimo 2.2.1-snapshot, axis2 
1.5.2-snapshot.
            Reporter: Shawn Jiang


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to