RPC 服务遇到的问题 hessian 远程服务


请大神指教,下面的问题不知道该如何去查了


com.caucho.hessian.client.HessianConnectionException: 500: java.net.SocketTimeoutException: Read timed out

at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:145) ~[hessian-4.0.37.jar:3.1.0]
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:296) ~[hessian-4.0.37.jar:3.1.0]
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171) ~[hessian-4.0.37.jar:3.1.0]
at com.sun.proxy.$Proxy28.insertTVStation(Unknown Source) ~[na:na]
at com.kuyun.grab.epggrab.service.impl.FullDoseServiceImpl.handle(FullDoseServiceImpl.java:472) [FullDoseServiceImpl.class:na]
at com.kuyun.grab.epggrab.service.impl.FullDoseServiceImpl.fullDosehandle(FullDoseServiceImpl.java:430) [FullDoseServiceImpl.class:na]
at com.kuyun.grab.epggrab.thread.FullDoseThread.run(FullDoseThread.java:43) [FullDoseThread.class:na]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
Caused by: java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_17]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_17]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_17]
at java.lang.reflect.Constructor.newInstance(Constructor.java:525) ~[na:1.7.0_17]
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674) ~[na:1.7.0_17]
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672) ~[na:1.7.0_17]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_17]
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670) ~[na:1.7.0_17]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243) ~[na:1.7.0_17]
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:125) ~[hessian-4.0.37.jar:3.1.0]
... 7 common frames omitted
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_17]
at java.net.SocketInputStream.read(SocketInputStream.java:150) ~[na:1.7.0_17]
at java.net.SocketInputStream.read(SocketInputStream.java:121) ~[na:1.7.0_17]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[na:1.7.0_17]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[na:1.7.0_17]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[na:1.7.0_17]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633) ~[na:1.7.0_17]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579) ~[na:1.7.0_17]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322) ~[na:1.7.0_17]
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) ~[na:1.7.0_17]
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:112) ~[hessian-4.0.37.jar:3.1.0]

... 7 common frames omitted


   上面试报错信息  这个问题纠结好久了,具体原因不知道该怎么查,测试服务上面总会超时,正式服务上面就没有这种现象。


请赐教,   在线等。 微笑   

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值