org.apache.axis2.AxisFault: Timeout waiting for connection
http://blog.sina.com.cn/s/blog_5052ef9d0100hom6.html 写道最近在搞Webservice,遇到
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*/
表现:每次测试超过3次,就会提示超时;
来源:(http://blog.sina.com.cn/s/blog_5052ef9d0100hom6.html) - org.apache.axis2.AxisFault: Timeout waiting for co_IT_刘政_IT_新浪博客
解决方案:
Java客户端注意:每次调用完之后,
RPCServiceClient的对象serviceClient执行serviceClient.cleanupTransport();
C#客户端注意:sender参数执行sender.cleanupTransport();
来源:(http://blog.sina.com.cn/s/blog_5052ef9d0100hom6.html) - org.apache.axis2.AxisFault: Timeout waiting for co_IT_刘政_IT_新浪博客
心中甚是大喜,按照他的方法修改,结果问题依旧。
继续Google搜索,发现这篇文章
https://issues.apache.org/jira/browse/AXIS2-4752
他从AXIS2 1.5升级到1.5.2出现了这样的问题,解决该问题的补丁已经有了,但是目前AXIS2目前最高的版本是1.5.1,降级到1.5试一下吧,问题解决
页:
[1]