Professional Documents
Culture Documents
3. You will get an error “Cannot complete applications logon. You may have entered an
invalid applications password, or there may have been a database connect error.”
4. Then try FNDCPASS to fix password and you will get the error the APP-FND-01496
error.
If this situation happens then you cannot access the application. Infact the services even
wont start.
Resolution to such problem is to rollback the 2 tables FND_USER and
FND_ORACLE_USERID. Once you rollback the tables, apps and applsys passwords
will be in synch and password will be older one. You can then run FNDCPASS and
change the password.
Scenario 2:
Some times when you run FNDCPASS, you get following error
APP-FND-01502: Cannot encrypt application ORACLE password
Cause: Application Object Library was unable encrypt your ORACLE password.
Action: Contact your support representative. (ORACLEUSER=APPS_SERV)
The error comes because the table fnd_oracle_userid contain rows for schemas that does
not exist. Those rows must be deleted from the table.
Use the following query to get the details of the schema that doest not exists
select * from fnd_oracle_userid
where oracle_username not in
(select username from all_users);
The rows returned by this query can be deleted from FND_ORACLE_USERID table.
This will resolve this issue.
Scenario 3:
There can be situation where users has update APPLSYS password using ALTER
command in database directly and also you dont have backup of those tables. Under such
situation, it is very difficult to recover the application and make it working. Still
following methodology is proposed which might help you to restore the password back
and make your application work fine.
For this to work you should have some other application (may be debug or UAT) which is
having the same passwords or default passwords for schemas. If you have such
application the following the below steps in the application which is affected by password
mismatch.
This method is for resetting apps and applsys passwords. Below are the SQL statements
that will help you reset the APPS and APPLSYS passwords to APPS, the APPLSYSPUB
password to PUB, and the SYSADMIN password to SYSADMIN.
WARNING: This procedure will cause all user passwords to become invalid. ALL users
Open a SQL*Plus as SYSTEM and reset the passwords for the APPS, APPLSYS, and the
APPLSYSPUB Oracle user ID:
ALTER USER apps IDENTIFIED BY apps;
ALTER USER applsys IDENTIFIED BY apps;
ALTER USER applsyspub IDENTIFIED BY pub;
Step 2) Backup the FND_ORACLE_USERID and FND_USER tables (even though thesetables are right
now corrupted, do take a backup. You can restore the same when ever you want).
Open a SQL*Plus session as APPLSYS and backup the tables
FND_ORACLE_USERID);
Once these updates are done, try your luck by running FNDCPASS and it should work
fine.
Hope this help !!!
References
Metalink note ID 445153.1
Metalink note ID 429244.1
Oracle Apps Technology Blog
PATCHING
Error message: ORA-01013: user requested cancel of current operation
Resolution to error: If this error occurs, simply use adctrl to restart the worker on the
current machine.
Error message: Patch not applied successfully, adpatch did not cleanup its restart files
(*rf9)
Resolution to error: If this error occurs, execute the following as the instance owner:
$cd $APPL_TOP/admin/$CONTEXT_NAME
$mkdir restart
After cleaning up the restart files, you may then restart the adpatch session using adpatch.
Error message: ERROR: Javakey subcommand exited with status 1
Resolution to error: If this error occurs, the identity.obj file needs to be re-created. See
Chapter 2 for steps to recreate the identity.obj file. Then, use adctrl to restart the failed
worker.
Error message: No error message is displayed; rather the worker log file states that the
worker is complete, yet adctrl indicates that the worker is still running