jboss 7.1 change password

if you want to change jboss 7.1 admin console password, first remove the user and add it again.

  1. open “jboss-as-x.x.x.Final\standalone\configuration\mgmt-users.properties” and delete the user (i.e delete the line such as “admin=2c7123264278731425d1f53aeb55da1e”)
  2. open “jboss-as-x.x.x.Final\domain\configuration\mgmt-users.properties” and delete the user (i.e delete the line such as “admin=2c7123264278731425d1f53aeb55da1e”)
  3. run “jboss-as-x.x.x.Final\bin\add-user.bat” and add user

if you get “JBAS015243: The user ‘admin’ already exists in at least one properties file.” error, it means there is a user with the same username and you didnt do first two steps :)

Advertisements

2 responses to “jboss 7.1 change password

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s