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

OpenAM 14.0.0 (AM5) ssoadm create-realm error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.1.0
    • Component/s: ssoadm
    • Labels:
    • Sprint:
      AM Sustaining Sprint 37, AM Sustaining Sprint 38
    • Story Points:
      2
    • Support Ticket IDs:

      Description

      When creating a new realm with ssoadm in OpenAM 14.0.0 (AM5) reported exception error.

      Commands:

      ./ssoadm create-realm --realm /Example -u amadmin -f <password file location for amAdmin>  -v
      ./ssoadm create-realm -e /Example -u amadmin -f <password file location for amAdmin>  -v
      

      Output:

      Process Request ...
      Constructing Request Context...
      Validating mandatory options...
      Processing Sub Command ...
      
      Executing class, com.sun.identity.cli.realm.CreateRealm.
      Authenticating...
      Authenticated.
      Exception in thread "main" com.google.inject.ConfigurationException: Guice configuration errors:
      
      1) No implementation for org.forgerock.openam.notifications.NotificationBroker annotated with interface org.forgerock.openam.notifications.LocalOnly was bound.
        while locating org.forgerock.openam.notifications.NotificationBroker annotated with interface org.forgerock.openam.notifications.LocalOnly
      
      1 error
          at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
          at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
          at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:85)
          at com.sun.identity.idm.plugins.internal.AgentsRepo.<init>(AgentsRepo.java:183)
          at com.sun.identity.sm.OrganizationConfigManager.createSubOrganization(OrganizationConfigManager.java:344)
          at com.sun.identity.cli.realm.CreateRealm.handleRequest(CreateRealm.java:86)
          at com.sun.identity.cli.SubCommand.execute(SubCommand.java:296)
          at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:217)
          at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:139)
          at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:581)
          at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:178)
          at com.sun.identity.cli.CommandManager.main(CommandManager.java:155)
      u9503020@forgerock:/opt/forgerock/openam1/tools/admin/AM-5.0.0/bin$
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                simon.wickham Simon Wickham
                QA Assignee:
                Filip Kubáň
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: