zoukankan      html  css  js  c++  java
  • SpringBoot+Dubbo(XML配置方式)

    问题总结:

    1.  客户端访问超时

    com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout. 
    start time: 2019-07-01 23:12:02.396, end time: 2019-07-01 23:12:03.398, client elapsed: 1 ms, server elapsed: 1001 ms, timeout: 1000 ms, 

    解决,在客户端的配置文件中增加超时配置

    <dubbo:consumer timeout="180000" retries="3" />

    2.  启动客户端时报错,8080端口被占用

    ***************************
    APPLICATION FAILED TO START
    ***************************
    
    Description:
    
    The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
    
    Action:
    
    Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.

    解决,修改配置文件application.properties中默认的Tomcat端口为8081

    server.port=8081
  • 相关阅读:
    js中有关类、对象的增强函数
    ES6学习准备
    JavaScript中类型检测
    网页性能优化
    前端工程化
    2014年度总结和计划
    vim命令汇总
    互联网思维
    传统企业信息化
    创业这三年¥.NET之尴尬处境
  • 原文地址:https://www.cnblogs.com/yangjiming/p/11117514.html
Copyright © 2011-2022 走看看