我需要帮助启动SonarQube 7.1 Web服务器。我有一个Windows 10 64位操作系统,我正在运行64位的StartSonar.bat并引用jdk1.8.0_172。 SonarQube Web服务器未启动。能不能让我知道我做错了什么?欣赏它。
以下是日志。
--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2018.05.18 15:39:49 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\temp
2018.05.18 15:39:49 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2018.05.18 15:39:49 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\elasticsearch]: C:\Program Files\Java\jdk1.8.0_172\jre\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headl`enter code here`ess=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\temp\conf\es
2018.05.18 15:39:49 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2018.05.18 15:39:49 INFO app[][o.e.p.PluginsService] no modules loaded
2018.05.18 15:39:49 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2018.05.18 15:39:57 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2018.05.18 15:39:57 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1]: C:\Program Files\Java\jdk1.8.0_172\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\lib\jdbc\mssql\mssql-jdbc-6.2.2.jre8.jar org.sonar.server.app.WebServer C:\Users\-\Documents\sonarqube-7.1\sonarqube-7.1\temp\sq-process3425829815356357057properties
2018.05.18 15:39:58 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
2018.05.18 15:39:58 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2018.05.18 15:39:58 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
答案 0 :(得分:0)
当我通过双击它来运行bat文件时,它工作了..现在Web服务器已启动。当我从命令窗口运行bat时,不确定它为什么不起作用。