By: Ham Di user 30 Sep 2019 at 1:22 p.m. CDT

4 Responses
Ham Di gravatar
hi community I installed the 4.0 gluu server (beta) on a VM centOS 7 in order to test gluu-radius. After installation I was not able to access the login page. In the container, I checked the services "identity.service" "oxauth.service" "idp.service", all are active. When I roll the windows network diagnostics I get: "resource (gluu-server4) is online, but does not respond to connection attempts" your help will be appreciated /opt/gluu/jetty/identity/logs/oxtrust.log ``` 2019-09-30 14:04:38,703 INFO [main] [org.gluu.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:24) - Adding Bouncy Castle Provider 2019-09-30 14:04:38,971 INFO [main] [org.gluu.oxtrust.util.BuildVersionService] (BuildVersionService.java:80) - Root element :beans 2019-09-30 14:04:38,976 INFO [main] [org.gluu.oxtrust.ldap.service.AppInitializer] (AppInitializer.java:241) - Build date 2019-09-13 19:45. Code revision b221c9dc9fc17e39358ff1eaa1d1a59b8951ad80 on 11.09.2019 @ 19:10:32 UTC. Build 1350 2019-09-30 14:04:39,006 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:141) - Creating oxTrustConfiguration 2019-09-30 14:04:39,135 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:371) - Loading configuration from 'ldap' DB... 2019-09-30 14:04:40,967 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:391) - Failed to create LDAP connection pool! Result code: '81' 2019-09-30 14:04:41,009 WARN [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:395) - Unable to find configuration in LDAP, try to load configuration from file system... 2019-09-30 14:04:41,032 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:327) - Failed to load configuration from /etc/gluu/conf/oxtrust-config.json java.io.FileNotFoundException: File '/etc/gluu/conf/oxtrust-config.json' does not exist 2019-09-30 14:04:41,062 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:314) - Failed to load application configuration from file: /etc/gluu/conf/oxtrust-config.json 2019-09-30 14:04:41,063 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:160) - Failed to load configuration from LDAP. Please fix it!!!. ``` /opt/gluu/jetty/oxauth/logs/oxauth.log ``` 2019-09-30 14:03:38,818 INFO [main] [org.jboss.weld.environment.servlet.EnhancedListener] (EnhancedListener.java:58) - WELD-ENV-001008: Initialize Weld using ServletContainerInitializer 2019-09-30 14:03:38,847 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:149) - WELD-000900: 3.1.1 (Final) 2019-09-30 14:03:39,758 INFO [main] [jboss.weld.environment.deployment.discovery.ReflectionDiscoveryStrategy] (ReflectionDiscoveryStrategy.java:49) - WELD-ENV-000014: Falling back to Java Reflection for bean-discovery-mode="annotated" discovery. Add org.jboss:jandex to the classpath to speed-up startup. 2019-09-30 14:03:40,375 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:231) - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously. 2019-09-30 14:03:40,705 INFO [main] [org.jboss.weld.event.ExtensionObserverMethodImpl] (ExtensionObserverMethodImpl.java:86) - WELD-000411: Observer method [BackedAnnotatedMethod] public org.gluu.service.exception.ExceptionHandlerExtension.processAnnotatedType(@Observes ProcessAnnotatedType<X>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 2019-09-30 14:03:40,719 INFO [main] [org.jboss.weld.event.ExtensionObserverMethodImpl] (ExtensionObserverMethodImpl.java:86) - WELD-000411: Observer method [BackedAnnotatedMethod] public org.gluu.service.security.SecurityExtension.processAnnotatedType(@Observes ProcessAnnotatedType<X>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 2019-09-30 14:03:40,788 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! 2019-09-30 14:03:40,822 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! 2019-09-30 14:03:44,836 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. 2019-09-30 14:03:44,967 WARN [weld-worker-1] [org.jboss.weld.bootstrap.BeanDeployer] (BeanDeployer.java:229) - WELD-000167: Class org.gluu.persist.couchbase.impl.CouchbaseFilterConverter is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean! 2019-09-30 14:03:47,160 INFO [main] [org.gluu.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:24) - Adding Bouncy Castle Provider 2019-09-30 14:03:47,290 INFO [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:369) - Loading configuration from 'ldap' DB... 2019-09-30 14:03:49,627 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:389) - Failed to create LDAP connection pool! Result code: '81' 2019-09-30 14:03:49,642 INFO [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:393) - Unable to find configuration in LDAP, try to load configuration from file system... 2019-09-30 14:03:50,253 WARN [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:480) - /etc/gluu/conf/oxauth-config.json (No such file or directory) java.io.FileNotFoundException: /etc/gluu/conf/oxauth-config.json (No such file or directory) 2019-09-30 14:03:50,255 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:362) - Failed to load configuration from file: /etc/gluu/conf/oxauth-config.json 2019-09-30 14:03:50,255 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:183) - Failed to load configuration from LDAP. Please fix it!!!. ```

By Aliaksandr Samuseu staff 01 Oct 2019 at 11:18 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Ham Di. What is the full name of your Gluu Server instance? `gluu-server4` - is that just it? I needs to be something more or less resembling a real DNS name (even if it's a bogus one, like `gluu.server.private.loc` - you still can make it work by placing an override to `hosts` file of your OS). Make sure the required ports are open at this vm (TCP 443, first of all).

By Ham Di user 02 Oct 2019 at 9:06 a.m. CDT

Ham Di gravatar
Hi Aliaksandr, Yes, the full name of my Gluu server instance is "gluu-server4". I have already added the hostname and the IP address in the hosts file of my operating system. In the configuration of the firewall, I just added the services http and https but this time I had the 503 error /opt/gluu/jetty/identity/logs/oxtrust.log ``` 2019-10-02 09:38:24,168 INFO [main] [org.gluu.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:24) - Adding Bouncy Castle Provider 2019-10-02 09:38:24,705 INFO [main] [org.gluu.oxtrust.util.BuildVersionService] (BuildVersionService.java:80) - Root element :beans 2019-10-02 09:38:24,710 INFO [main] [org.gluu.oxtrust.ldap.service.AppInitializer] (AppInitializer.java:241) - Build date 2019-09-13 19:45. Code revision b221c9dc9fc17e39358ff1eaa1d1a59b8951ad80 on 11.09.2019 @ 19:10:32 UTC. Build 1350 2019-10-02 09:38:24,748 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:141) - Creating oxTrustConfiguration 2019-10-02 09:38:24,903 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:371) - Loading configuration from 'ldap' DB... 2019-10-02 09:38:26,835 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:391) - Failed to create LDAP connection pool! Result code: '81' org.gluu.persist.exception.operation.ConfigurationException: Failed to create LDAP connection pool! Result code: '81' at org.gluu.persist.ldap.impl.LdapEntryManagerFactory.createEntryManager(LdapEntryManagerFactory.java:51) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.persist.ldap.impl.LdapEntryManagerFactory.createEntryManager(LdapEntryManagerFactory.java:23) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.persist.ldap.impl.LdapEntryManagerFactory$Proxy$_$$_WeldClientProxy.createEntryManager(Unknown Source) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.oxtrust.ldap.service.AppInitializer.createPersistenceEntryManager(AppInitializer.java:284) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:103) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:161) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:180) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:102) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.gluu.persist.EntityManager$PersistenceEntryManager$479440844$Proxy$_$$_WeldClientProxy.find(Unknown Source) ~[weld-core-impl-3.1.1.Final.jar:?] at org.gluu.oxtrust.config.ConfigurationFactory.loadConfigurationFromLdap(ConfigurationFactory.java:414) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.loadConfigurationFromLdap(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:373) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.create(ConfigurationFactory.java:159) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.create(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldClientProxy.create(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized(AppInitializer.java:173) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) ~[weld-spi-3.1.Final.jar:3.1.Final] at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) ~[weld-servlet-core-3.1.1.Final.jar:3.1.1.Final] at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) ~[jetty-plus-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:64) ~[jetty-annotations-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:347) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) ~[?:?] at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:510) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:153) ~[?:?] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:172) ~[?:?] at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:436) ~[?:?] at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:65) ~[?:?] 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:145) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:598) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) ~[?:?] at org.eclipse.jetty.server.Server.start(Server.java:418) ~[?:?] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) ~[?:?] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:382) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:1797) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_222] at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1746) [jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.eclipse.jetty.start.Main.invokeMain(Main.java:220) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.start(Main.java:490) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.19.v20190610] 2019-10-02 09:38:26,867 WARN [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:395) - Unable to find configuration in LDAP, try to load configuration from file system... 2019-10-02 09:38:26,874 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:327) - Failed to load configuration from /etc/gluu/conf/oxtrust-config.json java.io.FileNotFoundException: File '/etc/gluu/conf/oxtrust-config.json' does not exist at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:297) ~[commons-io-2.6.jar:2.6] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1805) ~[commons-io-2.6.jar:2.6] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1822) ~[commons-io-2.6.jar:2.6] at org.gluu.oxtrust.config.ConfigurationFactory.loadAppConfFromFile(ConfigurationFactory.java:322) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.reloadAppConfFromFile(ConfigurationFactory.java:308) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.createFromFile(ConfigurationFactory.java:302) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:396) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory.create(ConfigurationFactory.java:159) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.create(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.config.ConfigurationFactory$Proxy$_$$_WeldClientProxy.create(Unknown Source) ~[classes/:?] at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized(AppInitializer.java:173) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) ~[weld-spi-3.1.Final.jar:3.1.Final] at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) ~[weld-servlet-core-3.1.1.Final.jar:3.1.1.Final] at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) ~[jetty-plus-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:64) ~[jetty-annotations-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:347) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) ~[?:?] at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:510) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:153) ~[?:?] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:172) ~[?:?] at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:436) ~[?:?] at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:65) ~[?:?] 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:145) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:598) ~[?:?] at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) ~[?:?] at org.eclipse.jetty.server.Server.start(Server.java:418) ~[?:?] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) ~[?:?] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) ~[?:?] at org.eclipse.jetty.server.Server.doStart(Server.java:382) ~[?:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?] at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:1797) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_222] at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1746) [jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.eclipse.jetty.start.Main.invokeMain(Main.java:220) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.start(Main.java:490) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.19.v20190610] 2019-10-02 09:38:26,905 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:314) - Failed to load application configuration from file: /etc/gluu/conf/oxtrust-config.json 2019-10-02 09:38:26,906 ERROR [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:160) - Failed to load configuration from LDAP. Please fix it!!!. ``` /opt/gluu/jetty/oxauth/logs/oxauth.log ``` 2019-10-02 09:37:19,341 INFO [main] [org.jboss.weld.environment.servlet.EnhancedListener] (EnhancedListener.java:58) - WELD-ENV-001008: Initialize Weld using ServletContainerInitializer 2019-10-02 09:37:19,376 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:149) - WELD-000900: 3.1.1 (Final) 2019-10-02 09:37:20,305 INFO [main] [jboss.weld.environment.deployment.discovery.ReflectionDiscoveryStrategy] (ReflectionDiscoveryStrategy.java:49) - WELD-ENV-000014: Falling back to Java Reflection for bean-discovery-mode="annotated" discovery. Add org.jboss:jandex to the classpath to speed-up startup. 2019-10-02 09:37:20,829 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:231) - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously. 2019-10-02 09:37:21,085 INFO [main] [org.jboss.weld.event.ExtensionObserverMethodImpl] (ExtensionObserverMethodImpl.java:86) - WELD-000411: Observer method [BackedAnnotatedMethod] public org.gluu.service.security.SecurityExtension.processAnnotatedType(@Observes ProcessAnnotatedType<X>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 2019-10-02 09:37:21,133 INFO [main] [org.jboss.weld.event.ExtensionObserverMethodImpl] (ExtensionObserverMethodImpl.java:86) - WELD-000411: Observer method [BackedAnnotatedMethod] public org.gluu.service.exception.ExceptionHandlerExtension.processAnnotatedType(@Observes ProcessAnnotatedType<X>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 2019-10-02 09:37:21,173 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! 2019-10-02 09:37:21,213 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! 2019-10-02 09:37:25,469 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. 2019-10-02 09:37:25,532 WARN [weld-worker-1] [org.jboss.weld.bootstrap.BeanDeployer] (BeanDeployer.java:229) - WELD-000167: Class org.gluu.persist.couchbase.impl.CouchbaseFilterConverter is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean! 2019-10-02 09:37:27,732 INFO [main] [org.gluu.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:24) - Adding Bouncy Castle Provider 2019-10-02 09:37:27,852 INFO [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:369) - Loading configuration from 'ldap' DB... 2019-10-02 09:37:30,469 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:389) - Failed to create LDAP connection pool! Result code: '81' org.gluu.persist.exception.operation.ConfigurationException: Failed to create LDAP connection pool! Result code: '81' at org.gluu.persist.ldap.impl.LdapEntryManagerFactory.createEntryManager(LdapEntryManagerFactory.java:51) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.persist.ldap.impl.LdapEntryManagerFactory.createEntryManager(LdapEntryManagerFactory.java:23) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.persist.ldap.impl.LdapEntryManagerFactory$Proxy$_$$_WeldClientProxy.createEntryManager(Unknown Source) ~[oxcore-persistence-ldap-4.0.rc1.jar:?] at org.gluu.oxauth.service.AppInitializer.createPersistenceEntryManager(AppInitializer.java:336) ~[classes/:?] at org.gluu.oxauth.service.AppInitializer$Proxy$_$$_WeldSubclass.createPersistenceEntryManager(Unknown Source) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:103) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:161) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:180) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:102) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.gluu.persist.EntityManager$PersistenceEntryManager$1948486608$Proxy$_$$_WeldClientProxy.find(Unknown Source) ~[weld-core-impl-3.1.1.Final.jar:?] at org.gluu.oxauth.model.config.ConfigurationFactory.loadConfigurationFromLdap(ConfigurationFactory.java:412) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:371) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.create(ConfigurationFactory.java:182) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.create(Unknown Source) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory$Proxy$_$$_WeldClientProxy.create(Unknown Source) ~[classes/:?] at org.gluu.oxauth.service.AppInitializer.applicationInitialized(AppInitializer.java:169) ~[classes/:?] at org.gluu.oxauth.service.AppInitializer$Proxy$_$$_WeldSubclass.applicationInitialized(Unknown Source) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) ~[weld-spi-3.1.Final.jar:3.1.Final] at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) ~[weld-servlet-core-3.1.1.Final.jar:3.1.1.Final] at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) ~[jetty-plus-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:64) ~[jetty-annotations-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:347) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:510) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:153) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:172) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:436) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:65) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:145) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:598) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.Server.start(Server.java:418) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.Server.doStart(Server.java:382) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:1797) ~[jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_222] at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1746) [jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.eclipse.jetty.start.Main.invokeMain(Main.java:220) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.start(Main.java:490) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.19.v20190610] 2019-10-02 09:37:30,470 INFO [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:393) - Unable to find configuration in LDAP, try to load configuration from file system... 2019-10-02 09:37:30,945 WARN [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:480) - /etc/gluu/conf/oxauth-config.json (No such file or directory) java.io.FileNotFoundException: /etc/gluu/conf/oxauth-config.json (No such file or directory) at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_222] at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:1.8.0_222] at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.8.0_222] at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:766) ~[jackson-core-2.9.9.jar:2.9.9] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2903) ~[jackson-databind-2.9.9.2.jar:2.9.9.2] at org.gluu.oxauth.model.config.ConfigurationFactory.loadConfFromFile(ConfigurationFactory.java:478) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.reloadConfFromFile(ConfigurationFactory.java:356) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.createFromFile(ConfigurationFactory.java:310) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.createFromLdap(ConfigurationFactory.java:394) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory.create(ConfigurationFactory.java:182) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory$Proxy$_$$_WeldSubclass.create(Unknown Source) ~[classes/:?] at org.gluu.oxauth.model.config.ConfigurationFactory$Proxy$_$$_WeldClientProxy.create(Unknown Source) ~[classes/:?] at org.gluu.oxauth.service.AppInitializer.applicationInitialized(AppInitializer.java:169) ~[classes/:?] at org.gluu.oxauth.service.AppInitializer$Proxy$_$$_WeldSubclass.applicationInitialized(Unknown Source) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) ~[cdi-api-2.0.SP1.jar:${parsedVersion.osgiVersion}] at org.jboss.weld.util.Observers.notify(Observers.java:166) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.bootstrap.BeanDeploymentModule.fireEvent(BeanDeploymentModule.java:93) ~[weld-core-impl-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.fireEventForApplicationScope(HttpContextLifecycle.java:161) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.HttpContextLifecycle.contextInitialized(HttpContextLifecycle.java:147) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.module.web.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:105) ~[weld-web-3.1.1.Final.jar:3.1.1.Final] at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34) ~[weld-spi-3.1.Final.jar:3.1.Final] at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:66) ~[weld-servlet-core-3.1.1.Final.jar:3.1.1.Final] at org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140) ~[jetty-plus-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:64) ~[jetty-annotations-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:347) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:854) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) ~[jetty-servlet-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545) ~[jetty-webapp-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:192) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:510) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:153) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:172) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:436) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:65) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:145) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:598) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:240) ~[jetty-deploy-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.Server.start(Server.java:418) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.server.Server.doStart(Server.java:382) ~[jetty-server-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.19.v20190610.jar:9.4.19.v20190610] at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:1797) ~[jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_222] at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1746) [jetty-xml-9.4.19.v20190610.jar:9.4.19.v20190610] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.eclipse.jetty.start.Main.invokeMain(Main.java:220) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.start(Main.java:490) [start.jar:9.4.19.v20190610] at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.19.v20190610] 2019-10-02 09:37:30,954 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:362) - Failed to load configuration from file: /etc/gluu/conf/oxauth-config.json 2019-10-02 09:37:30,954 ERROR [main] [org.gluu.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:183) - Failed to load configuration from LDAP. Please fix it!!!. ```

By Aliaksandr Samuseu staff 02 Oct 2019 at 2:22 p.m. CDT

Aliaksandr Samuseu gravatar
Seems like components can't access LDAP server. You could try to restart it by stoping "opendj" service, and starting it again, but I would still suggest to re-install it with a more appropriate name (not just hostname) provided during `setup.py` phase. Also, please make sure your vm conforms to requirments [here](https://gluu.org/docs/ce/4.0/installation-guide/#system-requirements).

By Ham Di user 03 Oct 2019 at 1:39 p.m. CDT

Ham Di gravatar
Hi Aliaksandr, Thank you for your help, it works now. I gave the hoste an appropriate name "gluu.server.test.loc", i followed the minimum requirments and finally i allowed the http and the https services in the firewall configuration.