WebLogic Password Reset

Source: Internet
Author: User

Sometimes WebLogic forget the console user password, unable to login to the console, but re-release is not feasible, at this time, you need to password reset, I test weblogic10.3 console password modification, I hope to be helpful to you:

01 Known weblogic console password, reset
1, with the old password login WebLogic console, click on the left menu "Security Area", click on the right pop-up default field: Myrealm, for Myrealm settings, click on "Users and Groups";
Select the user "WebLogic", click "WebLogic" to make the WebLogic settings,
Click "Password" to enter "New password", "Confirm New password" (password requirements can not be less than 8 bits long and contain letters and numbers) Click Save, exit the console;
2, \server\adminserver\security\boot.properties
Change your password to a modified password
Start WebLogic and log in with the password you just modified.

02 Do not know WebLogic console password, to reset

    • Before the operation of the backup, two ways for reference:
      1, backup the entire publishing domain;
      2. You can only back up the publishing domain section file
      \security\
      \server\adminserver\security\
      \server\adminserver\data\

    • Specific operation:
      1, Java environment variable configuration:
      Click Computer-Properties-Advanced system settings, click Environment Variables. Click New under the System Variables column to create a new system environment variable.
      (1) New variable name "Java_home", Variable Value "C:\Java\jdk1.7.0_79" (that is, the JDK installation path)
      (2) Edit, variable name "Path", at the end of the value of the original variable, add ";%java_home%\bin;%java_home%\jre\bin"
      (3) New variable name "CLASSPATH", Variable Value ".; %java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar "

Confirm that the environment is configured correctly: Enter the Java,javac,java-version command in the console, with compiler information for the JDK, including information such as syntax and parameter options for modifying commands.

2. CD to Java Bin directory
Open cmd Command Window
CD C:\Program files\java\jdk1.7.0_79\bin>
3. Regenerate Defaultauthenticatorinit.ldift
3.1 Performing Java-classpath C:\hundsun\BSCC\wlserver_10.3\server\lib\weblogic.jar Weblogic.security.utils.AdminAccount WebLogic WebLogic.
Note: 3.1 At the end of a space + a dot "."
3.2 Copy the Defaultauthenticatorinit.ldift files generated under the C:\Program files\java\jdk1.7.0_79\bin> directory to the \security\ directory of the publishing domain for replacement.
3.3 Remove all files from the \server\adminserver\data\ directory.
3.4 Change the password to the modified password \server\adminserver\security\boot.properties
Modify Boot.properties
Username=weblogic
Password=weblogic

At this time WebLogic Normal startup, the user and password are modified to weblogic/weblogic, normal login WebLogic

WebLogic Password Reset

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.