By: Josh Newlin user 17 Aug 2018 at 1:47 p.m. CDT

10 Responses
Josh Newlin gravatar
Hey guys, I made a post a while ago about changing the url of the server, and I was provided[ this url](https://github.com/GluuFederation/community-edition-setup/tree/master/static/scripts/change_hostname) to do the changes. I've done so, and updated my certs to make sure the server is https and valid. However, after making these changes, I get a 503 and it seems oxauth and identity are not starting correctly. I'd appreciate any help with this, I know it's probably not easy to look at these logs, but here's what I get when I attempt to start oxauth: ``` 2018-08-17 18:32:39.993:INFO:oejs.Server:main: jetty-9.3.15.v20161220 2018-08-17 18:32:40.018:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///opt/gluu/jetty/oxauth/webapps/] at interval 1 2018-08-17 18:32:47.813:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=7174ms 2018-08-17 18:32:47.909:WARN:oeja.WebServletAnnotation:main: org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher defines neither @WebServlet.value nor @WebServlet.urlPatterns 2018-08-17 18:32:48,844 INFO [main] [org.jboss.weld.environment.servlet.EnhancedListener] (EnhancedListener.java:58) - WELD-ENV-001008: Initialize Weld using ServletContainerInitializer 2018-08-17 18:32:48,868 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:146) - WELD-000900: 3.0.0 (Final) 2018-08-17 18:32:49,490 WARN [main] [org.jboss.weld.xml.BeansXmlHandler] (BeansXmlHandler.java:397) - WELD-001208: Error when validating file:/opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/classes/META-INF/beans.xml@6 against xsd. cvc-complex-type.4: Attribute 'bean-discovery-mode' must appear on element 'beans'. 2018-08-17 18:32:49,534 WARN [main] [org.jboss.weld.xml.BeansXmlHandler] (BeansXmlHandler.java:397) - WELD-001208: Error when validating jar:file:/opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/lib/oxcore-service-3.1.2.Final.jar!/META-INF/beans.xml@6 against xsd. cvc-complex-type.4: Attribute 'bean-discovery-mode' must appear on element 'beans'. 2018-08-17 18:32:49,547 WARN [main] [org.jboss.weld.xml.BeansXmlHandler] (BeansXmlHandler.java:397) - WELD-001208: Error when validating jar:file:/opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/lib/oxcore-jsf-util-3.1.2.Final.jar!/META-INF/beans.xml@6 against xsd. cvc-complex-type.4: Attribute 'bean-discovery-mode' must appear on element 'beans'. 2018-08-17 18:32:49,582 WARN [main] [org.jboss.weld.xml.BeansXmlHandler] (BeansXmlHandler.java:397) - WELD-001208: Error when validating jar:file:/opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/lib/oxcore-server-3.1.2.Final.jar!/META-INF/beans.xml@6 against xsd. cvc-complex-type.4: Attribute 'bean-discovery-mode' must appear on element 'beans'. 2018-08-17 18:32:49,603 WARN [main] [org.jboss.weld.xml.BeansXmlHandler] (BeansXmlHandler.java:397) - WELD-001208: Error when validating file:/opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/classes/META-INF/beans.xml@6 against xsd. cvc-complex-type.4: Attribute 'bean-discovery-mode' must appear on element 'beans'. 2018-08-17 18:32:49,763 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:220) - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously. 2018-08-17 18:32:49,992 INFO [main] [org.jboss.weld.event.ExtensionObserverMethodImpl] (ExtensionObserverMethodImpl.java:86) - WELD-000411: Observer method [BackedAnnotatedMethod] public org.xdi.service.security.SecurityExtension.processAnnotatedType(@Observes ProcessAnnotatedType<X>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 2018-08-17 18:32:50,014 WARN [main] [org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl] (BeforeBeanDiscoveryImpl.java:118) - WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor is deprecated from CDI 1.1! 2018-08-17 18:32:50,041 WARN [main] [org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl] (BeforeBeanDiscoveryImpl.java:118) - WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1! 2018-08-17 18:32:51,168 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.model.token.TokenParamsValidator$1) without a constructor 2018-08-17 18:32:51,227 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.service.SessionIdService$1) without a constructor 2018-08-17 18:32:51,255 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.model.common.AuthorizationGrantList$1) without a constructor 2018-08-17 18:32:51,297 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.idgen.ws.rs.InumGenerator$1) without a constructor 2018-08-17 18:32:51,305 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.uma.service.UmaValidationService$2) without a constructor 2018-08-17 18:32:51,362 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.model.registration.RegisterParamsValidator$1) without a constructor 2018-08-17 18:32:52,033 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.model.authorize.ClaimValue$1) without a constructor 2018-08-17 18:32:52,049 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.audit.debug.wrapper.RequestWrapper$1) without a constructor 2018-08-17 18:32:52,063 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.oxauth.service.GrantService$4) without a constructor 2018-08-17 18:32:52,083 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.gluu.oxserver.filters.AbstractCorsFilter$1) without a constructor 2018-08-17 18:32:52,135 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.service.metric.LdapEntryReporter$1) without a constructor 2018-08-17 18:32:52,275 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.service.cache.RedisProviderFactory$1) without a constructor 2018-08-17 18:32:52,307 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.service.cache.CacheProviderFactory$1) without a constructor 2018-08-17 18:32:52,309 WARN [main] [org.jboss.weld.annotated.AnnotatedTypeValidator] (AnnotatedTypeValidator.java:82) - WELD-001116: AnnotatedType ([BackedAnnotatedType] static class org.xdi.service.PythonService$1) without a constructor 2018-08-17 18:32:52,375 INFO [main] [org.jboss.weld.environment.jetty.JettyContainer] (JettyContainer.java:77) - WELD-ENV-001200: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer. 2018-08-17 18:32:53,354 WARN [weld-worker-2] [org.jboss.weld.bootstrap.Validator] (Validator.java:443) - WELD-001440: Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [UnbackedAnnotatedField] @Inject @ApplicationScoped private org.xdi.service.cache.CacheProviderFactory.instance at org.xdi.service.cache.CacheProviderFactory.instance(CacheProviderFactory.java:0) StackTrace 2018-08-17 18:32:53,846 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:23) - Adding Bouncy Castle Provider 2018-08-17 18:33:24.653:WARN:oeja.ServletContainerInitializersStarter:main: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.xdi.oxauth.service.AppInitializer.createConnectionProvider(AppInitializer.java:331) at org.xdi.oxauth.service.AppInitializer.applicationInitialized(AppInitializer.java:167) at org.xdi.oxauth.service.AppInitializer$Proxy$_$$_WeldSubclass.applicationInitialized(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:63) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) 2018-08-17 18:33:24.654:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@3abbfa04{/oxauth,[file:///opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/lib/oxauth-static-3.1.2.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-4152420700630179073.dir/webapp/WEB-INF/lib/jsf-impl-2.2.14.jar!/META-INF/resources],UNAVAILABLE}{/oxauth.war} java.lang.RuntimeException: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:68) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) Caused by: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.xdi.oxauth.service.AppInitializer.createConnectionProvider(AppInitializer.java:331) at org.xdi.oxauth.service.AppInitializer.applicationInitialized(AppInitializer.java:167) at org.xdi.oxauth.service.AppInitializer$Proxy$_$$_WeldSubclass.applicationInitialized(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:63) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) 2018-08-17 18:33:24.661:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.ContextHandler@6adee80f{/oxauth/ext/resources,null,AVAILABLE} 2018-08-17 18:33:24.679:INFO:oejs.AbstractConnector:main: Started ServerConnector@265ef3d0{HTTP/1.1,[http/1.1]}{localhost:8081} 2018-08-17 18:33:24.681:INFO:oejs.Server:main: Started @45408ms ``` And here's the oxtrust log: ``` 2018-08-17 18:36:35.471:INFO:oejs.Server:main: jetty-9.3.15.v20161220 2018-08-17 18:36:35.495:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///opt/gluu/jetty/identity/webapps/] at interval 1 2018-08-17 18:36:44.309:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=7960ms 2018-08-17 18:36:44.383:WARN:oeja.WebServletAnnotation:main: org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher defines neither @WebServlet.value nor @WebServlet.urlPatterns Aug 17, 2018 6:36:44 PM org.richfaces.webapp.ResourceServletContainerInitializer registerServlet INFO: Auto-registered servlet ResourceServlet with mapping '/org.richfaces.resources/*' 2018-08-17 18:36:51,779 INFO [main] [org.gluu.oxtrust.util.BuildVersion] (BuildVersion.java:82) - Root element :beans 2018-08-17 18:36:52,108 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:23) - Adding Bouncy Castle Provider 2018-08-17 18:36:52,246 INFO [main] [org.gluu.oxtrust.ldap.service.AppInitializer] (AppInitializer.java:275) - Build date 2018-01-18 09:51. Code revision 9de781cd23764ec11b234af65cd055d159a83877 on ${git.commit.time}. Build 1492 2018-08-17 18:36:52,265 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:134) - Creating oxTrustConfiguration 2018-08-17 18:36:52,265 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:420) - ########## ldapFileName = /etc/gluu/conf/ox-ldap.properties 2018-08-17 18:37:22.600:WARN:oeja.ServletContainerInitializersStarter:main: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.gluu.oxtrust.ldap.service.AppInitializer.createConnectionProvider(AppInitializer.java:285) at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized(AppInitializer.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:63) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) 2018-08-17 18:37:22.606:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@13deb50e{/identity,[file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/jsf-impl-2.2.14.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/richfaces-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/oxtrust-static-3.1.2.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/richfaces-a4j-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/richfaces-core-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-2735433863755486457.dir/webapp/WEB-INF/lib/omnifaces-2.6.6.jar!/META-INF/resources],UNAVAILABLE}{/identity.war} java.lang.RuntimeException: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:68) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) Caused by: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.gluu.oxtrust.ldap.service.AppInitializer.createConnectionProvider(AppInitializer.java:285) at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized(AppInitializer.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:63) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:330) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:214) at org.eclipse.jetty.start.Main.start(Main.java:457) at org.eclipse.jetty.start.Main.main(Main.java:75) 2018-08-17 18:37:22.620:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.ContextHandler@42cb71f9{/identity/ext/resources,null,AVAILABLE} 2018-08-17 18:37:22.637:INFO:oejs.AbstractConnector:main: Started ServerConnector@1df41490{HTTP/1.1,[http/1.1]}{localhost:8082} 2018-08-17 18:37:22.644:INFO:oejs.Server:main: Started @47836ms ``` Any reason why this is happening? Here's what my screen looks like when attempting to load the url: https://i.imgur.com/uEncwjY.png Anything else I need to supply? Thanks, guys

By Aliaksandr Samuseu staff 17 Aug 2018 at 5:18 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Josh. What is your current contents of `/etc/hosts` file inside container? Did you try to restart the container, or all services inside it? Actually, first restarting LDAP server's service, then `oxauth`, then `identity`, then `idp` should do. Please give it a try.

By Aliaksandr Samuseu staff 17 Aug 2018 at 5:47 p.m. CDT

Aliaksandr Samuseu gravatar
Please also run this inside container and share output here (assuming you use OpenDJ as LDAP server there): ``` # keytool -list -v -keystore /opt/opendj/config/keystore -storepass `cat /opt/opendj/config/keystore.pin` | grep 'SHA1\:\ '; echo ---; keytool -list -v -keystore /opt/jdk1.8.0_112/jre/lib/security/cacerts -storepass changeit | grep -i -C 7 opendj | grep 'SHA1\:\ '; echo ---; openssl x509 -in /etc/certs/opendj.crt -fingerprint -text -noout | grep 'SHA1\ ' ```

By Josh Newlin user 20 Aug 2018 at 11:52 a.m. CDT

Josh Newlin gravatar
I reverted back to a previous version of our server for the weekend, but I plan on attempting this again either today or tomorrow. I did restart oxauth, identity, and apache, but not the ldap service. However, I did restart the Gluu server, which I thought would do a full restart. I will print that output once I try the change again, but hopefully your first reply will fix the issue, so I don't have to! I'll update this ticket once I get to that point. Thanks! Josh N.

By Josh Newlin user 20 Aug 2018 at 12:57 p.m. CDT

Josh Newlin gravatar
By the way, when I attempt to restart the `idp` service, I get this error: `[root@roush-radar-flm ~]# service idp stop` `Redirecting to /bin/systemctl stop idp.service` `Failed to stop idp.service: Unit idp.service not loaded.` It seems there is no idp service (this is on a working server, btw). Thanks!

By Michael Schwartz Account Admin 20 Aug 2018 at 1:16 p.m. CDT

Michael Schwartz gravatar
I'm a little lost on what you need. Is your plan to re-install with the IDP component? Do you need this ticket to stay open? Or do you want to open a new issue at some later point?

By Josh Newlin user 20 Aug 2018 at 1:29 p.m. CDT

Josh Newlin gravatar
Michael, I was hoping to build off of this ticket. I originally tried to change the url in my original post of this ticket. I ran into the issues which I posted above, but it was something I couldn't leave broken over the weekend. So, we reverted the Gluu server to a previous snapshot and were going to attempt this hostname migration tomorrow. I was hoping to use this ticket in case I ran into the same issue, because I'm not sure what was proposed by Aliaksandr would fix the issue. I hope it does, but I wanted to have an avenue to communicate what Aliaksandr asked for in his second response if necessary. The IDP component was just a tidbit of info, since Aliaksandr said to restart those services in that order. I wanted to alert him about the service not existing, and if that would cause any issues. I'm sorry about any confusion, the question was and remains to be what my original post was about. I haven't attempted to migrate the hostname since Friday, so I was going to attempt it again with the information Aliaksandr provided, and reply with my findings. Thanks! Josh N.

By Josh Newlin user 21 Aug 2018 at 8:38 a.m. CDT

Josh Newlin gravatar
All, The opendj service seems to time out after the hostname migration. I attempted to restart opendj by `service opendj restart` but it times out. So, I went to `/opt/opendj/bin/` in my Gluu chroot and did `stop-ds`, which it was already stopped. When I did `./start-ds`, here's the output: ``` [21/Aug/2018:13:29:14 +0000] category=CORE severity=NOTICE msgID=org.opends.messages.core.134 msg=Gluu-OpenDJ 3.0.0-gluu (build 20160411065835, revision number dd9dedab5172885f14f0929682570c573d0c2b7b) starting up [21/Aug/2018:13:29:17 +0000] category=UTIL severity=NOTICE msgID=org.opends.messages.runtime.21 msg=Installation Directory: /opt/opendj [21/Aug/2018:13:29:17 +0000] category=UTIL severity=NOTICE msgID=org.opends.messages.runtime.23 msg=Instance Directory: /opt/opendj [21/Aug/2018:13:29:17 +0000] category=UTIL severity=NOTICE msgID=org.opends.messages.runtime.17 msg=JVM Information: 1.8.0_112-b15 by Oracle Corporation, 64-bit architecture, 1823473664 bytes heap size [21/Aug/2018:13:29:17 +0000] category=UTIL severity=NOTICE msgID=org.opends.messages.runtime.18 msg=JVM Host: dev.iam.roush.onclearobject.com, running Linux 3.10.0-862.el7.x86_64 amd64, 8202039296 bytes physical memory size, number of processors available 2 [21/Aug/2018:13:29:17 +0000] category=UTIL severity=NOTICE msgID=org.opends.messages.runtime.19 msg=JVM Arguments: "-Dorg.opends.server.scriptName=start-ds" [21/Aug/2018:13:29:18 +0000] category=PLUGGABLE severity=NOTICE msgID=org.opends.messages.backend.513 msg=The database backend site containing 2 entries has started [21/Aug/2018:13:29:19 +0000] category=PLUGGABLE severity=NOTICE msgID=org.opends.messages.backend.513 msg=The database backend userRoot containing 11591 entries has started [21/Aug/2018:13:29:19 +0000] category=EXTENSIONS severity=NOTICE msgID=org.opends.messages.extension.221 msg=DIGEST-MD5 SASL mechanism using a server fully qualified domain name of: localhost The timeout of '200' seconds to start the server has been reached. You can use the argument '--timeout' to increase this timeout ``` From what I understand, this is missing the step where it says: ``` category=PROTOCOL severity=NOTICE msgID=org.opends.messages.protocol.276 msg=Started listening for new connections on Administration Connector 0.0.0.0 port 4444 category=PROTOCOL severity=NOTICE msgID=org.opends.messages.protocol.276 msg=Started listening for new connections on LDAPS Connection Handler 0.0.0.0 port 1636 ``` Then it would successfully start. Any ideas? Josh N.

By Josh Newlin user 21 Aug 2018 at 8:56 a.m. CDT

Josh Newlin gravatar
Also, Here's the output of the line you asked for, Aliaksandr. ``` -bash-4.2# /opt/jre/jre/bin/keytool -list -v -keystore /opt/opendj/config/keystore -storepass `cat /opt/opendj/config/keystore.pin` | grep 'SHA1\:\ '; echo ---; /opt/jre/jre/bin/keytool -list -v -keystore /opt/jdk1.8.0_112/jre/lib/security/cacerts -storepass changeit | grep -i -C 7 opendj | grep 'SHA1\:\ '; echo ---; openssl x509 -in /etc/certs/opendj.crt -fingerprint -text -noout | grep 'SHA1\ ' SHA1: 01:8C:23:1F:48:29:46:83:64:41:BB:DE:F1:78:AB:47:B3:F0:F3:96 --- --- SHA1 Fingerprint=69:7A:F4:81:5B:34:3A:09:85:C5:72:60:08:77:B4:30:1B:99:61:60 ```

By Josh Newlin user 21 Aug 2018 at 10:22 a.m. CDT

Josh Newlin gravatar
Also, how feasible is it to migrate all user data, custom attributes, and other ldap configuration to a fresh gluu install? Instead of running into issues attempting to modify a current gluu server, would it be easier to install a new version and migrate all data from the pre-existing one to it? Thanks, Josh N.

By Michael Schwartz Account Admin 21 Aug 2018 at noon CDT

Michael Schwartz gravatar
Please open a new issue on this question. The subject of the issue needs to match the request, or it's very hard for us to manage. After you open an issue with the appropriate title, we can assign it to the right resource.