Configuration and password reset for the WebLogic domain

Source: Internet
Author: User

Configure WebLogic

WebLogic domain creation is successful, you can use./startweblogic.sh to start the WebLogic domain, start an error, and prompt "User name password is not available"

Solution One:

To edit a startup script:

Vim startweblogic.sh

Add User name Password:

Wls_user= "WebLogic"

Export Wls_user

wls_pw= "Password"

Export WLS_PW

Nohup./startweblogic & background start running domain

Solution Two:

First of all./startweblogic.sh start the domain, generate the Servers folder under/home/weblogic/weblogic/user_projects/domains/base_domain (does not start the domain, the folder is not generated)

Cd/home/weblogic/weblogic/user_projects/domains/base_domain/servers/adminserver folder

mkdir Security folder, create the Boot.properties file under the Security folder with the following configuration:

Username=weblogic

Password=weblogic123

Start nohup again. startweblogic.sh &,boot.properties file contents are automatically encrypted

Reset WebLogic User name password

The first step:

Cd/home/weblogic/weblogic/user_projects/domains/base_domain

Backup%domain_home%/security/defaultauthenticatorinit.ldift

cd/home/weblogic/weblogic/user_projects/domains/base_domain/security/, execute the following command:

Java-classpath D:/bea/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount WebLogic weblogic123 .

(green fonts represent username and password, and don't forget "spaces and" at the end of the command.) )

Generate a new Defaultauthenticatorinit.ldift overwrite the original file after executing the command

Step Two:

cd/home/weblogic/weblogic/user_projects/domains/base_domain/servers/adminserver/, back up the data file, Then enter the Boot.properties file, vim security/boot.properties, modify username and password for the username and password set in the first step command

Username=weblogic

Password=weblogic123

: Wq Save and exit Boot.properties and restart the domain service

Configuration and password reset for the WebLogic domain

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.