By: hudson solomon user 19 Aug 2015 at 8:19 a.m. CDT

8 Responses
hudson solomon gravatar
Hi Mohib, I have already study through http://www.gluu.org/docs/admin-guide/user-management/#self-registration. But it is not clear. Can u explain how to enable self registration.

By Aliaksandr Samuseu staff 19 Aug 2015 at 10:04 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Hudson. You have to set "Enable registration without invitation" checkbox on the "Configuration -> Manage Registration" page.

By hudson solomon user 19 Aug 2015 at 11:25 p.m. CDT

hudson solomon gravatar
Hi Samuseu, If i Enable registration without invitation checkbox then it throws an error such as "System Error. Please try again or contact a Gluu administrator for help." My "wrapper.log" after i click the register menu : INFO | jvm 1 | 2015/08/20 04:24:07 | 2015-08-20 04:24:07,855 DEBUG [org.gluu.oxtrust.ldap.service.MetadataValidationTimer] Starting metadata validation INFO | jvm 1 | 2015/08/20 04:24:07 | 2015-08-20 04:24:07,855 DEBUG [org.gluu.oxtrust.ldap.service.MetadataValidationTimer] Metadata validation finished INFO | jvm 1 | 2015/08/20 04:24:10 | 2015-08-20 04:24:10,672 ERROR [org.jboss.seam.exception.Exceptions] handled and logged exception INFO | jvm 1 | 2015/08/20 04:24:10 | javax.el.ELException: java.lang.NullPointerException INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:222) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.navigation.Page.preRender(Page.java:311) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.navigation.Pages.preRender(Pages.java:351) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:565) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:476) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:147) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117) INFO | jvm 1 | 2015/08/20 04:24:10 | at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) INFO | jvm 1 | 2015/08/20 04:24:10 | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) INFO | jvm 1 | 2015/08/20 04:24:10 | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) INFO | jvm 1 | 2015/08/20 04:24:10 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) INFO | jvm 1 | 2015/08/20 04:24:10 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) INFO | jvm 1 | 2015/08/20 04:24:10 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) INFO | jvm 1 | 2015/08/20 04:24:10 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 1 | 2015/08/20 04:24:10 | Caused by: java.lang.NullPointerException INFO | jvm 1 | 2015/08/20 04:24:10 | at org.gluu.oxtrust.action.RegisterPersonAction.initPerson(RegisterPersonAction.java:130) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2015/08/20 04:24:10 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.gluu.oxtrust.action.RegisterPersonAction_$$_javassist_seam_62.initPerson(RegisterPersonAction_$$_javassist_seam_62.java) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2015/08/20 04:24:10 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2015/08/20 04:24:10 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2015/08/20 04:24:10 | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) INFO | jvm 1 | 2015/08/20 04:24:10 | ... 55 more INFO | jvm 1 | 2015/08/20 04:24:11 | 2015-08-20 04:24:11,005 DEBUG [org.gluu.oxtrust.servlet.LogoImageServlet] Starting organization logo upload INFO | jvm 1 | 2015/08/20 04:24:11 | 2015-08-20 04:24:11,006 DEBUG [org.gluu.oxtrust.servlet.LogoImageServlet] Successfully send organization logo with size INFO | jvm 1 | 2015/08/20 04:24:13 | 2015-08-20 04:24:13,317 TRACE [org.xdi.service.custom.script.CustomScriptManager] Last finished time '8/20/15 4:24 AM'

By Aliaksandr Samuseu staff 20 Aug 2015 at 8:24 a.m. CDT

Aliaksandr Samuseu gravatar
At which particular moment does this happen? The moment you click "Update" button after setting the checkbox? Or when you are trying to actually register a user? And can I ask what version of Gluu you are using?

By Aliaksandr Samuseu staff 20 Aug 2015 at 8:29 a.m. CDT

Aliaksandr Samuseu gravatar
I couldn't reproduce the issue in Gluu CE 2.3.3-1. I was able to enable registration without invitation and register an actual user.

By hudson solomon user 20 Aug 2015 at 8:34 a.m. CDT

hudson solomon gravatar
Hi Samuseu, I am using Gluu-server-2.3.2 Version and there is no issue while i am clicking update button. When i am clicking "Register" button on this page(https://gluutest/identity/home) it throws an error.

By Aliaksandr Samuseu staff 20 Aug 2015 at 8:54 a.m. CDT

Aliaksandr Samuseu gravatar
You should update to the latest release, registration feature is broken in version 2.3.2

By hudson solomon user 20 Aug 2015 at 9:26 a.m. CDT

hudson solomon gravatar
Hi Samuseu, Thank You for your reply.Shall i Update to latest release with same config which i already used.

By Aliaksandr Samuseu staff 20 Aug 2015 at 9:34 a.m. CDT

Aliaksandr Samuseu gravatar
As far as I know, in-place upgrades haven't yet became possible. Unfortunately, you'll have to reinstall. Be advised that a bug has just been discovered in latest Gluu CE 2.3.3-1, which affects authentication against backend directory services, so if you plan to use this feature too, you should wait for updated package. If you are only planning to use local user accounts, you can try it now.