WebLogic 10.3 Forgot Password

Source: Internet
Author: User
Tags stop script

WebLogic Console Forgot Password problem solving method

facing the problem: Weblogic 10.3.2, someone else installs the Weblogic, now want to modify the next JDBC configuration, do not know the console password.

Workaround: Add a new administrative user, log in to console, and then modify the old user's password.

Steps to resolve:

1. Back up the Boot.properties file and the Defaultauthenticatorinit.ldift file. It is also possible to recover when the subsequent operation cannot be implemented. The specific path is based on the installation directory of the WebLogic, which can be used when the find

2. Stop WebLogic Applications

3. Switch to the directory where your WebLogic domain is located (the directory where the start Stop script is located) execute the following command:

Java-cp/letv/oracle/weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount test test .

(/letv/oracle/weblogic/wlserver_10.3/server/lib/weblogic.jar is adjusted according to the installation directory of WebLogic; Note that there is a point at the end, there is a space before the dot, not the same as the original)

After successful execution, generate Defaultauthenticatorinit.ldift in the current directory, overwriting the file under./servers/adminserver/data/ldap

4. Delete the two files of defaultauthenticatormyrealminit.initialized and boot.properties. The specific path is based on the installation directory of the WebLogic, which can be used when the find

5. Start WebLogic in the foreground, because you need to enter the username and password to start the user name is test, the password is test, it should be bootable

6. Log in to the management console with the new username password, click "Myrealm" in the "security field", in the user and group, find the previous user, change the password, save, then you can continue to use the original username and password login

7. The user password in the new boot.properties is in the format of the user password (clear text) that was modified in the previous step

Username= User Name
password= Password

8. Restart WebLogic application, now do not enter the user name password, after the successful start, WebLogic will encrypt the user password, now you can log in with the old user, the new management user can delete

WebLogic 10.3 Forgot Password

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.