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

来源:互联网 发布:eviews8.0怎么导入数据 编辑:程序博客网 时间:2024/05/19 12:14


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


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


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


请赐教,   在线等。 微笑   

0 0