Hi Chris,
I spoke with our DevOps team and they configured elastic IP address for the box. So, now I have Public IP and public DNS.
I re-installed Gluu Server 3.1.2 and specified those IP and host name during running setup.py.
After all configuration was completed, I tried to access the host: https://<host> on a browser and I got the following error:
HTTP ERROR: 503
Problem accessing /identity/. Reason:
Service Unavailable
I double checked and the service is up and running.
And I don't see any errors in the log files
/opt/gluu/jetty/oxauth/logs/oxauth.log :
2018-05-09 23:17:32,532 INFO [main] [org.jboss.weld.environment.servlet.EnhancedListener] (EnhancedListener.java:58) - WELD-ENV-001008: Initialize Weld using ServletContainerInitializer
2018-05-09 23:17:32,802 INFO [main] [org.jboss.weld.bootstrap.WeldStartup] (WeldStartup.java:146) - WELD-000900: 3.0.0 (Final)
2018-05-09 23:17:33,118 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-5040382597978508932.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-05-09 23:17:33,175 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-5040382597978508932.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-05-09 23:17:33,195 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-5040382597978508932.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-05-09 23:17:33,215 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-5040382597978508932.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-05-09 23:17:33,240 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-5040382597978508932.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-05-09 23:17:33,395 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-05-09 23:17:33,633 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-05-09 23:17:33,667 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-05-09 23:17:33,685 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-05-09 23:17:34,656 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-05-09 23:17:34,784 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-05-09 23:17:34,830 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-05-09 23:17:34,831 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-05-09 23:17:35,172 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-05-09 23:17:35,221 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-05-09 23:17:35,251 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-05-09 23:17:35,283 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-05-09 23:17:35,291 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-05-09 23:17:35,344 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-05-09 23:17:35,985 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-05-09 23:17:35,998 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-05-09 23:17:36,009 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-05-09 23:17:36,031 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-05-09 23:17:36,058 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-05-09 23:17:37,460 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-05-09 23:17:38,012 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:23) - Adding Bouncy Castle Provider
/opt/gluu/jetty/identity/logs/oxtrust.log :
2018-05-09 23:18:28,050 INFO [main] [org.gluu.oxtrust.util.BuildVersion] (BuildVersion.java:82) - Root element :beans
2018-05-09 23:18:28,196 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:23) - Adding Bouncy Castle Provider
2018-05-09 23:18:28,296 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-05-09 23:18:28,309 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:134) - Creating oxTrustConfiguration
2018-05-09 23:18:28,310 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:420) - ########## ldapFileName = /etc/gluu/conf/ox-ldap.properties
Please advise.
Thanks,
Gary