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

Various list-xxx ssoadm commands fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: CLI
    • Support Ticket IDs:

      Description

      When attempting to use ssoadm to automate some setup of OpenAM it became clear that a number of the list-xxx commands are not working with the same error message:

      $ ssoadm list-sites -u amadmin -f pwd.txt
      
      Logging configuration class "com.sun.identity.log.s1is.LogConfigReader" failed
      com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
      com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
      

      This appears to apply to:

      • list-servers
      • list-sites
      • list-sessions

      The error message might be a red-herring as it also appears when perform "--help".

      Steps to reproduce

      • Install OpenAM and verify started
      • Install ssoadm
      • execute:
        echo "password" > pwd.txt && chmod 400 pwd.txt && ssoadm list-servers -u amadmin -f pwd.txt
        

      Expected Output

      A listing of the servers in the cluster

      Actual Output

      Output is missing, and errors are reported instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major
                Reporter:
                rwapshott Robert Wapshott
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: