slw710793113
嗨疯子
2017-11-08 03:30
采纳率: 100%
浏览 5.0k
已采纳

dubbo调用提供者接口报错

 HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method sayHello in the service com.soecode.dubbo.service.HelloService. Tried 3 times of the providers [192.168.63.47:20880] (1/1) from the registry 192.168.63.47:2181 on the consumer 192.168.63.47 using the dubbo version 2.4.10. Last error is: Failed to invoke remote method: sayHello, provider: dubbo://192.168.63.47:20880/com.soecode.dubbo.service.HelloService?anyhost=true&application=demo-consumer&check=false&default.accepts=1&dubbo=2.4.10&executes=1&interface=com.soecode.dubbo.service.HelloService&methods=sayHello&pid=1348&revision=dubbo.provider&sayHello.actives=1&side=consumer&timestamp=1510110717473, cause: com.alibaba.dubbo.rpc.RpcException: Failed to invoke method sayHello in provider dubbo://192.168.63.47:20880/com.soecode.dubbo.service.HelloService?anyhost=true&application=demo-provider&default.accepts=1&dubbo=2.4.10&executes=1&interface=com.soecode.dubbo.service.HelloService&methods=sayHello&pid=9668&side=provider&timestamp=1510110709853, cause: The service using threads greater than <dubbo:service executes="1" /> limited.

初学dubbo,写了一个下载文件的接口,消费者调用提供者的时候就报这个错,文件也下载下来了,但是一直报这个错!
求大神指教!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

4条回答 默认 最新

  • fuweihua123
    fuweihua123 2017-11-08 04:42
    已采纳

    你那几个类实现序列化接口

    点赞 2 评论
  • fuweihua123
    fuweihua123 2017-11-08 03:37

    消费者和提供者都注入成功了?

    点赞 评论
  • qq381332153
    noWayBinding 2017-11-08 03:54

    service的executes设置大些

    点赞 评论
  • syy569548940
    syy569548940 2017-11-10 01:53

    你那几个类实现序列化接口

    点赞 评论

相关推荐