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

Random "Failed to load Session Server configuration" seen during configuration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 14.0.0
    • Fix Version/s: None
    • Component/s: configurator
    • Labels:
    • Environment:
      14.0.0-SNAPSHOT

      Description

      during AM configuration random errors been seen below:

      12/07/2016 05:57:40:680 PM CET: Configuring system.
      12/07/2016 05:57:41:346 PM CET: ...Done
      12/07/2016 05:57:41:346 PM CET: Configuring server instance.
      12/07/2016 05:57:41:387 PM CET: ...Done
      Configuration Failed.  The server returned error code :500
      

      Configuration log:

      ERROR: Unable to get an instance of plugin for delegation
      com.sun.identity.delegation.DelegationException(1):null
      com.google.inject.ProvisionException(2):Guice provision errors:
      
      1) Error injecting constructor, java.lang.IllegalStateException: Failed to load Session Server configuration
        at com.iplanet.dpro.session.service.SessionServerConfig.<init>(Unknown Source)
        at org.forgerock.openam.session.SessionGuiceModule.configure(SessionGuiceModule.java:131)
        while locating com.iplanet.dpro.session.service.SessionServerConfig
          for parameter 2 at com.iplanet.dpro.session.service.SessionNotificationSender.<init>(Unknown Source)
        at com.iplanet.dpro.session.service.SessionNotificationSender.class(Unknown Source)
        while locating com.iplanet.dpro.session.service.SessionNotificationSender
        at org.forgerock.openam.session.SessionGuiceModule.getSessionEventBroker(Unknown Source)
        at org.forgerock.openam.session.SessionGuiceModule.getSessionEventBroker(Unknown Source)
        while locating com.iplanet.dpro.session.service.InternalSessionEventBroker
          for parameter 2 at com.iplanet.dpro.session.service.SessionService.<init>(Unknown Source)
        at com.iplanet.dpro.session.service.SessionService.class(Unknown Source)
        while locating com.iplanet.dpro.session.service.SessionService
      Caused by: java.lang.IllegalStateException: Failed to load Session Server configuration
      	at com.iplanet.dpro.session.service.SessionServerConfig.<init>(SessionServerConfig.java:93)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:85)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
      	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.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.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.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.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.InjectorImpl$4$1.call(InjectorImpl.java:978)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
      	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
      	at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:80)
      	at com.sun.identity.policy.PolicyEvaluator.getSessionService(PolicyEvaluator.java:2508)
      	at com.sun.identity.policy.PolicyEvaluator.<init>(PolicyEvaluator.java:425)
      	at com.sun.identity.delegation.plugins.DelegationPolicyImpl.initialize(DelegationPolicyImpl.java:167)
      	at com.sun.identity.delegation.DelegationManager.loadDelegationPlugin(DelegationManager.java:432)
      	at com.sun.identity.delegation.DelegationManager.getDelegationPlugin(DelegationManager.java:377)
      	at com.sun.identity.delegation.DelegationManager.<init>(DelegationManager.java:113)
      	at com.sun.identity.delegation.DelegationUtils.copyRealmPrivilegesFromParent(DelegationUtils.java:144)
      	at com.sun.identity.sm.OrganizationConfigManager.createSubOrganization(OrganizationConfigManager.java:405)
      	at com.sun.identity.setup.ConfigureData.createRealm(ConfigureData.java:238)
      	at com.sun.identity.setup.ConfigureData.createRealmAndPolicies(ConfigureData.java:118)
      	at com.sun.identity.setup.ConfigureData.configure(ConfigureData.java:100)
      	at com.sun.identity.setup.AMSetupServlet.processDataRequests(AMSetupServlet.java:1286)
      	at com.sun.identity.setup.AMSetupServlet.configure(AMSetupServlet.java:858)
      	at com.sun.identity.setup.AMSetupServlet.processRequest(AMSetupServlet.java:503)
      	at com.sun.identity.setup.AMSetupServlet.doPost(AMSetupServlet.java:443)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      	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 org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
      	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:125)
      	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:218)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException: Failed to load Session Server configuration
      	at com.iplanet.dpro.session.service.SessionServerConfig.refreshLocalServerID(SessionServerConfig.java:409)
      	at com.iplanet.dpro.session.service.SessionServerConfig.<init>(SessionServerConfig.java:85)
      	... 97 more
      Caused by: com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
      	at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:809)
      	at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:696)
      	at com.iplanet.services.naming.WebtopNaming.getAMServerID(WebtopNaming.java:261)
      	at com.iplanet.dpro.session.service.SessionServerConfig.refreshLocalServerID(SessionServerConfig.java:407)
      	... 98 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              narita.saxena Narita Saxena
              QA Assignee:
              Narita Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: