Context Files Are Out Of Sync Resulting in: "ERROR: Context Value Management Failed" and "java.lang.Exception: oracle.apps.ad.autoconfig.oam" (Doc ID 463895.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Applications Manager - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Oracle Applications Technology Stack - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.
***Checked for relevance on 18-AUG-2011***
***Checked for relevance on 24-May-2013***

Symptoms

Symptom #1:

Looking in Oracle Application Manager (OAM), it shows that the context files are not synchronized for a particular node.

NOTE: Each Context File is stored in the file system and also in the "FND_OAM_CONTEXT_FILES" table. These Context Files should always be synchronized, when they do not match the following problem may occur.


Symptom #2:

When running Autoconfig, it fails with:


...

File system template : /ebs_prod/prd/appltier/prdappl/ad/11.5.0/admin/template/adxmlctx.tmp

Checking for customizations to Context template
Customizations found : None
----------------------------------------------------------------

File system Context file :/xxxx/prd/appltier/prdappl/admin/PROD_apps101.xml

Checking the Context file for possible updates from the Database
Comparing the Context file stored in database with the Context file in the
file system

Result : File system Context is below par with respect to the data base Context

Action to be taken : Copy the Data Base Context onto the file system
Result : Download of Context file failed

StackTrace:
java.lang.Exception: java.lang.Exception: oracle.apps.ad.autoconfig.oam.
FsCtxFileException: End tag does not match start tag 'oa_htmlbin'.
at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateFileSysContext(
FileSysDBCtxMerge.java:655)
at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.
updateFileSysFiles(FileSysDBCtxMerge.java:206)
at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.java:1679)
at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1504)
at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:661)

ERROR: Context Value Management Failed.
Terminate.
. . .


Symptom #3:

Autoconfig may run fine on some nodes and fail with the above error on others.
 

Changes

There are no specific changes known to cause this issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms