RMI nested exception

RMI调用异常

org.springframework.remoting.RemoteConnectFailureException: Could not connect to remote service [rmi://10.78.23.201:1099/matchServerApi]; nested exception is java.rmi.ConnectException: Connection refused to host: 17.31.2.3; nested exception is:

java.net.ConnectException: Connection timed out (Connection timed out)

at org.springframework.remoting.rmi.RmiClientInterceptorUtils.convertRmiAccessException(RmiClientInterceptorUtils.java:190) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:347) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.remoting.rmi.RmiClientInterceptor.refreshAndRetry(RmiClientInterceptor.java:330) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.remoting.rmi.RmiClientInterceptor.handleRemoteConnectFailure(RmiClientInterceptor.java:306) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:262) ~[spring-context-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8.RELEASE]

at com.sun.proxy.$Proxy67.getUserTotalEntryFee(Unknown Source) ~[?:?]

at com.yj.tr.gds.api.game.server.impl.v2.UserTotalWinlossApiImpl.findByConditi

 

注意 nested exception 明确说明是嵌套异常

也就是说 rmi调用是调用 到了, 只是被调用的方法内部出现异常了

所以要找问题应该到rmi服务端去找

 

具体到上面我这个问题是, rmi服务端又通过rmi去调用rmi://10.78.23.201:1099/matchServerApi上的 getUserTotalEntryFee方法失败了(不能调用)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值