WebLogic Forget the user name or password solution __web

Source: Internet
Author: User
WebLogic after installation, forget to access the console user name or password, you can use the following steps to reset the user name password.

Version: WebLogic Server 10.3


Description:%domain_home%: Refers to the WebLogic Server domains (domain) directory
For example, the root directory of my test domain Domain_home=d:/weblogic/middleware/user_projects/domains/base_domain

1. To ensure operational safety, backup%domain_home%/security/defaultauthenticatorinit.ldift

2. Enter the%domain_home%/security directory and execute the following command:
Java-classpath D:/weblogic/middleware/wlserver_10.3/server/lib/weblogic.jar Weblogic.security.utils.AdminAccount Username password.

For example:

CD D:\Weblogic\Middleware\user_projects\domains\base_domain\security
Perform Java-classpath D:/weblogic/middleware/wlserver_10.3/server/lib/weblogic.jar Weblogic.security.utils.AdminAccount WebLogic WebLogic.

Feature note Finally there is a ".", a space and a point.

This command will generate a new Defaultauthenticatorinit.ldift file that overwrites the original.


3. Enter the AdminServer directory of the Management Server, such as:%domain_home%/servers/adminserver. Rename the data directory, such as: Data_old. or backup to another place.


4. Modify the Management Server's boot.properties files, such as:%domain_home%/servers/adminserver/security/ Boot.properties, modify the username and password (in plaintext, the plaintext will be encrypted the first time the server is started), and the above command
The user name password in is consistent.

Example: After modification:
Username=weblogic
Password=weblogic

5. After restarting the server, you can use the user WebLogic to login to the admin console.

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.