Axis2 Connection timeout problem in case of waiting threads -----------------------------------------------------------
Key: AXIS2-5018 URL: https://issues.apache.org/jira/browse/AXIS2-5018 Project: Axis2 Issue Type: Bug Reporter: Rajmani Kumar I am consuming a third party hosted web service. Usually it was working fine. Recently It has started failing with the below error : org.apache.axis2.AxisFault: Connection timed out: connect at org.apache.axis2.AxisFault.makeFault(Axi... at org.apache.axis2.transport.http.HTTPSend... at org.apache.axis2.transport.http.HTTPSend... at org.apache.axis2.transport.http.CommonsH... at org.apache.axis2.transport.http.CommonsH... at org.apache.axis2.engine.AxisEngine.send(... at org.apache.axis2.description.OutInAxisOp... at org.apache.axis2.description.OutInAxisOp... at org.apache.axis2.client.OperationClient.... at [myclass....] at javax.servlet.http.HttpServlet.service(H... at org.apache.catalina.core.ApplicationFilt... at org.apache.catalina.core.ApplicationFilt... at org.apache.catalina.core.StandardWrapper... at org.apache.catalina.core.StandardValveCo... ..................... at org.apache.coyote.tomcat5.CoyoteAdapter.... at org.apache.coyote.http11.Http11Processor... at org.apache.coyote.http11.Http11Protocol$... at org.apache.tomcat.util.net.TcpWorkerThre... at org.apache.tomcat.util.threads.ThreadPoo... at java.lang.Thread.run(Thread.java:595) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(N... Method) .......................... at org.apache.commons.httpclient.MultiThrea... at org.apache.commons.httpclient.HttpMethod... at org.apache.commons.httpclient.HttpMethod... at org.apache.commons.httpclient.HttpClient... at org.apache.commons.httpclient.HttpClient... at org.apache.axis2.transport.http.Abstract... at org.apache.axis2.transport.http.HTTPSend... ... 41 more The web service on the other side is taking longer sometime due to high traffic or it seems it is not responding at all. But the thread which has requested the web service keeps on waiting and my appserver starts throwing the above error. To resolve this I must restart my server Please help. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org