Resetting the APPS and SYSADMIN passwords is a
fundamental task for any Oracle Apps DBA, but in EBS R12.2, doing it
incorrectly can break your environment's connection to the database or the WLS
(WebLogic Server).
In this guide, we will use the recommended AFPASSWD
utility, which has replaced the older FNDCPASS for many R12.2 tasks.
- Access to the Application Tier as the
applmgruser. - The run edition environment file must be sourced.
- Access to the Database Tier as the
oracleuser (to verify connectivity).
Step 1: Source the Environment
Before running any utility, ensure you are in the Run
Edition environment.
Step 2: Resetting the APPS Password
Oracle recommends using the AFPASSWD utility in R12.2.
Unlike the old days, this utility handles the integration with the WebLogic
Domain automatically.
Execution Steps:
- Enter
the current APPS password.
- Enter
the new password for the APPS user.
- Verify
the new password.
Note: The utility will update the password in the
database and automatically synchronize it with the WLS Data sources.
The SYSADMIN user is an application-level user
(FND_USER). You can change this via the "Define User" form in the
application, but if you are locked out, use the command line:
Execution Steps:
- Enter
the APPS password.
- Enter
the new password for SYSADMIN.
Step 4: Verify the Changes
After resetting, verify that you can still connect to the database from the application tier using the new password:
$ sqlplus apps/<new_password>
Also, log in to the Oracle E-Business
Suite Login Page using the SYSADMIN account and the new password to ensure the
application listener and OAM are functioning.
Why use AFPASSWD over FNDCPASS?
- AFPASSWD is more secure (it doesn't show passwords in the process
list).
- It is specifically designed to handle the R12.2 Dual File System and
WebLogic integration more cleanly.
- Account Locked: If you try to log in with the old password too many
times, the APPS schema might get locked in the DB. Have your System DBA
run: ALTER USER APPS ACCOUNT UNLOCK;.
- WLS Connection Pool Errors: If the application fails to start after
a password change, run the adcfgclone.pl or adchkcfg.sh to ensure the
context files are synced.
No comments:
Post a Comment