After upgrading the Oracle Apps database the OAE Agent is in Errors status and you have trouble with compiling some of the Applications Manager OAE objects:
SQL> alter package apps.APPWORX_OAE_PK compile body;
Warning: Package Body altered with compilation errors.
SQL> show errors
Errors for PACKAGE BODY APPS.APPWORX_OAE_PK:
LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 PLS-00801: internal error [Unexpected fragile external
reference.]
There is a manual update that needs to be performed:
1. Stop the OAE agent
2. Complete the following steps from the command line:
> cd $AW_HOME/sql/
> mv OAE_Objects.sql OAE_Objects_9i.sql
> mv OAE_Objects_10g.sql OAE_Objects.sql
3. Update the triggers for the OAE Agent in the GUI
Restart the component(s) after successfully updating.