我试图在64位Windows 2016上安装Sonar 7.7 community edition
,所以我首先安装JDK 1.8.0.141
,在db-eng-sonar
上创建了一个空白数据库SQl Server 2016
,然后我的sonar.properties
sonar.jdbc.url=jdbc:sqlserver://devmssql16;databaseName=db-eng-sonar;
sonar.jdbc.username=sqluser
sonar.jdbc.password=123456
sonar.web.port=80
除了上述配置外,我还没有对开箱即用的配置进行任何其他更改。
--> Wrapper Started as Service
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.06.17 16:32:15 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\tools\sonarqube-7.7\temp
2019.06.17 16:32:15 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.06.17 16:32:15 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\tools\sonarqube-7.7\elasticsearch]: C:\Program Files\Java\jdk1.8.0_141\jre\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=C:\tools\sonarqube-7.7\temp\es6 -XX:ErrorFile=C:\tools\sonarqube-7.7\logs\es_hs_err_pid%p.log -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\tools\sonarqube-7.7\elasticsearch -Des.path.conf=C:\tools\sonarqube-7.7\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
2019.06.17 16:32:15 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.06.17 16:32:16 INFO app[][o.e.p.PluginsService] no modules loaded
2019.06.17 16:32:16 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.06.17 16:32:31 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2019.06.17 16:32:31 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\tools\sonarqube-7.7]: C:\Program Files\Java\jdk1.8.0_141\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\tools\sonarqube-7.7\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;C:\tools\sonarqube-7.7\lib\jdbc\mssql\mssql-jdbc-6.2.2.jre8.jar org.sonar.server.app.WebServer C:\tools\sonarqube-7.7\temp\sq-process7421505393062654848properties
2019.06.17 16:32:43 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.06.17 16:32:43 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.06.17 16:32:43 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
不确定是什么原因导致SonarQube
服务立即停止,没有ERROR
日志记录,有人可以帮我吗?