Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14079

LDAP authentication crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Schientific Linux 6.1 x64 / jenkins 1.468-1.1 (rpm)
    • Similar Issues:

      Description

      jenkins updated to 1.478 1.468, and views just displays these message and all preset jobs not worked.

      org.jvnet.hudson.reactor.ReactorException: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/Class;Lorg/springframework/context/ApplicationContext;)Ljava/lang/Object; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:885)
      at jenkins.model.Jenkins.<init>(Jenkins.java:790)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.model.Hudson.<init>(Hudson.java:77)
      at hudson.WebAppMain$2.run(WebAppMain.java:217)
      Caused by: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/Class;Lorg/springframework/context/ApplicationContext;)Ljava/lang/Object; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService
      at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.<init>(LDAPSecurityRealm.java:419)
      at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:369)
      at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398)
      at hudson.security.HudsonFilter.reset(HudsonFilter.java:134)
      at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1960)
      at jenkins.model.Jenkins$17.run(Jenkins.java:2524)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$7.runTask(Jenkins.java:874)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

      our jenkins set to use LDAP authentication.


      Sorry, my report version is incorrect.

      crashes: 1.468
      works well: 1.467

      thanks

        Attachments

          Activity

          Hide
          jamesgedarovich James Gedarovich added a comment -

          thought I would mention this is a dealbreaker for me as well. jenkins 1.469 war in tomcat6 on RHEL

          
          SEVERE: Failed to initialize Jenkins
          org.jvnet.hudson.reactor.ReactorException: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/Class;Lorg/springframework/context/ApplicationContext;)Ljava/lang/Object; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService
                  at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
                  at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
                  at jenkins.model.Jenkins.executeReactor(Jenkins.java:885)
                  at jenkins.model.Jenkins.<init>(Jenkins.java:790)
                  at hudson.model.Hudson.<init>(Hudson.java:81)
                  at hudson.model.Hudson.<init>(Hudson.java:77)
                  at hudson.WebAppMain$2.run(WebAppMain.java:217)
          Caused by: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/Class;Lorg/springframework/context/ApplicationContext;)Ljava/lang/Object; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService
                  at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.<init>(LDAPSecurityRealm.java:419)
                  at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:369)
                  at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398)
                  at hudson.security.HudsonFilter.reset(HudsonFilter.java:134)
                  at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1960)
                  at jenkins.model.Jenkins$17.run(Jenkins.java:2524)
                  at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                  at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                  at jenkins.model.Jenkins$7.runTask(Jenkins.java:874)
                  at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                  at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                  at java.lang.Thread.run(Thread.java:662)
          
          Show
          jamesgedarovich James Gedarovich added a comment - thought I would mention this is a dealbreaker for me as well. jenkins 1.469 war in tomcat6 on RHEL SEVERE: Failed to initialize Jenkins org.jvnet.hudson.reactor.ReactorException: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/ Class ;Lorg/springframework/context/ApplicationContext;)Ljava/lang/ Object ; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:885) at jenkins.model.Jenkins.<init>(Jenkins.java:790) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.IllegalAccessError: tried to access method hudson.security.SecurityRealm.findBean(Ljava/lang/ Class ;Lorg/springframework/context/ApplicationContext;)Ljava/lang/ Object ; from class hudson.security.LDAPSecurityRealm$LDAPUserDetailsService at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.<init>(LDAPSecurityRealm.java:419) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:369) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398) at hudson.security.HudsonFilter.reset(HudsonFilter.java:134) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1960) at jenkins.model.Jenkins$17.run(Jenkins.java:2524) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:874) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang. Thread .run( Thread .java:662)
          Hide
          stabacov Tatsuhito Kato added a comment -

          though there are no reactions, jenkins 1.470 (rpm) works well with LDAP on CentOS.

          Show
          stabacov Tatsuhito Kato added a comment - though there are no reactions, jenkins 1.470 (rpm) works well with LDAP on CentOS.
          Hide
          evernat evernat added a comment -

          If it works with Jenkins 1.470 or later, this issue can be closed?

          Show
          evernat evernat added a comment - If it works with Jenkins 1.470 or later, this issue can be closed?
          Hide
          stabacov Tatsuhito Kato added a comment -

          No problem, for me.

          Show
          stabacov Tatsuhito Kato added a comment - No problem, for me.
          Hide
          bigbadcat Kiyotaka Kikuchi added a comment -

          no problem. thanks

          Show
          bigbadcat Kiyotaka Kikuchi added a comment - no problem. thanks

            People

            • Assignee:
              Unassigned
              Reporter:
              bigbadcat Kiyotaka Kikuchi
            • Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: