SpringBoot + Dubbo (XML configuration)

 

 

 

 

conclusion of issue:

1. Client Access timeout

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, 

Resolve, increase the timeout configured in the client's profile

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

 

2. Start the client error, the port is occupied 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.

Solve, modify the configuration file application.properties the default Tomcat port 8081

server.port=8081

 

Guess you like

Origin www.cnblogs.com/yangjiming/p/11117514.html