Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12127

Configurator fails if json/authenticate request happens first

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 13.5.0, 13.5.1
    • Fix Version/s: None
    • Component/s: configurator
    • Labels:
      None
    • Environment:
      java version "1.7.0_75"
      apache-tomcat-7.0.57
    • Support Ticket IDs:

      Description

      Bug description

      If incoming requests hit AM before the configurator has a chance to run, installation may fail with "AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token".

      How to reproduce the issue

      1. Deploy openam WAR (in this case 13.5.1).
      2. Submit request to json/authenticate

      curl -v --request POST --header 'X-OpenAM-Username: demo' --header 'X-OpenAM-Password: changeit' --header 'Content-Type: application/json' --data '{}' http://1350.example.com:8080/openam/json/authenticate
      
      <html><head><title>Apache Tomcat/7.0.57 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Servlet.init() for servlet OpenAM threw exception</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>Servlet.init() for servlet OpenAM threw exception</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet.init() for servlet OpenAM threw exception
      	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
      	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      	org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      	org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
      	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      	org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
      	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	java.lang.Thread.run(Thread.java:745)
      </pre></p><p><b>root cause</b> <pre>java.lang.ExceptionInInitializerError
      	org.forgerock.openam.core.guice.CoreGuiceModule$4.get(CoreGuiceModule.java:213)
      	org.forgerock.openam.core.guice.CoreGuiceModule$4.get(CoreGuiceModule.java:211)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:53)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
      	com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:98)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
      	org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:93)
      	org.forgerock.openam.rest.Routers$VersionedResourceRoute.toCollection(Routers.java:828)
      	org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:398)
      	org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:384)
      	org.forgerock.openam.oauth2.rest.OAuth2RestHttpRouteProvider.get(OAuth2RestHttpRouteProvider.java:62)
      	org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:49)
      	org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:33)
      	com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      

      3. Use the wizard with Default Configuration.

      Loading Schema opendj_uma_pending_requests.ldif...Success.
      Loading Schema opendj_oathdevices.ldif...Success.
      Loading Schema opendj_pushdevices.ldif...Success.
      ...Success.
      Reinitializing system properties.AMSetupServlet.processRequest: errorcom.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
              at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:268)
              at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:74)
              at java.security.AccessController.doPrivileged(Native Method)
              at com.iplanet.am.util.SystemProperties.initializeProperties(SystemProperties.java:489)
              at com.sun.identity.setup.AMSetupServlet.reInitConfigProperties(AMSetupServlet.java:1042)
              at com.sun.identity.setup.AMSetupServlet.configure(AMSetupServlet.java:849)
              at com.sun.identity.setup.AMSetupServlet.processRequest(AMSetupServlet.java:500)
              at com.sun.identity.config.DefaultSummary.createDefaultConfig(DefaultSummary.java:128)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.click.util.ClickUtils.invokeMethod(ClickUtils.java:3317)
              at org.apache.click.util.ClickUtils.invokeListener(ClickUtils.java:2088)
              at org.apache.click.control.AbstractControl$1.onAction(AbstractControl.java:228)
              at org.apache.click.ActionEventDispatcher.fireActionEvent(ActionEventDispatcher.java:259)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:236)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:180)
              at org.apache.click.ClickServlet.performOnProcess(ClickServlet.java:746)
              at org.apache.click.ClickServlet.processAjaxPageEvents(ClickServlet.java:1860)
              at org.apache.click.ClickServlet.processPage(ClickServlet.java:559)
              at org.apache.click.ClickServlet.handleRequest(ClickServlet.java:383)
              at org.apache.click.ClickServlet.doGet(ClickServlet.java:276)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:123)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      
      Dumping all configuration parameters...
      

      Catalina.out has:

      INFO: Server startup in 12709 ms
      amSDK:11/21/2017 03:24:23:544 PM GMT: Thread[http-bio-8080-exec-1,5,main]: TransactionId[46ea5056-622a-46a0-9696-a8660fa12d5d-0]
      Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugDirectorynulldebugName='IdRepo', fileCreationTime=01/01/1970 01:00:00:000 AM GMT}
      amSDK:11/21/2017 03:24:23:544 PM GMT: Thread[http-bio-8080-exec-1,5,main]: TransactionId[46ea5056-622a-46a0-9696-a8660fa12d5d-0]
      ERROR: AdminUtils.initialize: Initialize admin info
      com.iplanet.services.ldap.LDAPServiceException: @BASE_DIR@/serverconfig.xml (No such file or directory)
       LDAPServiceException code=19
      	at com.iplanet.services.ldap.DSConfigMgr.getDSConfigMgr(DSConfigMgr.java:171)
      	at com.iplanet.am.util.AdminUtils.initialize(AdminUtils.java:67)
      	at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:60)
      	at com.sun.identity.sm.SMSEntry.initializeProperties(SMSEntry.java:271)
      	at com.sun.identity.sm.SMSEntry.initializeClass(SMSEntry.java:220)
      	at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:215)
      	at org.forgerock.openam.core.guice.CoreGuiceModule$4.get(CoreGuiceModule.java:213)
      	at org.forgerock.openam.core.guice.CoreGuiceModule$4.get(CoreGuiceModule.java:211)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:53)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:98)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
      	at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:93)
      	at org.forgerock.openam.rest.Routers$VersionedResourceRoute.toCollection(Routers.java:828)
      	at org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:398)
      	at org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:384)
      	at org.forgerock.openam.oauth2.rest.OAuth2RestHttpRouteProvider.get(OAuth2RestHttpRouteProvider.java:62)
      	at org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:49)
      	at org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:33)
      	at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      	at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
      	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
      

      Work around

      Block all incoming connections to the container until the configurator has completed.
      There may be other requests, not just json/authenticate, that cause this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andrew.dunn Andrew Dunn [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: