It's all about Weblogic..!!

May 31, 2010

Steps to reset console password on WLS 8x :

Filed under: * Security — streethawkz @ 6:25 pm

In the example below we are creating a new console user and password in WLS 8x :

Below are the steps for password recovery  :


STEP 1 :  Firstly, Stop the server if running and make sure that weblogic.jar is in the classpath.

STEP 2 : Open a command prompt and navigate to ” D:\bea816\user_projects\domains\mydomain ”  and run “setEnv.cmd “

STEP 3 : Now run the following command :

“Java NewAdminUser NewAdminPassword . “

where ” NewAdminUser ” and ” NewAdminPassword ” are the new user and password you would like to create.

Note : The “ . “ (period) at the end of the command is very important..!! as it tells the command that this should be run in the domain directory.

STEP 4 : The above command creates a file “ DefaultAuthenticatorInit.ldift “ in the domain directory. ( as shown below )



STEP 5 : Delete the file “ DefaultAuthenticatormyrealmInit.initialized “ located in D:\bea816\user_projects\domains\mydomain\myserver\ldap ”

STEP 6 : Clear the contents of file located in ” D:\bea816\user_projects\domains\mydomain “

STEP 7 : Now start the server and login with the new user and password. :)


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

You are commenting using your 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

Create a free website or blog at

%d bloggers like this: