sonar启动的时候出现Process exited with exit value [es]: 143异常-让你拍大腿的解决方法

sonar启动的时候出现Process exited with exit value [es]: 143异常

百度google了很久,发现都是一样的,也可能是解决方法之一,我遇到的问题不一样解决方法如下:

查看 logs目录下的日志

一直盯着 es的日志 但死活找不到问题;

于是看了一眼 web.log

2019.01.28 09:06:01 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:mysql://xx:xxx/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false
2019.01.28 09:08:08 ERROR web[][o.s.s.p.Platform] Web server startup failed
java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').
	at org.sonar.db.DefaultDatabase.checkConnection(DefaultDatabase.java:108)
	at org.sonar.db.DefaultDatabase.start(DefaultDatabase.java:75)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.

你可能感兴趣的:(分布式架构)