Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4797

org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection after several times of web services call with axis2-xmlbeans

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: client-api, codegen
    • Labels:
      None
    • Environment:
      Windows XP SP3, axis 2 1.5.1, XMLBeans, JDK 1.5.0_22, Tomcat 5.5.17

      Description

      I am using the WSDL2Java auto generated stub classess

      ServiceClient Options:

      options.setManageSession(true);
      options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT,true);

      Web Services request fail due to the following expection.

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chenchdi Jun
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: