Guide to Managing WebLogic and APPS Passwords in Oracle EBS R12.2
For any Oracle Apps DBA, managing passwords is a critical and routine task. In Oracle E-Business Suite (EBS) R12.2, with the introduction of WebLogic Server, the process has more layers than in previous releases. Mismanagement of these passwords can lead to system-wide outages, so it's essential to follow the correct procedures.
This guide will walk you through the necessary steps and best practices for changing the APPS schema password and the WebLogic administrator password.
Part 1: Changing the APPS/APPLSYS Password
In EBS, the APPS and APPLSYS schemas are tightly linked, and their passwords must always be identical.
You should use Oracle's recommended utilities, FNDCPASS or its enhanced version AFPASSWD, for this task.
Key Utilities:
FNDCPASS: The standard utility for changing passwords for Application Object Library (AOL) users and schemas.
AFPASSWD: An enhanced version of FNDCPASS that prompts for passwords, allowing for a better separation of duties between DBAs and application administrators.
Step-by-Step Guide to Changing the APPS Password:
Backup Critical Tables: Before you begin, it's highly recommended to back up the FND_USER and FND_ORACLE_USERID tables.
Shut Down Application Services: All application tier services must be shut down before changing a system schema password.
Use the adstpall.sh script from your $INST_TOP/admin/scripts directory.
Change the Password: Use the FNDCPASS or AFPASSWD utility to change the APPLSYS password. When you change the APPLSYS password, the passwords for APPS and APPS_NE are changed simultaneously.
bash
# Using FNDCPASS
FNDCPASS apps/<old_apps_password> 0 Y system/<system_password> SYSTEM APPLSYS <new_apps_password>
# Using AFPASSWD
AFPASSWD -c apps@<TWO_TASK> -s APPLSYS
Run AutoConfig: After changing the password, run AutoConfig to propagate the changes.
Start Only the AdminServer: Do not start all services yet. Start only the WebLogic Admin Server.
bash
$INST_TOP/admin/scripts/adadminsrvctl.sh start
Update the WebLogic Data Source: This is a critical step in R12.2. You must update the data source in WebLogic with the new APPS password. You have two options:
Manual Update via Console: Log in to the WLS Administration Console, navigate to Services > Data Sources > EBSDataSource > Connection Pool, and update the password.
Another Using the txkManageDBConnectionPool.pl Script: For more recent versions of R12.2, Oracle provides a script to automate this.
bash
perl $FND_TOP/patch/115/bin/txkManageDBConnectionPool.pl
When prompted, choose the updateDSPassword option.
Start All Application Services: Once the data source is updated, you can start the remaining application services.
bash
$INST_TOP/admin/scripts/adstrtal.sh
Verify the Changes: Log in to the WLS Administration Console and test the EBSDataSource connection to ensure it's successful.
Part 2: Changing the WebLogic Administrator Password
The WebLogic administrator password is also a critical credential to manage. The method for changing it can vary depending on your EBS patch level.
Step-by-Step Guide to Changing the WebLogic Password (for recent patch levels):
Shutdown Application Services: Stop all application tier services.
Start the AdminServer: Start only the Admin Server.
Use the txkUpdateEBSDomain.pl Script: Oracle provides a script to update the WebLogic administrator password.
Be extremely careful, as it does not ask for password confirmation.
bash
perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword
Restart All Services: After the script completes successfully, restart all application tier services.
Verify the New Password: Log in to the WebLogic Server console and the Enterprise Manager (EM) with the new password to confirm the change was successful.
For older patch levels, the process involves more manual steps within the WebLogic console and editing boot.properties files.
Best Practices for Password Management
Regularly Change Passwords: Adhere to your organization's security policies for password rotation.
Use Strong Passwords: Avoid easily guessable passwords. Use a combination of uppercase letters, lowercase letters, numbers, and special characters.
Separate Duties: Where possible, use tools like AFPASSWD to allow for a separation of administrative roles.
Document Everything: Keep a secure record of all password changes and the procedures followed.
Backup: Always back up relevant tables and configuration files before making any changes.
By following these structured procedures and best practices, you can confidently and securely manage the critical passwords in your Oracle EBS R12.2 environment.
Caution: Your use of any information or materials on this Blog is entirely at your own risk. It is provided for educational purposes only.