Friday, March 28, 2014

Changing weblogic password when password is corrupted

a.    Shut down managed and admin server
b.    cd $MW_HOME/user_projects/domains/base_domain/security
c.     Reset the password  using java command .It modifies file DefaultAuthenticatorInit.ldift

java weblogic.security.utils.AdminAccount weblogic   .

  Don’t forget the period “ .” at the end of the above command, it is required.

d. Rename the data directory(s) to data_bak:
$MW_HOME/user_projects/domains/base_domain/server/AdminServer/data/
$MW_HOME/user_projects/domains/base_domain/server/wls_ods1/data/


*This step will remove all existing users/groups from WebLogic’s embedded LDAP server.
f .  Validate you can log in with the weblogic user.

 g .Go to console -> my realms ->lockout properties and make user weblogic no lockout .

No comments:

Post a Comment