axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sardar Hussain <>
Subject [Axis2] Client Error: Unable to sendViaPost to ur
Date Wed, 16 Feb 2011 01:57:58 GMT
 I have a number of Axis2 web services and I am going to call them through a client. I can
call each individual service easily and successfully. However when I call them in a loop I
get the following error after calling two services. 
I mean when want to call more than two services in a loop, it can successfully call first
services however can not call the other services and throw the following error.

Unable to sendViaPost to url[http://localhost:8080/axis2/services/WSAddService?wsdl]
org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
    at org.apache.commons.httpclient.HttpClient.executeMethod(
    at org.apache.commons.httpclient.HttpClient.executeMethod(
    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
    at org.apache.axis2.transport.http.HTTPSender.send(
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
    at org.apache.axis2.engine.AxisEngine.send(
    at org.apache.axis2.description.OutInAxisOperationClient.send(
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
    at org.apache.axis2.client.OperationClient.execute(

Can some one kindly give me a clue how to handle this problem?


Sardar Hussain

View raw message