Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2, 2.0-M1, 2.0-M2, 2.0-M3, 2.0-M4, 2.0-M5
    • Fix Version/s: 1.2, 2.0-M2
    • Component/s: console, security
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      LDAP Realm dep plan generated with the console fails to deploy with the following error in terminal:

      10:59:26,609 ERROR [DeploymentFactoryImpl] org/apache/geronimo/deployment/ModuleConfigurer
      java.lang.NoClassDefFoundError: org/apache/geronimo/deployment/ModuleConfigurer
      at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:130)
      at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
      at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:292)
      at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:209)
      at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:157)
      at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:314)
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/deployment/ModuleConfigurer
      at org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:130)
      at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
      at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:292)
      at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:209)
      at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:157)
      at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:314)

      This realm also fails the testing previous to final deployment. Connection values are correct (user, pwd, ...) as these work fine in Geronimo v1.1.1

      10:44:50,125 WARN [SecurityRealmPortlet] Testing with options {roleBase=ou=groups,ou=system, roleSearchMatching=(uniqueMember=

      {0}

      )..................
      10:45:11,968 WARN [SecurityRealmPortlet] Test login failed
      javax.security.auth.login.LoginException: LDAP Error
      at org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:162)
      at org.apache.geronimo.console.util.KernelManagementHelper.testLoginModule(KernelManagementHelper.java:423)
      at org.apache.geronimo.console.util.PortletManager.testLoginModule(PortletManager.java:160)
      at org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.actionAttemptLogin(SecurityRealmPortlet.java:334)
      at org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.processAction(SecurityRealmPortlet.java:215)
      at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
      at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:597)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
      at org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
      at org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
      at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
      at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:597)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:328)
      at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:396)
      at org.apache.geronimo.security.realm.providers.LDAPLoginModule.open(LDAPLoginModule.java:422)
      at org.apache.geronimo.security.realm.providers.LDAPLoginModule.authenticate(LDAPLoginModule.java:200)
      at org.apache.geronimo.security.realm.providers.LDAPLoginModule.login(LDAPLoginModule.java:155)
      ... 40 more

        Issue Links

          Activity

          Vamsavardhana Reddy made changes -
          Fix Version/s 1.2 [ 12310181 ]
          Fix Version/s 2.0-M2 [ 12312217 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Vamsavardhana Reddy made changes -
          Link This issue is duplicated by GERONIMO-2714 [ GERONIMO-2714 ]
          Vamsavardhana Reddy made changes -
          Field Original Value New Value
          Assignee Vamsavardhana Reddy [ vamsic ]
          Hernan Cunico created issue -

            People

            • Assignee:
              Vamsavardhana Reddy
              Reporter:
              Hernan Cunico
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development