Steps to Reset WebLogic password:
1.
Set MW_HOME and DOMAIN_HOME
2.
Go to $DOMAIN_HOME/bin -> ./setDoaminEnv.sh (linux) // setDomainEnv.cmd (Windows)
3.
mv $DOMAIN_HOME/servers/AdminServer/data
$DOMAIN_HOME/servers/AdminServer/data-old
a. <Middleware_Home>\user_projects\domains\base_domain\servers\AdminServer\data\ldap
as it will get recreated once the WebLogic Admin server starts.
4.
set CLASSPATH as well. Ex: export
CLASSPATH=$WLS_HOME/server/lib/weblogic.jar
5.
Go to $DOAMIN/security
6.
mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift
7.
$java weblogic.security.utils.AdminAccount
<weblogic> <Newpassword> . (If java path is not set, then try to
provide java full path location like /app/java/jdk1.6/bin/java etc…)
8.
$DOMAIN_HOME/servers/AdminServer/security/boot.properties (If you
want to set the boot.properties)
a. Username=weblogic
b. Password=Newpassword
9. $DOMAIN_HOME/bin -> ./startWebLogic.sh (Linux) // startWebLogic.cmd (Windows)
No comments:
Post a Comment