By: Paul Frame user 08 Apr 2015 at 4:35 p.m. CDT

6 Responses
Paul Frame gravatar
Continuation of: https://support.gluu.org/view/maintenance/export-and-import-for-gluu-update/1758 I finally got a working 2.1 CE of Gluu up. I then did as directed, and coppied the contents of /opt/tomcat/conf from the old server to the new server, and imported the users from opendj. Now when I go to the login page, after a redirect or two, I get a white screen of death version of a 404 not found for [mygluudomain.com]/identity/login.htm Have you ever actually tried doing this? Would you like logs? And how much because there are plenty of errors.

By Paul Frame user 08 Apr 2015 at 5:04 p.m. CDT

Paul Frame gravatar
Here is the edited command line of what I did on the new server. - [root@ip ~]# rpm -ivh http://repo.gluu.org/GLUU/centos/6.5/base/x86_64/Packages/gluu-server-2.1.0-0.el6.x86_64.rpm - Retrieving http://repo.gluu.org/GLUU/centos/6.5/base/x86_64/Packages/gluu-server-2.1.0-0.el6.x86_64.rpm - ^[`Preparing... ########################################### [100%] - 1:gluu-server ########################################### [100%] - [root@ip ~]# service gluu-server start - Starting Gluu server, please wait... - - [root@ip ~]# service gluu-server login - gluu-server is running... - logging in... - Welcome to the Gluu Server! - GLUU.[root@ce ~]# cd /install/community-edition-setup/ - GLUU.[root@ce community-edition-setup]# ./setup.py - - Installing Gluu Server... - - For more info see: - ./setup.log - ./setup_error.log - - - ** All clear text passwords contained in ./setup.properties.last. - - Enter IP Address [***.***.***.***] : - Enter hostname [ce.gluu.info] : *****.*****.*** - Enter your city or locality : ********** - Enter your state or province two letter code : ** - Enter two letter Country Code : US - Enter Organization Name : ************* - Enter email address for support at your organization : ****@email.com - Enter maximum RAM for tomcat in MB [1536] : - Optional: enter password for oxTrust and LDAP superuser [**********] : ************* - Update the hostname, hosts, and resolv.conf files? [No] : - Install oxAuth OAuth2 Authorization Server? [Yes] : - Install oxTrust Admin UI? [Yes] : - Install Gluu OpenDJ LDAP Server? [Yes] : - Install Apache HTTPD Server [Yes] : - Install Shibboleth 2 SAML IDP? [No] : - Install Asimba SAML Proxy? [No] : - Install CAS? [No] : - - hostname *****.*****.*** - orgName *********** - os centos - city *********** - state ** - countryCode US - support email ******@email.com - tomcat max ram 1536 - Admin Pass ************ - Modify Networking False - Install oxAuth True - Install oxTrust True - Install LDAP True - Install Apache 2 web server True - Install Shibboleth 2 SAML IDP False - Install Asimba SAML Proxy False - Install CAS False - - - Proceed with these values [Y|n]Y - . . . . . - - Gluu Server installation successful! Point your broswer to https://*********** - - GLUU.[root@ce community-edition-setup]# logout - [root@ip ~]# service gluu-server stop - Shutting down Gluu Server... - Stopping opendj... - OK - Stopping Tomcat... - OK - Stopping Apache... - OK - - ******Uploaded copy of config and ldap backup and unpacked it******** - - [root@ip ~]# cp -Rf opt/tomcat/conf /home/gluu-server/opt/apache-tomcat-7.0.55/ - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/catalina.properties'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/XMLSchema.dtd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/xenc-schema.xsd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/datatypes.dtd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/xmldsig-core-schema.xsd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/saml-schema-assertion-2.0.xsd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/xml.xsd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/schema/saml-schema-metadata-2.0.xsd'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/handler.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/login.config.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/SAML1ArtifactResolutionProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/SAML2SSOProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/ShibbolethSSOProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/SAML2AttributeQueryProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/SAML1AttributeQueryProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/ProfileConfiguration/SAML2ArtifactResolutionProfileConfiguration.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/sp-metadata.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/idp-metadata.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/attribute-resolver.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/relying-party.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/MetadataFilter/requiredValidUntilFilter.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/MetadataFilter/entityRoleWhiteListFilter.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/MetadataFilter/signatureValidationFilter.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/MetadataFilter/validationFilter.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/idp/attribute-filter.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/sp/shibboleth2.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/shibboleth2/sp/attribute-map.xml.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxauth-ldap.properties'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxTrustLogRotationConfiguration.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/context.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/server.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxTrust.properties'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/salt'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxauth-static-conf.json'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxauth-errors.json'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/logging.properties'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/tomcat-users.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/gluuTomcatWrapper.conf'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/web.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/asimba-selector.xml'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/catalina.policy'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/template/conf/oxTrustCacheRefresh-template.properties.vm'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxTrustLdap.properties'? y - cp: overwrite `/home/gluu-server/opt/apache-tomcat-7.0.55/conf/oxauth-config.xml'? y - [root@ip ~]# service gluu-server start - Starting Gluu server, please wait... - [root@ip ~]# service gluu-server login - gluu-server is running... - logging in... - Welcome to the Gluu Server! - GLUU.[root@ce ~]# /opt/opendj/bin/restore \ - > -h localhost \ - > --port 4444 \ - > --bindDN "cn=Directory Manager" \ - > --bindPassword ************ \ - > --backupDirectory /opt/opendj/bak \ - > --backupID ############### \ - > --start 0 - Restore task 20150408204854682 scheduled to start Apr 8, 2015 8:48:54 PM UTC - [root@ip ~]# - ******Waited a while********

By Mohib Zico staff 09 Apr 2015 at 3:16 a.m. CDT

Mohib Zico gravatar
oxauth.log should have the reason of this failure.

By Paul Frame user 09 Apr 2015 at 11:43 a.m. CDT

Paul Frame gravatar
2015-04-09 15:05:18,713 WARN [org.jboss.seam.security.permission.PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required. 2015-04-09 15:05:18,758 INFO [org.xdi.oxauth.service.AppInitializer] Bouncy Castle Provider was added already 2015-04-09 15:05:18,763 DEBUG [org.xdi.oxauth.util.FileConfiguration] Loading '/opt/tomcat/conf/oxauth-ldap.properties' configuration file from config folder 2015-04-09 15:05:18,886 DEBUG [org.xdi.oxauth.util.FileConfiguration] Loading '/opt/tomcat/conf/salt' configuration file from config folder 2015-04-09 15:05:19,367 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Loading configuration from LDAP... 2015-04-09 15:05:19,738 DEBUG [org.xdi.oxauth.service.AppInitializer] Created ldapEntryManager: org.gluu.site.ldap.persistence.LdapEntryManager@6849a97c 2015-04-09 15:05:19,754 WARN [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu 2015-04-09 15:05:19,754 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Unable to find configuration in LDAP, try to create configuration entry in LDAP... 2015-04-09 15:05:20,296 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:100) at org.xdi.oxauth.model.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:172) at org.xdi.oxauth.model.config.ConfigurationFactory.create(ConfigurationFactory.java:107) at org.xdi.oxauth.service.AppInitializer.createApplicationComponents(AppInitializer.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at org.xdi.oxauth.service.AppInitializer_$$_javassist_seam_1.createApplicationComponents(AppInitializer_$$_javassist_seam_1.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) at org.jboss.seam.Component.callComponentMethod(Component.java:2275) at org.jboss.seam.Component.callCreateMethod(Component.java:2198) at org.jboss.seam.Component.newInstance(Component.java:2158) at org.jboss.seam.Component.getInstance(Component.java:2024) at org.jboss.seam.Component.getInstance(Component.java:1986) at org.jboss.seam.Component.getInstance(Component.java:1980) at org.jboss.seam.Component.getInstanceFromFactory(Component.java:2081) at org.jboss.seam.Component.getInstance(Component.java:2014) at org.jboss.seam.Component.getInstance(Component.java:1986) at org.jboss.seam.Component.getInstance(Component.java:1980) at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2375) at org.jboss.seam.Component.getValueToInject(Component.java:2327) at org.jboss.seam.Component.injectAttributes(Component.java:1739) at org.jboss.seam.Component.inject(Component.java:1557) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at org.xdi.oxauth.service.AuthenticationFilterService_$$_javassist_seam_0.init(AuthenticationFilterService_$$_javassist_seam_0.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) at org.jboss.seam.Component.callComponentMethod(Component.java:2275) at org.jboss.seam.Component.callCreateMethod(Component.java:2198) at org.jboss.seam.Component.newInstance(Component.java:2158) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143) at org.jboss.seam.init.Initialization.init(Initialization.java:744) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: Connection exception (Error adding object to directory. LDAP error number 32: Entry ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu cannot be added because its parent entry ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu does not exist in the server) at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:308) at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:89) ... 78 more 2015-04-09 15:05:20,299 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!.

By Mohib Zico staff 09 Apr 2015 at 11:47 a.m. CDT

Mohib Zico gravatar
Paul, Someone else also posted such thing and removed the ticket after some time; I believe at last he was able to make it working. We have updated our CE-CentOS Doc. Can you please try to uninstall your existing Gluu Server and try to reinstall it? Let's try to install Gluu-Server with rpm this time.

By Paul Frame user 09 Apr 2015 at 11:47 a.m. CDT

Paul Frame gravatar
We realized that we didn't quite properly restore the OpenDJ properly the first time.. but we get something similar on our fixed attempt: 2015-04-09 16:40:55,940 DEBUG [org.xdi.oxauth.util.FileConfiguration] Loading '/opt/tomcat/conf/oxauth-ldap.properties' configuration file from config folder 2015-04-09 16:40:56,074 DEBUG [org.xdi.oxauth.util.FileConfiguration] Loading '/opt/tomcat/conf/salt' configuration file from config folder 2015-04-09 16:40:56,493 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Loading configuration from LDAP... 2015-04-09 16:40:56,836 DEBUG [org.xdi.oxauth.service.AppInitializer] Created ldapEntryManager: org.gluu.site.ldap.persistence.LdapEntryManager@4c44b88a 2015-04-09 16:40:56,846 WARN [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu 2015-04-09 16:40:56,846 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Unable to find configuration in LDAP, try to create configuration entry in LDAP... 2015-04-09 16:40:57,371 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:100) at org.xdi.oxauth.model.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:172) at org.xdi.oxauth.model.config.ConfigurationFactory.create(ConfigurationFactory.java:107) at org.xdi.oxauth.service.AppInitializer.createApplicationComponents(AppInitializer.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at org.xdi.oxauth.service.AppInitializer_$$_javassist_seam_1.createApplicationComponents(AppInitializer_$$_javassist_seam_1.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) at org.jboss.seam.Component.callComponentMethod(Component.java:2275) at org.jboss.seam.Component.callCreateMethod(Component.java:2198) at org.jboss.seam.Component.newInstance(Component.java:2158) at org.jboss.seam.Component.getInstance(Component.java:2024) at org.jboss.seam.Component.getInstance(Component.java:1986) at org.jboss.seam.Component.getInstance(Component.java:1980) at org.jboss.seam.Component.getInstanceFromFactory(Component.java:2081) at org.jboss.seam.Component.getInstance(Component.java:2014) at org.jboss.seam.Component.getInstance(Component.java:1986) at org.jboss.seam.Component.getInstance(Component.java:1980) at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2375) at org.jboss.seam.Component.getValueToInject(Component.java:2327) at org.jboss.seam.Component.injectAttributes(Component.java:1739) at org.jboss.seam.Component.inject(Component.java:1557) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at org.xdi.oxauth.service.AuthenticationFilterService_$$_javassist_seam_0.init(AuthenticationFilterService_$$_javassist_seam_0.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) at org.jboss.seam.Component.callComponentMethod(Component.java:2275) at org.jboss.seam.Component.callCreateMethod(Component.java:2198) at org.jboss.seam.Component.newInstance(Component.java:2158) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143) at org.jboss.seam.init.Initialization.init(Initialization.java:744) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: Connection exception (Error adding object to directory. LDAP error number 32: The provided entry ou=oxauth,ou=configuration,inum=@!EFFF.B1B1.3648.3021!0002!6CFB.83A5,ou=appliances,o=gluu cannot be added because its suffix is not defined as one of the suffixes within the Directory Server) at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:308) at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:89) ... 78 more 2015-04-09 16:40:57,374 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!.

By Paul Frame user 10 Apr 2015 at 4:36 p.m. CDT

Paul Frame gravatar
Good news. Finally got it to work. We'll be putting together a script for it and reporting back in a few days.