4 Replies Latest reply on Dec 3, 2013 10:56 PM by niow ni

    Jboss AS7 admin console not loading

    Neeraj Tati Newbie

      Hi,

          

      I have installed the Jboss application server 7 and configuring it for the first time.

      I am using it on Windows 2003 server.

           

      I have executed the standalone.bat file which has made jboss AS started and I can access the link http://localhost:8080/ which shows me the default jboss page. I have also executed adds-user.bat file to add a management user. Now when I hit http://localhost:9990/console it takes me to http://localhost:9990/console/App.html but this shows me the error "The webconsole could not be loaded. Please refresh this page to start over."

       

      Now I am not able to move further as I am not aware of what needs to be done to start the jboss admin console. I would appreciate  some help here.

           

      Regards,

      Neeraj Tati.

        • 1. Re: Jboss AS7 admin console not loading
          Wolf-Dieter Fink Master

          How do you add a user?

          Can you post the console in/output, and the standalone/configuration/mgmt-users.properties ?

          • 2. Re: Jboss AS7 admin console not loading
            Neeraj Tati Newbie

            Hi Fink,

             

            I am adding a user by executing add-user.bat file present in jboss_home/bin/ directory which adds the user entry in mgmt-user.properties file( located in C:\Temp\jboss-as-7.1.1.Final\standalone\configuration).The content of mgmt-user.properties file is as below:

             

            #

            # Properties declaration of users for the realm 'ManagementRealm' which is the default realm

            # for new AS 7.1 installations. Further authentication mechanism can be configured

            # as part of the <management /> in standalone.xml.

            #

            # Users can be added to this properties file at any time, updates after the server has started

            # will be automatically detected.

            #

            # By default the properties realm expects the entries to be in the format: -

            # username=HEX( MD5( username ':' realm ':' password))

            #

            # A utility script is provided which can be executed from the bin folder to add the users: -

            # - Linux

            # bin/add-user.sh

            #

            # - Windows

            # bin\add-user.bat

            # The following illustrates how an admin user could be defined, this

            # is for illustration only and does not correspond to a usable password.

            #

            #admin=2a0923285184943425d1f53ddd58ec7a

            testuser=f46819a17821f3fcd5b8fb1fa77d02e5

             

            Also, regarding webconsole output, i get only this error message " The webconsole page could not be loaded. Please refresh to start this page.

            • 3. Re: Jboss AS7 admin console not loading
              Wolf-Dieter Fink Master

              If you remove the user 'testuser' from the file and start the console you should see a page with the hint

              "Welcome to AS7, your server is running"

              and a description how to add the user.

               

              After adding the user you will get the login dialog box of the browser.

               

              I suppose you get a different error page that shows connection problems.

              Could you post how you start the server, what version do you use, and whether you start with a fresh unzipped installation?

              • 4. Re: Jboss AS7 admin console not loading
                niow ni Newbie

                     This problem was caused by browser. I had same trouble. change your browser and try again