rasti.hil@hilandco.com +41 79 367-9677

reset weblogic password

Backup the WLS Domain
cd $DOMAIN_HOME/..
tar –cvf $DOMAIN_HOME`date +%y%m%d`.tar $DOMAIN_HOME

mv $DOMAIN_HOME/security/DefaultAuthenticatorInit.ldift /tmp/

source /oracle/product/FM/user_projects/domains/PFRDDomain/bin/setDomainEnv.sh


Run the Java command:
java weblogic.security.utils.AdminAccount weblogic pwd $DOMAIN_HOME/security

ls –l $DOMAIN_HOME/security


Delete the contents inside the file [boot.properties] under
ls -l $DOMAIN_HOME/servers/AdminServer/security

Rename/delete the folder:
ls -l $DOMAIN_HOME/servers/AdminServer/data/ldap
rm $DOMAIN_HOME/servers/AdminServer/data/ldap
ls -l $DOMAIN_HOME/servers/AdminServer/data/ldap