-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
OS: CentOS Linux 7.6.1810
Java: 11.18
Tomcat : 9.X
Jenkins : Jenkins 2.360 to 2.401.2
Ldap : 659.v8ca_b_a_fe79fa_d to 682.v7b_544c9d1512
Hi,
After upgrade LDAP plugin to the latest version, jenkins stopped working at reboot.
I always have the same exception :
11-Jul-2023 08:45:22.025 WARNING [pool-6-thread-7] hudson.ExtensionFinder$Sezpoz.scout Failed to scout hudson.security.LDAPSecurityRealm$DescriptorImpl java.lang.NoClassDefFoundError: org/acegisecurity/ldap/LdapDataAccessException at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:730) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:352) at hudson.ExtensionList.load(ExtensionList.java:384) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320) at hudson.ExtensionList.getComponents(ExtensionList.java:184) at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1191) at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:88) at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:108) at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:115) at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:108) at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:183) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.ClassNotFoundException: org.acegisecurity.ldap.LdapDataAccessException 11-Jul-2023 08:45:24.405 WARNING [CustomOrganizationFolderDescriptor.addSpecificDescriptors] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy$DescriptorImpl, annotation=[none]]; skipping this component com.google.inject.ProvisionException: Unable to provision, see the following errors:1) [Guice/ErrorInjectingConstructor]: NoClassDefFoundError: org/acegisecurity/ldap/LdapEntryMapper at FromGroupSearchLDAPGroupMembershipStrategy$DescriptorImpl.<init>(FromGroupSearchLDAPGroupMembershipStrategy.java:92)Learn more: https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR1 error====================== Full classname legend: ====================== FromGroupSearchLDAPGroupMembershipStrategy$DescriptorImpl: "jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy$DescriptorImpl" ======================== End of classname legend: ========================
I read that ldap attribut groupMembershipStrategy is not use anymore but I can not delete this attribut because I am not in JCasC configuration.
I use Jenkins WAR with tomcat.
Thanks for your help
You'll need to provide much more information in order to persuade others to investigate further. See "How to report an issue" for the types of information that are needed. Some of the areas of concern in what you've reported: