coolbeevip commented on issue #647: fix the bug of alpha server printing  error 
log
URL: https://github.com/apache/servicecomb-pack/pull/647#issuecomment-609564849
 
 
   > `nohup java -Dloader.path=./plugins -jar alpha-server-0.5.0-exec.jar 
--spring.datasource.url=jdbc:mysql://172.31.132.184:3306/saga?serverTimezone=Asia/Shanghai\&useSSL=false\&allowPublicKeyRetrieval=true
 --spring.datasource.username=saga --spring.datasource.password=xxx 
--eureka.client.enabled=true 
--eureka.client.service-url.defaultZone=http://172.31.132.162:8761/eureka/ 
--server.port=8111 --alpha.server.port=8112 --alpha.feature.akka.enabled=true 
--alpha.feature.akka.transaction.repository.type=elasticsearch 
--spring.data.elasticsearch.cluster-name=elasticsearch 
--spring.data.elasticsearch.cluster-nodes=172.31.132.147:9300 
--spring.profiles.active=mysql 
--spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver >/dev/null 
2>nohup.out &`
   
   I cannot reproduce this problem on version 0.5.0, 
   
   The getSystemInfo () method cannot return an empty object unless this method 
throws an exception. Can you give a log of all startup processes?
   
   ```
   @Controller
   public class IndexController implements ErrorController {
   
     @Autowired
     MetricsEndpoint metricsEndpoint;
   
     // index
     @GetMapping("/admin")
     public String index(ModelMap map) {
       map.put("systemInfo", getSystemInfo());
       return "index";
     }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to