title: Axis2 Timeout waiting for connection
body: <p>My code is consistently generating the following error:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>After extensive searching the solution appears to be here:</p>
  
  <p><a href="http://amilachinthaka.blogspot.com/2009/05/improving-axis2-client-http-transport.html" rel="nofollow noreferrer">http://amilachinthaka.blogspot.com/2009/05/improving-axis2-client-http-transport.html</a></p>
  
  <p>Except I cannot access http client directly (that is done in auto generated code).</p>
  
  <p>Instead I have tried:</p>
  
  <p><a href="http://wiki.apache.org/ws/FrontPage/Axis/AxisCommonsHTTP" rel="nofollow noreferrer">http://wiki.apache.org/ws/FrontPage/Axis/AxisCommonsHTTP</a></p>
  
  <p>Which seems to help slightly.  However it only delays the problem I always get the timeout.  Also the instructions appear to be for an old version of Axis since Axis2 does not have AxisProperties.  I am using version 1.5.1.  Any suggestions?</p>