In actual work, we often encounter a situation where customers forget their WebLogic management account password and cannot log on to the Administrator console. This article describes how
In actual work, we often encounter a situation where customers forget their WebLogic management account password and cannot log on to the Administrator console. This article describes how
In actual work, we often encounter a situation where customers forget their WebLogic management account password and cannot log on to the Administrator console. This document describes how to modify an administrator account in a WebLogic cluster.
Test environment:
WebLogic 10.3.6 is deployed in the generation mode.
Build the WebLogic cluster on two Win2003 servers and configure NodeManage.
On One Windows server, the configuration management server and one managed server are configured, and on the other Windows Server, only the managed server is configured.
To modify an administrator account, follow these steps:
1. Disable and stop the entire WebLogic cluster (including all management servers, managed servers, and NodeManage.
2. Back up the entire domain directory ($ WLS_HOME \ user_projects \)
3. Run the setWLSEnv. cmd command to set the environment variables required for subsequent operations.
This file is located in the $ WLS_HOME \ wlserver_10.3 \ server \ bin directory in WebLogic10.3.6. For more information, see.
Open the DOS window, enter this directory, and run the setWLSEnv. cmd file.
4. Create the Default Authentication initialization file.
Then, in the DOS window above, cd will go to the security directory under the $ DOMAIN_HOME directory (here the experiment environment is
E: \ Oracle \ Middleware \ user_projects \ domains \ base_domain \ security) continue to run the command:
Java weblogic. security. utils. AdminAccount weblogic weblogic001.
In the above command, weblogic is the new WebLogic Administrator account, and Weblogic001 is the administrator account password (the specific name and password can be adjusted as needed). There is a space and a dot "." at the end of the command. Remember.
This command will generate a new file named DefaultAuthenticatorInit. ldift in the directory.
5. delete or rename the ldap directory.
Go to the E: \ Oracle \ Middleware \ user_projects \ domains \ base_domain \ server \ AdminServer \ data directory, and delete or rename the ldap directory.
6. Use the new Administrator account and password to edit the boot. properties file.
Go to the E: \ Oracle \ Middleware \ user_projects \ domains \ base_domain \ server \ AdminServer \ security directory, and use NotePad to re-edit boot. properties file. use plain text to write the new Administrator account and password.
7. Start the Management Server and Node Manager of the WebLogic cluster normally. Log on to the management console using the reconfigured Administrator account and password to start the managed server in the cluster.
So far, the entire modification process has been completed.
Install and configure Weblogic 10 in CentOS 6.3
Oracle WebLogic 11g installation and deployment documentation PDF
Deploying Weblogic11g in Linux
Oracle basic tutorial-installing and configuring a single Weblogic instance
Uninstall Weblogic in Linux
Configuration of Weblogic multi-machine Cluster
Weblogic installation and configuration
This article permanently updates the link address: