Wrapper stopped - Since I have installed the required version to start the based on document | New to Sonarqube

Hi,

I am trying to setup sonar qube setup on my local machine which is win 10 machine and I have followed the documentation for installing pre required software. However, my setup is not running and its giving below exception,

Please find the below version of s/w, which I have installed on my machine,

Java Open SDK :
openjdk version “11” 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Sonar Qube: sonarqube-7.9.5

Below issue which I have getting while starting the 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    | 2021.05.15 11:52:25 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Users\users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\temp
jvm 1    | 2021.05.15 11:52:25 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1    | 2021.05.15 11:52:25 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\Users\users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\elasticsearch]: C:\Program Files\jdk-11\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:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\elasticsearch -Des.path.conf=C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1    | 2021.05.15 11:52:25 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
jvm 1    | 2021.05.15 11:52:26 INFO  app[][o.e.p.PluginsService] no modules loaded
jvm 1    | 2021.05.15 11:52:26 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1    | 2021.05.15 11:52:36 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1    | 2021.05.15 11:52:36 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5]: C:\Program Files\jdk-11\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\temp --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*;C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\Users\Downloads\sonarqube-7.9.5\sonarqube-7.9.5\temp\sq-process6359651854676614241properties
jvm 1    | 2021.05.15 11:52:37 INFO  app[][o.s.a.SchedulerImpl] Process[web] is stopped
jvm 1    | 2021.05.15 11:52:37 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1    | 2021.05.15 11:52:37 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

And I have changed the port as well on “sonar property” file.

Thanks,
Ganapathy A

Hi Ganapathy,

Welcome to the community!

What do your server logs say?

 
Ann

es.log (14.0 KB)
web.log (12.6 KB)

Hi, Ann, Thanks for replying. However, I have attached two error log files, which is got generated. Hope this will help you to find the problem and able to guide me to go further with setup. Thanks

Regards,
Ganapathy A

Hi Ganapathy,

Hopefully the logs will help you find the problem. Did you see anything interesting in them?

 
:slightly_smiling_face:
Ann