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