Sonarqube 9 manuel plugin install not working

Hi,

I am installing sonar-ldap-plugin-2.2.0.608.jar in sonarqube/default/extensions/plugins directory.
but when i start it i get the following error. How can I do it. I can’t install the plugin.

Version : sonarqube-9.0.1.46107

ERROR
2021.09.22 11:00:12 ERROR app[startup] Startup failed: Plugins can’t be loaded. See web logs for more information
2021.09.22 11:00:12 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2021.09.22 11:00:12 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.09.22 11:00:12 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2021.09.22 11:00:12 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
Wrapper Manager: ShutdownHook started
WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook
Send a packet STOP : 0
read a packet STOP : 0
JVM requested a shutdown. (0)
wrapperStopProcess(0) called.
Sending stop signal to JVM
send a packet STOP : NULL
Received a packet STOP :
Thread, Wrapper-Shutdown-Hook, handling the shutdown process.
calling listener.stop()
WrapperSimpleApp: stop(0)
returned from listener.stop() → 0
shutdownJVM(0) Thread:Wrapper-Shutdown-Hook
Send a packet STOPPED : 0
read a packet STOPPED : 0
JVM signalled that it was stopped.
Closing socket.
socket read no code (closed?).
server listening on port 32001.
JVM exited normally.
Signal trapped. Details:
signal number=17 (SIGCHLD), source=“unknown”
Received SIGCHLD, checking JVM process status.
JVM process exited with a code of 0, leaving the wrapper exit code set to 0.
Wrapper Manager: ShutdownHook complete
Server daemon shut down
← Wrapper Stopped

Hi @Enes_Selcuk,

Can you share web logs to get more details as we don’t get too much info here?

Best regards,
Fan

Hi,

the sonar-ldap-plugin is now builtin in Sonarqube, see

This plugin is compatible with SonarQube up to 7.9.X, and won’t be compatible with the next SonarQube versions as it’s now a built-in feature of SonarQube 8 and later.

Gilbert

ERROR web[o.s.s.p.PlatformImpl] Web server startup failed: The following plugin is no longer compatible with this version of SonarQube: ‘ldap’

mvn clean package

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.688 s
[INFO] Finished at: 2021-09-22T12:04:08+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sonar-ldap-plugin: Could not resolve dependencies for project org.sonarsource.ldap:sonar-ldap-plugin:sonar-plugin:2.2-SNAPSHOT: Could not find artifact org.sonarsource.ldap:server:jar:2.2-SNAPSHOT → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Hi @Enes_Selcuk,

As mentioned by @Rebse, it is a bundled plugin. It means you don’t need to install it manually.

It’s normal that you got the error as it’s not compatible with your SonarQube 9.0.

Fan