Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-2431

JASPA: When specifying any agent profile realm, the agent dies on startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0.0, 5.5.0.0
    • Fix Version/s: 5.6.0.0, 5.5.2.0
    • Component/s: J2EE Agents
    • Labels:
    • Sprint:
      2019.2

      Description

      Specify an agent profile realm and the agent will die on startup with this error:

      java.lang.RuntimeException: org.forgerock.agents.exceptions.FatalConfigurationException: AM returned 400(ish) response code on Agent login with URL http://openam.afb.com:8010/openam
      	com.sun.identity.agents.arch.AgentConfiguration.getLocalOrRemoteProperties(AgentConfiguration.java:867)
      	com.sun.identity.agents.arch.AgentConfiguration.firstTimeConfiguration(AgentConfiguration.java:1414)
      	com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:82)
      
      Root Cause
      org.forgerock.agents.exceptions.FatalConfigurationException: AM returned 400(ish) response code on Agent login with URL http://openam.afb.com:8010/openam
      	org.forgerock.agents.rest.ServiceRestClient.login(ServiceRestClient.java:467)
      	org.forgerock.agents.AmInfo.getAppToken(AmInfo.java:101)
      	org.forgerock.agents.AmInfo.getAppToken(AmInfo.java:123)
      	org.forgerock.agents.rest.RESTEndpoint.toString(RESTEndpoint.java:255)
      	org.forgerock.agents.rest.ServiceRestClient.invokeEndpoint(ServiceRestClient.java:732)
      	org.forgerock.agents.rest.ServiceRestClient.getJsonFromEndpoint(ServiceRestClient.java:664)
      	org.forgerock.agents.rest.ServiceRestClient.getAmVersion(ServiceRestClient.java:86)
      	com.sun.identity.agents.arch.CentralizedConfigurationRepository.get(CentralizedConfigurationRepository.java:79)
      	com.sun.identity.agents.arch.AgentConfiguration.getLocalOrRemoteProperties(AgentConfiguration.java:852)
      	com.sun.identity.agents.arch.AgentConfiguration.firstTimeConfiguration(AgentConfiguration.java:1414)
      	com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:82)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tony.bamford Tony Bamford
              Reporter:
              tony.bamford Tony Bamford
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: