zoukankan      html  css  js  c++  java
  • com.alibaba.dubbo.remoting.TimeoutException异常

    严重: Servlet.service() for servlet [e3-manager] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getItemById in the service cn.e3mall.service.ItemService. Tried 3 times of the providers [192.168.25.130:20880] (1/1) from the registry 192.168.25.131:2181 on the consumer 192.168.25.80 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: getItemById, provider: dubbo://192.168.25.130:20880/cn.e3mall.service.ItemService?anyhost=true&application=e3-manager-web&check=false&dubbo=2.5.3&interface=cn.e3mall.service.ItemService&methods=getItemById&pid=8868&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1522920403876, cause: Waiting server-side response timeout. start time: 2018-04-05 17:26:52.897, end time: 2018-04-05 17:26:53.903, client elapsed: 0 ms, server elapsed: 1005 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getItemById, parameterTypes=[long], arguments=[830972], attachments={path=cn.e3mall.service.ItemService, interface=cn.e3mall.service.ItemService, version=0.0.0}]], channel: 192.168.25.131:2181  -> /192.168.25.131:2181 0] with root cause
    com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2018-04-05 17:26:52.897, end time: 2018-04-05 17:26:53.903, client elapsed: 0 ms, server elapsed: 1005 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getItemById, parameterTypes=[long], arguments=[830972], attachments={path=cn.e3mall.service.ItemService, interface=cn.e3mall.service.ItemService, version=0.0.0}]], channel: /192.168.25.130:61208 -> /192.168.25.130:20880
    at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:107)
    at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84)
    at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:96)
    at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144)
    at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74)
    at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
    at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:77)

    出现上述错误,请看你的mysql或着sql sever服务器是否打开,我的就是mysql服务器被电脑自动关闭了才出现这种错误,一般打开就解决了,另外用eclipse做Maven项目如果实在找不到报错的原因,或着代码根本没动,一启动就报错了,就把整个项目或着模块先clean在install,然后可能就好了.

  • 相关阅读:
    HDU3746 Cyclic Nacklace KMP
    KMP的小结
    POJ1916 Period KMP
    POJ 2406 Power Strings 简单KMP模板 strcmp
    HDU 2157 How many ways?? (邻接矩阵快速幂)
    (VIJOS) VOJ 1067 Warcraft III 守望者的烦恼 矩阵快速幂
    puppet之自定义fact(转载)
    Shell标准输出、标准错误 >/dev/null 2>&1
    如何在linux中用命令产生一个范围内的随机数?
    SNMP协议
  • 原文地址:https://www.cnblogs.com/zhangxiaozhen/p/9901532.html
Copyright © 2011-2022 走看看