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,然后可能就好了.

  • 相关阅读:
    乐在其中设计模式(C#) 享元模式(Flyweight Pattern)
    乐在其中设计模式(C#) 抽象工厂模式(Abstract Factory Pattern)
    新瓶旧酒ASP.NET AJAX(7) 客户端脚本编程(Sys命名空间下的类)
    [翻译]在GridView中针对鼠标单击的某一独立单元格进行编辑
    乐在其中设计模式(C#) 中介者模式(Mediator Pattern)
    [翻译]使用C#创建SQL Server的存储过程(Visual Studio 2005 + SQL Server 2005)
    [翻译]ASP.NET 2.0中的健康监测系统(Health Monitoring)(1) 基本应用
    厚积薄发,丰富的公用类库积累,助你高效进行系统开发(11)各种线程相关操作类
    Oracle如何实现创建数据库、备份数据库及数据导出导入的一条龙操作
    Winform分页控件支持表头全选操作实现
  • 原文地址:https://www.cnblogs.com/zhangxiaozhen/p/9901532.html
Copyright © 2011-2022 走看看