6 Replies Latest reply on Jan 19, 2017 8:50 AM by fredand44

    How to log in to admin console?

    fredand44

      Hello!

       

      We are using JBoss 6.4.

      I need to use the admin console.

      I managed to create a user after following the instructions at:

      https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Installation_Guide/chap-Getting_Started_with_JBoss_Enterprise_Application_Platform_6.html

       

      I have tried both a and b-type-users, and also let them be in role "guest" and "PowerUser" and no role at all.

      I also used an easy password like 1234qwer!

      I also see that the user occurs in the diffrent *user.properties files depending on the a and b-type-users.

       

      I managed to change the IP for my JBoss so I could access the admin console from outside the server-machine.

      I can see in the log that the admin console should be available at:

      http://123.1.2.3:9990

       

      When I access from my browser it asks for username and password.

      But I never get pass the popup.

       

      Do you guys see any mistakes?

       

      Best regards

      Fredrik

        • 1. Re: How to log in to admin console?
          fredand44

          Hello!

           

          I just found out that our JBoss 6 where we have this problem is built on RHEL. I'm not sure what RHEL means but I guess it differs from a plain JBoss 6. Because when I do the same (set up a user and log in to admin-console) on my local machine with a JBoss 6 it works fine.

           

          Hope this is a clue for someone to perhaps have a hint for me.

           

          Best regards

          Fredrik

          • 2. Re: How to log in to admin console?
            fredand44

            Aha! RHEL looks like it stands for: Red Hat Enterprise Linux

            ...but does that JBoss differ so much from a plain JBoss?

            Best regards

            Fredrik

            • 3. Re: How to log in to admin console?
              mayerw01

              To log in to the admin console you need to create a Management-User (mgmt-users.properties). You should also not assign any role to this user.

              I'd suggest that you execute add-user.sh again.

              • 4. Re: How to log in to admin console?
                fredand44

                Hello!

                Thanks for your reply!

                I suspect that the problem is that when I execute add-user.sh from:

                /opt/jboss/jboss-eap-6.4/bin.

                ...then it writes to files in:

                /opt/jboss/jboss-eap-6.4/standalone/configuration

                /opt/jboss/jboss-eap-6.4/domain/configuration

                 

                But it looks like (perhaps since we use RHEL) it should write to files in:

                /usr/local/limbo/jboss/configuration

                 

                We have some guys that have set this up for us, I will try to ask them how run add-user correct this.
                I guess that the use of /usr/local/limbo/jboss might not be standard, perhaps it just applies to us?
                I get back as soon as I can.
                If you got any suggestions please let me know!
                Best regards
                Fredrik
                • 5. Re: How to log in to admin console?
                  manu29585

                  In essence, you should be able to login to JMX-console: https://<server-ip>/jmx-console.

                  I'm assuming your question is related to logging into JMX console for management.

                  Navigate to $JBOSS_HOME/server/default/conf/props and look for jmx-console-users.properties

                  Here by default, this will have admin=admin entry which is a property for username=password

                  Also. under the same folder, you'll find jmx-console-roles.properties and check if for the user admin, whether you have JBossAdmin role or not.

                  • 6. Re: How to log in to admin console?
                    fredand44

                    Hello!

                    It turned out that I needed to pass the filepath as parametrar to add-usel.sh.

                    Best regards

                    Fredrik