Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: quickstarts
    • Labels:
      None

      Description

      If a user is added by a command mentioned in the README files:

      bin/add-user.sh --user guest --password guestp.1 --realm ApplicationRealm --group guest

      It results in

       * Error * 
      JBAS015281: The user supplied realm name 'ApplicationRealm' does not match the realm name discovered from the property file(s) 'ManagementRealm'.
      
      Exception in thread "main" org.jboss.as.domain.management.security.adduser.AddUserFailedException: JBAS015281: The user supplied realm name 'ApplicationRealm' does not match the realm name discovered from the property file(s) 'ManagementRealm'.
      	at org.jboss.as.domain.management.security.adduser.ErrorState.execute(ErrorState.java:71)
      	at org.jboss.as.domain.management.security.adduser.AddUser.run(AddUser.java:131)
      	at org.jboss.as.domain.management.security.adduser.AddUser.main(AddUser.java:210)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.jboss.modules.Module.run(Module.java:312)
      	at org.jboss.modules.Main.main(Main.java:473)
      

      Correct command for adding of a user to ApplicationRealm is:

      bin/add-user.sh -a --user guest --password guestp.1 --group guest

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                trohovsky Tomas Rohovsky
                Reporter:
                trohovsky Tomas Rohovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: