I am new to using Sonar. I am trying to run Sonar Server but getting error
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 | 2017.12.01 11:20:53 INFO app[][o.s.a.AppFileSystem] Cleaning
or creating temp directory C:\sonarqube-6.5\temp
jvm 1 | 2017.12.01 11:20:54 INFO app[]
[o.s.a.p.JavaProcessLauncherImpl] Launch process[es]: C:\Program
Files\Java\jre1.8.0_151\bin\java -Djava.awt.headless=true -Xmx1G -
Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -
XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -
XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -
Djava.io.tmpdir=C:\sonarqube-6.5\temp -cp ./lib/common/*;./lib/search/*
org.sonar.search.SearchServer C:\sonarqube-6.5\temp\sq-
process3727603115591368728properties
jvm 1 | 2017.12.01 11:21:01 INFO app[][o.s.a.SchedulerImpl]
Process[es] is up
jvm 1 | 2017.12.01 11:21:01 INFO app[][o.s.a.p.JavaProcessLauncherImpl]
Launch process[web]: C:\Program Files\Java\jre1.8.0_151\bin\java -
Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -
XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\sonarqube-6.5\temp -cp
./lib/common/*;./lib/server/*;C:\sonarqube-6.5\lib\jdbc\h2\h2-1.3.176.jar
org.sonar.server.app.WebServer C:\sonarqube-6.5\temp\sq-
process5462578831133863784properties
jvm 1 | 2017.12.01 11:21:02 INFO app[][o.s.a.SchedulerImpl] Process
[web] is stopped
jvm 1 | 2017.12.01 11:21:03 INFO app[][o.s.a.SchedulerImpl] Process
[es] is stopped
jvm 1 | 2017.12.01 11:21:03 INFO app[][o.s.a.SchedulerImpl]
SonarQube is stopped
wrapper | <-- Wrapper Stopped
checking the log for web getting error Failed to initialize end point associated with ProtocolHandler ["http-nio- 0.0.0.0-9000"]java.net.BindException: Address already in use: bind I am not sure what is solution for this problem I have changed Java Path in wrapper.conf as well added path in environment variable also. Kindly help me with this.
ProtocolHandler ["http-nio- 0.0.0.0-9000"]java.net.BindException: Address already in use
This kind of error means that another process is listening on port 9000. Check a few things:
localhost:9000
in a browsernetstat -ntlp | grep :9000
to find what's running on port 9000Once you have identified what else is using port 9000 there are several solution paths:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With