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

AM does not properly start up when using FBC without embedded DS running


    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
    • Target Version/s:


      Bug description

      If AM is run using FBC and without a DS config store that it can connect to, AM does not properly start up and errors like this are seen in the logs:

      java.lang.IllegalArgumentException: Not a registered service: interface org.forgerock.openam.oauth2.OAuth2ProviderConfig$Global

      How to reproduce the issue

      1. make sure boot.json does not point at a running DS
      2. configure FBC to use AM (from the AM dockerfile /home/forgerock/openam-fbc for example)
      3. Start AM
      Expected behaviour
      AM starts fine
      Current behaviour
      Errors as above are seen, authentication pages do not respond.

      Code analysis

      When trying to install plugins, AM tries to search both FBC and LDAP for children of ou=services to find if the amPluginService exists. On trying to connect to LDAP, an exception is thrown that is rethrown as a RuntimeException from the PluginLifecycle class.




            • Assignee:
              jamesphillpotts James Phillpotts
              jamesphillpotts James Phillpotts
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: