aspose file tools
The moose likes Web Services and the fly likes ConnectionPoolTimeOutException from Axis2 1.5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "ConnectionPoolTimeOutException from Axis2 1.5.1" Watch "ConnectionPoolTimeOutException from Axis2 1.5.1" New topic
Author

ConnectionPoolTimeOutException from Axis2 1.5.1

R P Kumar
Greenhorn

Joined: Sep 07, 2010
Posts: 6
Hi

I am using Axis2 1.5.1 for webservice calls. After making a few successful calls, I am getting the below exception. Could you please help resolving this issue?

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)
... 45 more


Thanks

This message was edited 2 times. Last update was at by R P Kumar

Amit ChaudhariC
Ranch Hand

Joined: Aug 06, 2009
Posts: 33
Please check http://osdir.com/ml/axis-user-ws.apache.org/2010-01/msg00135.html

Hope this helps.

Regards,
Amit
R P Kumar
Greenhorn

Joined: Sep 07, 2010
Posts: 6
Thank you very much !!

This resolved my issue.
shivendra tripathi
Ranch Hand

Joined: Aug 26, 2008
Posts: 263
Thought of adding my blog link explaining the problem and solution:
http://shivendra-tripathi.blogspot.com/2011/05/http-transport-in-axis2-how-to-fix.html


SCJP 1.5(97%) My Blog
 
 
subject: ConnectionPoolTimeOutException from Axis2 1.5.1
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com