Autoconfig Context Value Management Fails to Write the Context File from Database to File System (Doc ID 337876.1)

Last updated on JANUARY 26, 2017

Applies to:

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.
This problem can occur on any platform.
Autoconfig
Adconfig.sh
adautocfg.sh
adxmlctx.tmp
***Checked for Relevance on 26-JAN-2017***

Symptoms

During Autoconfig - Context Value Management runs to make sure the context file is in good order.
At this point, the following error messages may be observed due to corruption:   

Using Context file : /<APPL_TOP/admin/<Context file>.xml
Context Value Management will now update the Context file
ERROR: FsCtxFile.XMLParseException
oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
at
oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.ja
va:306)
at
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:
268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
at oracle.apps.ad.autoconfig.oam.FsCtxFile.init(FsCtxFile.java:55)
at
oracle.apps.ad.autoconfig.oam.FsCtxFile.overwriteCtx(FsCtxFile.java:198)
at
oracle.apps.ad.autoconfig.oam.CtxSynchronizer.downloadToFs(CtxSynchronizer.java:
326)
at
oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateFileSysContext(FileSy
sDBCtxMerge.java:638)
at
oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateFileSysFiles(FileSysD
BCtxMerge.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 occured before Context Value Management could be completed

ERROR: Context Value Management Failed.
 
OR 
Context Value Management will now update the Context file
ERROR: FsCtxFile.XMLParseException
oracle.xml.parser.v2.XMLParseException: Unexpected EOF
...
Error occured before Context Value Management could be completed
ERROR: Context Value Management Failed.
Terminate.
 

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