1. Make sure Entire Weblogic domain/Server instances are stopped.
2. Make a backup of the LDAP folder of the admin server and managed server
3. Set your environment variables by below command,
source $DOMAIN_HOME/bin/setDomainEnv.sh
4. cd $DOMAIN_HOME/security
cp -p DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_bkp
java weblogic.security.utils.AdminAccount adminusername new_password .
DefaultAuthenticatorInit.ldift will get updated with new password.
5. You need delete the below ldap file from on admin and managed servers,
cd $DOMAIN_HOME/servers/AdminServer/data/ldap
mv DefaultAuthenticatormyrealmInit.initialized DefaultAuthenticatormyrealmInit.initialized_bkp
do the same for all managed servers.
6. Edit the boot.properties file below location for admin with clear test username/new password
cd $DOMAIN_HOME/servers/AdminServer/security/
7. Start Weblogic Admin Server and see if it work's and then u can start the managed servers.
Every weblogic server admin require this steps thank you for providing sir.
ReplyDeleteRegards,
weblogic admin training online.