By: Russell Perkins user 27 Jun 2016 at 1:32 p.m. CDT

3 Responses
Russell Perkins gravatar
So on a super fresh install of gluu server if I navigate to the manage authentication page "test ldap connection" fails. ![Gluu default local ldap error](http://i.imgur.com/z4RaiG8.png "Gluu default local ldap error") Now this clearly can't be as I just successfully logged into the fresh install. I set the bind password and have tried to server as localhost:1636 but it always throws the Failed to connect to ldap error. This is the error is see in the wrapper.log ``` INFO | jvm 1 | 2016/06/27 18:38:32 | Jun 27, 2016 6:38:32 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:32 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:32 | Jun 27, 2016 6:38:32 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:32 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:32 | Jun 27, 2016 6:38:32 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:32 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:32 | Jun 27, 2016 6:38:32 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:32 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:32 | Jun 27, 2016 6:38:32 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:32 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:40 | Jun 27, 2016 6:38:40 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:40 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:40 | Jun 27, 2016 6:38:40 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:40 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:40 | Jun 27, 2016 6:38:40 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:40 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:40 | Jun 27, 2016 6:38:40 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:40 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:40 | Jun 27, 2016 6:38:40 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:40 | WARNING: 'for' attribute cannot be null INFO | jvm 1 | 2016/06/27 18:38:42 | 2016-06-27 18:38:42,607 ERROR [org.gluu.oxtrust.action.ManagePersonAuthenticationAction] Could not connect to LDAP INFO | jvm 1 | 2016/06/27 18:38:42 | java.lang.NullPointerException INFO | jvm 1 | 2016/06/27 18:38:42 | at org.xdi.util.properties.FileConfiguration.getProperties(FileConfiguration.java:117) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.gluu.oxtrust.action.ManagePersonAuthenticationAction.testLdapConnection(ManagePersonAuthenticationAction.java:251) INFO | jvm 1 | 2016/06/27 18:38:42 | at sun.reflect.GeneratedMethodAccessor883.invoke(Unknown Source) INFO | jvm 1 | 2016/06/27 18:38:42 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2016/06/27 18:38:42 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.gluu.oxtrust.action.ManagePersonAuthenticationAction_$$_javassist_seam_53.testLdapConnection(ManagePersonAuthenticationAction_$$_javassist_seam_53.java) INFO | jvm 1 | 2016/06/27 18:38:42 | at sun.reflect.GeneratedMethodAccessor882.invoke(Unknown Source) INFO | jvm 1 | 2016/06/27 18:38:42 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2016/06/27 18:38:42 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) INFO | jvm 1 | 2016/06/27 18:38:42 | at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) INFO | jvm 1 | 2016/06/27 18:38:42 | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87) INFO | jvm 1 | 2016/06/27 18:38:42 | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) INFO | jvm 1 | 2016/06/27 18:38:42 | at javax.faces.component.UICommand.broadcast(UICommand.java:315) INFO | jvm 1 | 2016/06/27 18:38:42 | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:792) INFO | jvm 1 | 2016/06/27 18:38:42 | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1257) INFO | jvm 1 | 2016/06/27 18:38:42 | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) INFO | jvm 1 | 2016/06/27 18:38:42 | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) INFO | jvm 1 | 2016/06/27 18:38:42 | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) INFO | jvm 1 | 2016/06/27 18:38:42 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) INFO | jvm 1 | 2016/06/27 18:38:42 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) INFO | jvm 1 | 2016/06/27 18:38:42 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) INFO | jvm 1 | 2016/06/27 18:38:42 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) INFO | jvm 1 | 2016/06/27 18:38:42 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 1 | 2016/06/27 18:38:42 | Jun 27, 2016 6:38:42 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:42 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:42 | Jun 27, 2016 6:38:42 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:42 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:42 | Jun 27, 2016 6:38:42 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:42 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:42 | Jun 27, 2016 6:38:42 PM com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent INFO | jvm 1 | 2016/06/27 18:38:42 | WARNING: Unable to find component with ID j_idt259 in view. INFO | jvm 1 | 2016/06/27 18:38:42 | Jun 27, 2016 6:38:42 PM com.sun.faces.renderkit.html_basic.MessageRenderer encodeEnd INFO | jvm 1 | 2016/06/27 18:38:42 | WARNING: 'for' attribute cannot be null ```

By Aliaksandr Samuseu staff 27 Jun 2016 at 2:04 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Russell. It's a known issue, the button doesn't work at the moment. Try to proceed anyway, just make sure you are able to revert authentication back to defaults.

By Russell Perkins user 27 Jun 2016 at 2:09 p.m. CDT

Russell Perkins gravatar
Thanks for the quick reply. I just wanted to make sure it wasn't anything on my end before proceeding to configuring AD authentication. Cache refresh is already setup and working so I feel good to proceed. Thanks again for the prompt response.

By Aliaksandr Samuseu staff 27 Jun 2016 at 2:12 p.m. CDT

Aliaksandr Samuseu gravatar
You are welcome, Russell.