which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
9.6.0.59041
what are you trying to achieve
Upgrade to the latest version
what have you tried so far to achieve this
I tried to use the old batch files but they expect wrapper.exe but that file no longer exists
There is a SonarServiceWrapper.exe in the lib folder but no documentation on how to use it.
Ok that wasnât clear to me, I just saw the notification âThereâs a new version of SonarQube available. Update to enjoy the latest updates and featuresâ didnât release that this was a pre-release.
I followed the insructions to install the windows service, but it fails to start. The log file says
Starting %JAVA_EXE% -Xms8m -Xmx32m -Djava.awt.headless=true --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.lang=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 -cp "..\..\..\lib\sonar-application-9.6.0.59041.jar" "org.sonar.application.App"
Failed to start service.
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
SonarQube does start when, in a cmd-box, I cd to directory %NEW_SONAR_HOME%\bin\windows-x86-64\ and execute manually what is stated in the log file at %JAVA_EXE% etcetera
Hi Colin, setting âencrypt=falseâ helped to fix connection problem. Now I canât start SonarQube as a service. Starting from console with âStartSonar.batâ works OK. SonarServiceWrapper.wrapper.log (1.5 KB)
Just ran into this with a freshly downloaded 9.6.0.59041
When running âSonarService.bat installâ, the value of %JAVA_EXE% is being correctly determined by lib\find_java.bat, however itâs not then being written into SonarServiceWrapper.xml.
If you manually edit SonarServiceWrapper.xml and set the path to your java.exe in the element, the service starts up as expected.
I am getting the same issue with JAVA_EXE
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
I have not tried manually editing SonarServiceWrapper.xml.
Is a fix expected soon?