Tuesday, November 03, 2015

How to change/create the JBOSS management user

Follow these steps:

open jboss-as-x.x.x.Final\standalone\configuration\mgmt-users.properties and delete the user (i.e delete the line which has the username you want to use, such as admin=XXXXXXXXXXXrty567456)
open jboss-as-x.x.x.Final\domain\configuration\mgmt-users.properties and delete the user (i.e delete the line which has the username you want to use, such as admin=YYYYYYYYYYYfdgd56456)
run jboss-as-x.x.x.Final\bin\add-user.bat and add user in the following way:

3.1 select user type a

3.2 Realm (ManagementRealm) : ManagementRealm

3.3 Username : admin

3.4 Password : password

3.5 Re-enter Password : password

If you get JBAS015243: The user ‘admin’ already exists in at least one properties file. error, please open files like open jboss-as-x.x.x.Final\standalone\configuration\mgmt-users.properties and open jboss-as-x.x.x.Final\domain\configuration\mgmt-users.properties and comment admin user or remove 

No comments: