sonarqube - Problems at starting the SonarQube 7.1 web server
问题描述
I need help with starting the SonarQube 7.1 web server. I have a Windows 10 64 bit OS and I am running the StartSonar.bat for 64 bit and referencing jdk1.8.0_172. The SonarQube web server is not starting up. Could you please let me know what I am doing wrong? Appreciate it.
Below are the logs.
--> 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
解决方案
当我通过双击运行 bat 文件时,它工作了。现在网络服务器已启动。不知道为什么当我从命令窗口运行 bat 时它没有工作。
推荐阅读
- java - 转换 FieldInsnNode 的名称和信息
- php - 调用未定义的方法 DateTime::format 但 DateTime 正在工作
- java - Android - 如何使用 okhttp-retrofit 从保存的缓存中使特定 URL 无效/删除?
- c - 指定 RIDEV_NOLEGACY 时,Win32 原始输入阻止输入区域设置切换
- ruby - 使用gets时Ruby Loop无法中断
- c# - ASP.Net C# MCV - 将值从 Ajax Jquery 传递到控制器
- sql - 如何设置两个字段组合的输出参数,例如fullname=firstname+lastname?
- chatbot - 上一个 (%) 命令在 Rivescript 游乐场测试中引发错误?
- javascript - 如何在 OfficeJS 中显示类似于 Window.alert() 的消息
- angular - 如何使用不同的服务注入以角度创建可重用组件?