[ https://issues.apache.org/jira/browse/GERONIMO-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vamsavardhana Reddy reassigned GERONIMO-2713: --------------------------------------------- Assignee: Vamsavardhana Reddy > LDAP Realm fails to test and deploy > ----------------------------------- > > Key: GERONIMO-2713 > URL: https://issues.apache.org/jira/browse/GERONIMO-2713 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: console, security > Affects Versions: 1.2, 2.0-M1, 2.0-M2, 2.0-beta1, 2.0-beta2, 2.0 > Reporter: Hernan Cunico > Assigned To: Vamsavardhana Reddy > Priority: Critical > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira