Oracle Weblogic Password Reset method

Source: Internet
Author: User

Original address

    1. Shut down the WebLogic domain, the managed servers, Admin Server and Node Manager.

    1. Set the following environment variables in the command prompt (cmd) to help you navigate easily, in my case for Windows o/ S

    • Set Mw_home=\oracle\middleware\oracle_home

    • Set Domain_home=%mw_home%\user_projects\domains\base_domain
      NB: If you is on Linux O/S, use export instead of set and $MW _home instead of %mw_home%

    1. Rename the Data folder under the AdminServer of the domain to old_data, this is the path: %doma In_home%\servers\adminserver\data

    1. In the same command prompt so opened earlier, set the environment variable of the domain by calling: %domain_hom E%\bin\setdomainenv.cmd or ./setdomainenv.sh in Linux.

    1. In the same command prompt, change directory to security folder: CD%domain_home%\security

    1. Inside the %domain_home%\security directory, move the file "Defaultauthenticatorinit.ldift" to "%domain_ Home%\security\old\"In the next step, the command that we were going to run would create a new file" Defaultauthentica Torinit.ldift "In the Security folder

    1. Run the following command to reset or change admin password:
      Java weblogic.security.utils.AdminAccount WebLogic welcome123.

    • NB: "WebLogic" is User name and "welcome123" are the new password which we need to set.

    • Nb:the DOT at the end of the above command represents the current directory. A new "defaultauthenticatorinit.ldift" file is created in the current directory when you execute the command .

    1. Update the "boot.properties" file under the directory %domain_home%\servers\adminserver\security\ With your username and the new password.

    1. Now start the admin server using the new credentials from %domain_home%\bin\startweblogic.cmd in Windows or . /startweblogic.sh in Linux.

    1. Once The adminserver started, login into the Admin console using the username and the new password

Oracle Weblogic Password Reset method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.