Java version 11.0.3
Current sonar version: 9.0.0
Future sonar version: 9.2.4
Good afternoon, due to the log4j vulnerability found in my environment’s sonar version 9.0.0, I’m upgrading to version 9.2.4.
But I’m having an error at the start of sonar, following log:
Launching the JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.ClassNotFoundException: org.sonar.application.App
WrapperSimpleApp Usage:
java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
Onde:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching the JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.ClassNotFoundException: org.sonar.application.App
WrapperSimpleApp Usage:
java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
Onde:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
<-- Wrapper Stopped
I already followed the documentation that asks to change the wrapper.conf file, including the java path, even doing that the error persists.
Good night, how are you?
The upgrade doc asks to update wrapper.conf and sonar.properties, with the contents of the previous installation.
Upgrade with .zip (Upgrade Guide | SonarQube Docs)
After doing this I got the error mentioned at the beginning.
Hello, There were no specific settings in the wrapper.conf of the previous installation 9.0.0
when I initialize version 9.2.4 by the sonar.sh script, it presents the error mentioned at the beginning of the issue.
Launching the JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.ClassNotFoundException: org.sonar.application.App
Onde:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
← Wrapper Stopped
→ Wrapper Started as Daemon
Launching the JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.ClassNotFoundException: org.sonar.application.App