异常:
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't send message..
2013-07-19 13:52:26,609 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 192.168.2.236 failed to respond
2013-07-19 13:52:26,609 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] Retrying request
2013-07-19 13:52:46,796 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 192.168.2.236 failed to respond
2013-07-19 13:52:46,796 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] Retrying request
2013-07-19 13:53:06,968 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 192.168.2.236 failed to respond
2013-07-19 13:53:06,968 [org.apache.commons.httpclient.HttpMethodDirector]-[INFO] Retrying request
2013-07-19 13:53:27,156 [org.codehaus.xfire.transport.http.HttpChannel]-[ERROR] org.apache.commons.httpclient.NoHttpResponseException: The server 192.168.2.236 failed to respond
此问题我在网上查阅了很多资料, 各有说词,意见不一
而本次我的异常属于: 网络异常
我的客户端和服务端是属于VPN下的局域网, 客户端之前通过局域网上传无异常,最近就抛了以上异常信息, 排查过程中我检查了各项配置参数,并发布不同配置的客户端来验证,最终都排除各项配置问题. 最大连接数,连接超时控制等都排除在外.网上有人说根据官方异常的解释说是:服务端负载,不受理客户端请求! 但通过测试排除了这种说词.
本人一直怀疑是网络通信问题,但有解释了不了,因为客户端PC能ping 通服务端,服务端PC也能远程到客户端PC,
经过许多尝试失败后, 我最终尝试用客户端通过访问服务端外网IP进行交互,发现交互正常了 问题解决了,也证明了我的怀疑,但局域网内网络通信异常具体异常没有查明