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