Home > how do I?, weblogic > Reset the WebLogic admin password

Reset the WebLogic admin password

I have been configuring WebLogic domains (version 9.2) and came across the situation where I had made a mistake in entering the initial weblogic user password.  This was preventing me from starting up my weblogic instance, as I couldn’t get the password right.  To reset the password, do the following (courtesy of JavaRanch):

Change directory into your domain directory.

Create a new boot.properties file with the contents:

username=weblogic

password=weblogic

Run the reset command for the admin account (the period at the end is required… you may have to include the full path to the jvm and to to the weblogic.jar):

java -cp weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic .

Move the ldap directory to ldap.old (this directory is at <domain>/data/ldap)

Advertisements
Categories: how do I?, weblogic Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: