Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login localhost:9000 because Sonar stops running #10

Open
MeralAbuJaser opened this issue Mar 11, 2022 · 0 comments
Open

Unable to login localhost:9000 because Sonar stops running #10

MeralAbuJaser opened this issue Mar 11, 2022 · 0 comments

Comments

@MeralAbuJaser
Copy link

MeralAbuJaser commented Mar 11, 2022

Hello team!

I am a newbie and I started an attempt to use Sonar yesterday to integrate it with Jenkins on the local host 9000 but it doesn't work.
Every time I try to run the file StartSonar.bat either by using git bash or just by clicking the folder it stops, making it impossible to login local host 9000.

####################################
This is what I get when I run Sonar using Git Bash:

$ ./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 | ????.??.?? ??:??:?? INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Users\user\sonar\sonarqube-9.3.0.51899\temp
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:49684]
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [C:\Users\user\sonar\sonarqube-9.3.0.51899\elasticsearch]: C:\Program Files\Java\jdk-11.0.13\bin\java -XX:+UseG1GC -Djava.io.tmpdir=C:\Users\user\sonar\sonarqube-9.3.0.51899\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -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 -Djna.tmpdir=C:\Users\user\sonar\sonarqube-9.3.0.51899\temp -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j2.formatMsgNoLookups=true -Djava.locale.providers=COMPAT -Dcom.redhat.fips=false -Xmx512m -Xms512m -XX:MaxDirectMemorySize=256m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Users\user\sonar\sonarqube-9.3.0.51899\elasticsearch -Des.path.conf=C:\Users\user\sonar\sonarqube-9.3.0.51899\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [C:\Users\user\sonar\sonarqube-9.3.0.51899]: C:\Program Files\Java\jdk-11.0.13\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\user\sonar\sonarqube-9.3.0.51899\temp -XX:-OmitStackTraceInFastThrow --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 --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.3.0.51899.jar;C:\Users\user\sonar\sonarqube-9.3.0.51899\lib\jdbc\h2\h2-1.4.199.jar org.sonar.server.app.WebServer C:\Users\user\sonar\sonarqube-9.3.0.51899\temp\sq-process14270449407733727050properties
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.SchedulerImpl] Process[web] is stopped
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1 | ????.??.?? ??:??:?? INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant