In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how weblogic resets the administrative domain password, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
Configuration and password reset of weblogic Domain
Configure weblogic
The weblogic domain has been created successfully. You can use. / startWebLogic.sh to start the weblogic domain and start the error message, indicating that "username password is not available"
Solution one:
Edit the startup script:
Vim startWebLogic.sh
Add username and password:
WLS_USER= "weblogic"
Export WLS_USER
WLS_PW= "password"
Export WLS_PW
Nohup. / startWebLogic & launch the running domain in the background
Solution 2:
First,. / startWebLogic.sh starts the domain and generates the servers folder under / home/weblogic/weblogic/user_projects/domains/base_domain (if the domain is not started, the folder will not be generated)
Cd / home/weblogic/weblogic/user_projects/domains/base_domain/servers/AdminServer folder
Mkdir security folder. Create a boot.properties file under the security folder. The configuration content is as follows:
Username=weblogic
Password=weblogic123
Start nohup .startWebLogic.sh & again, and the contents of the boot.properties file will be automatically encrypted.
Reset weblogic username password
Step one:
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/, executes the following command:
Java-classpath D:/bea/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic123.
(the green font indicates username and password. Don't forget "space and." at the end of the command.)
Generate a new DefaultAuthenticatorInit.ldift overwrite original file after executing the command
Step 2:
Cd / home/weblogic/weblogic/user_projects/domains/base_domain/servers/AdminServer/, back up the data file, then go to the boot.properties file, vim security/boot.properties, and modify username and password to the username and password set in the first step command
Username=weblogic
Password=weblogic123
Wq saves and exits boot.properties, and restarts domain services
After reading the above, do you have any further understanding of how weblogic resets the administrative domain password? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.