Sometimes you
will find that you have forgot the WebLogic Server Admin User
password, however its simple task if you want to reset it, You just
need to have access to the box where the WebLogic Server is Installed
Follow
the below steps to reset the Admin User Password for WebLogic in
Windows environment.
STEP
: 1 : Navigate to Domain
cd
E:\Oracle\Middleware\user_projects\domains\base_domain\binStep 2 : Set the Domain Environment
E:\Oracle\Middleware\user_projects\domains\base_domain\bin>setDomainEnv.cmd
Step 3: Navigate to Security Directory
E:\Oracle\Middleware\user_projects\domains\base_domain\security
E:\Oracle\Middleware\user_projects\domains\base_domain\security>rename DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift
E:\Oracle\Middleware\user_projects\domains\base_domain\security>java weblogic.security.utils.AdminAccount <username>weblogic <password>Weblogic123 . (space Between Password and Dot)
Notice
that there is a DOT (.) at the end of the command, that notifies that
it will reset the password in current directory, the above command
will create the file DefaultAuthenticatorInit.ldift as below.
E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\security
Edit
the boot.properties file as below and save
it.
password=Weblogic123(Your Required Password)
username=weblogic (Your Required Name )
password=Weblogic123(Your Required Password)
username=weblogic (Your Required Name )
E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\data
E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\data>rename
ldap ldap_old
E:\Oracle\Middleware\user_projects\domains\base_domain\bin>startWebLogic.cmd
No comments:
Post a Comment