You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing this in the sonar.log
2016.06.14 16:33:50 ERROR web[rails] Error from external users provider: exception Java::JavaLang::UnsatisfiedLinkError: Unable to load library 'Advapi32': Native library (linux-x86-64/libAdvapi32.so) not found in resource path ([file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/sonar-activedirectory-plugin-1.0-SNAPSHOT.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/active-directory-1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/ado20-1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/com4j-2.1.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/commons-lang-2.6.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/guava-18.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jcl-over-slf4j-1.7.12.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jna-4.1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jna-platform-4.1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/slf4j-api-1.7.12.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/waffle-jna-1.8.0.jar])
2016.06.14 16:34:06 ERROR web[rails] Error from external users provider: exception Java::JavaLang::NoClassDefFoundError: Could not initialize class com.sun.jna.platform.win32.Advapi32
The text was updated successfully, but these errors were encountered:
Those look like Linux paths -- are you running Sonarqube under Linux? This plugin only supports Windows I believe, which if so would explain the error about not finding a win32 class. The plugin docs don't explicitly say Windows is required -- they should -- but under # 3 it says Sonarqube must be running as a "NT service" which would rule out Linux.
If you aren't running under Linux then apologies, please ignore this comment :)
Thanks for the response. I am using Linux as you astutely pointed out. So if this is windows only, are SonarQube users who put this on a Linux box not able to use AD anymore? Because the LDAP plugin shows in the logs that it is working, but the user accounts no longer pull. I suspect that Linux systems are screwed at the moment. :(
Seeing this in the sonar.log
2016.06.14 16:33:50 ERROR web[rails] Error from external users provider: exception Java::JavaLang::UnsatisfiedLinkError: Unable to load library 'Advapi32': Native library (linux-x86-64/libAdvapi32.so) not found in resource path ([file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/sonar-activedirectory-plugin-1.0-SNAPSHOT.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/active-directory-1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/ado20-1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/com4j-2.1.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/commons-lang-2.6.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/guava-18.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jcl-over-slf4j-1.7.12.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jna-4.1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/jna-platform-4.1.0.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/slf4j-api-1.7.12.jar, file:/opt/sonar/sonarqube-5.6/data/web/deploy/plugins/activedirectory/META-INF/lib/waffle-jna-1.8.0.jar])
2016.06.14 16:34:06 ERROR web[rails] Error from external users provider: exception Java::JavaLang::NoClassDefFoundError: Could not initialize class com.sun.jna.platform.win32.Advapi32
The text was updated successfully, but these errors were encountered: