6 Replies Latest reply on Dec 21, 2012 9:19 AM by coolest_head

    JBoss 7.1.1 Domain setup

    gboro54

      I am trying to setup a domain to test the configuration for our prod envrionments. However, I am having difficulty adding a user for the purpose of connecting the slave to the management controller. The steps indicate to add a user via the add-user tool. When I do this I never get asked the question:

       

      Is this new user going to be used for one AS process to connect to another AS process e.g. slave domain controller?

       

      yes/no? y

       

       

      Do I need to do something special to do this?

        • 1. Re: JBoss 7.1.1 Domain setup
          emuckenhuber

          No, usually not. The username needs to match the connecting (slave) host-controller name and then you need to use the base64 encoded password the add-user script gives you to configure the server-identity.

          • 2. Re: JBoss 7.1.1 Domain setup
            gboro54

            Where do I get the base64 password from that is generated by add user?

            • 3. Re: JBoss 7.1.1 Domain setup
              gboro54

              Has anyone been through setting up the domain? Once I get around the add-user part I believe I am all set but I can't figure out how to get that piece of xml...

              • 4. Re: JBoss 7.1.1 Domain setup
                emuckenhuber

                It tells you that if you answer with 'yes' to the question you posted above:

                 

                To represent the user add the following to the server-identities definition <secret value="dGVzdA==" />

                • 5. Re: JBoss 7.1.1 Domain setup
                  gboro54

                  I don't get the question though

                  • 6. Re: JBoss 7.1.1 Domain setup
                    coolest_head

                    I am getting the same issue. Here is the output of my CLI. Any thoughts ?

                    {code:shell}

                    C:\jboss-DOMAIN-7.1.1\bin>add-user.bat

                     

                     

                    What type of user do you wish to add?

                    a) Management User (mgmt-users.properties)

                    b) Application User (application-users.properties)

                    (a):

                     

                     

                    Enter the details of the new user to add.

                    Realm (ManagementRealm) :

                    Username : testslave

                    Password :

                    Re-enter Password :

                    About to add user 'testslave' for realm 'ManagementRealm'

                    Is this correct yes/no? yes

                    Added user 'testslave' to file 'C:\jboss-DOMAIN-7.1.1\domain\configuration\mgmt-users.properties'

                    Press any key to continue . . .

                    {code:shell}