Information about installation using MYSQL:
I run bin/windows-x86-32/StartSonar.bat
and click http://localhost:9000
.
On clicking this, I get nothing.
Then I echo errorlevel = %errorlevel%
and I found errorlevel = 1
.
I googled this problem but I found nothing useful.
Do you guys know what to do with that error?
I had to make a few changes to get it running locally on my win7 64bit.
I changed the settings in /conf/wrapper.conf
wrapper.console.loglevel=NONE
I changed the .bat
file's starting lines to
rem @echo off
setlocal
java -version
In /conf/sonar.properties
sonar.web.host: 127.0.0.1
sonar.web.port: 9000
sonar.web.context: /
then started the batch file. it takes quite awhile to initialize the first time.
Also on Win2008 as a service I had to
/conf/wrapper.conf
add wrapper.java.additional.3=-Djava.io.tmpdir=../../temp/
since access was denied to C:\Windows\system32\config\systemprofile\AppData\Local\Temp
- reference
then I could finally see the website on localhost:9000
Lots of hoops after that for sonar-runner, and gallio
related question
Following articles may help you to configure sonar properly.
For installing sonarqube here
For configure sonar plugin with eclipse here
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