Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the default admin console password for Jboss EAP 6

what is the default admin console password for Jboss EAP 6..?

Its not allowing me to see the administration console without password. And I can't find the configuration page also.

Please advice.

like image 721
Madhan Avatar asked Apr 07 '14 15:04

Madhan


People also ask

How do I open JBoss EAP admin console?

You can access it at the https://localhost:9990/console as configured in your standalone. xml / domain.

How do I log into JBoss admin console?

Accessing the Console. Once the server is started, simply point your browser to http://localhost:8080/ and then choose the Admin Console link from the list.

How do I reset my JBoss EAP admin password?

To change the password use the add-user.sh utility in the bin directory. You will be prompted for the username and if you enter an existing one (e.g. admin) you will be allowed to change the password.


3 Answers

  1. go to JBOSS_HOME\bin, run the add-user script, add an Management User

    What type of user do you wish to add?

    a) Management User (mgmt-users.properties)

    b) Application User (application-users.properties)

    (a): a

    Enter the details of the new user to add.

    Realm (ManagementRealm) : ManagementRealm

    Username : yourname

    Password : yourpassword

  2. you will get an secret value after you add the user successfully

    To represent the user add the following to the server-identities definition <secret value="*somevalue*" />
    
  3. add this secret to the JBOSS_HOME\domain\configuration\host.xml

    <security-realm name="ManagementRealm">
        <authentication>
            <local default-user="$local" />
            <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
        </authentication>
        <server-identities>
            <secret value="*somevalue*" />
        </server-identities>
    </security-realm> 
    
  4. you can login to the admin console use that new added username and password

like image 104
Jane Avatar answered Nov 02 '22 11:11

Jane


You need to add a user to access the admin console in JBoss, to do so..

  1. go to JBOSS_HOME\bin
  2. run the add-user script
  3. add as a management user.

You are ready to go and access the admin console at http://{localhost:9990}. Hope it helps.

like image 38
amitsalyan Avatar answered Nov 02 '22 10:11

amitsalyan


As mentioned before, there is no default value, you just have to create it by Invoking the add-user.sh or add-user.bat script.

Here you will find the documentation from Redhat... which is basically what the above answers stated... I would like just to highlight the step 3 on the documentation:

3. Choose the realm for the user.

The next prompt refers to the realm where the user will be added. For a user with permissions to manage JBoss Enterprise Application Platform 6, choose the default, which is ManagementRealm.

If you need access to the console, just leave the default realm.

like image 4
Marco Vargas Avatar answered Nov 02 '22 12:11

Marco Vargas