Setup SonarQube Test Server

sonarqube
(Azhar Ushmani) #1

I am trying to setup the Sonarqube as test server for scanning in windows 10 machine.
I am keep on getting error while I am running StartSonar.Bat while SonarService is running as normally

Below error I am getting…

C:\sonarqube-7.7\bin\windows-x86-64>StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2019.04.25 11:20:39 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube-7.7\temp
jvm 1 | 2019.04.25 11:20:39 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2019.04.25 11:20:40 INFO app[o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube-7.7\elasticsearch]: C:\Program Files\Java\jre1.8.0_201\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:\sonarqube-7.7\temp\es6 -XX:ErrorFile=C:\sonarqube-7.7\logs\es_hs_err_pid%p.log -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube-7.7\elasticsearch -Des.path.conf=C:\sonarqube-7.7\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | 2019.04.25 11:20:40 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2019.04.25 11:20:40 INFO app[o.e.p.PluginsService] no modules loaded
jvm 1 | 2019.04.25 11:20:40 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | 2019.04.25 11:20:53 INFO app[o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | 2019.04.25 11:20:53 INFO app[o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [C:\sonarqube-7.7]: C:\Program Files\Java\jre1.8.0_201\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\sonarqube-7.7\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;C:\sonarqube-7.7\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\sonarqube-7.7\temp\sq-process5126186799331194650properties
jvm 1 | 2019.04.25 11:20:54 INFO app[o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1 | 2019.04.25 11:20:55 INFO app[o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1 | 2019.04.25 11:20:55 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped

Your early reply will be highly appreciated.