Current Position:Home > Issue with the report oracle.apps.xdo.XDOException:Error creating lock file

Issue with the report oracle.apps.xdo.XDOException:Error creating lock file

Update:10-11Source: network consolidation
Advertisement
I am getting an error while submitting the XML publisher report in Betsy N0 instance.
Issue
Log :- Beginning post-processing of request 145458120 on node BETSYN0DB1 at 22-DEC-2011 05:28:26.
Post-processing of request 145458120 failed at 22-DEC-2011 05:28:28 with the error message: One or more post-processing actions failed. Consult the OPP service log for details
Output :- Blank Report
XML file :- XML file generated without any error
Output process:-
[12/23/11 4:28:10 AM] [1213640:RT145480622] Completed post-processing actions for request 145480622.
[12/23/11 5:16:01 AM] [OPPServiceThread1] Post-processing request 145481427.
[12/23/11 5:49:30 AM] [OPPServiceThread1] Post-processing request 145481923.
[12/23/11 5:49:30 AM] [1213640:RT145481923] Executing post-processing actions for request 145481923.
[12/23/11 5:49:30 AM] [1213640:RT145481923] Starting XML Publisher post-processing action.
[12/23/11 5:49:30 AM] [1213640:RT145481923]
Template code: XXWIP_WO_VLVS
Template app: XXWIP
Language: en
Territory: US
Output type: PDF
oracle.apps.xdo.XDOException: Error creating lock file
     at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
     at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
     at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
     at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
     at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
     at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
[12/23/11 5:49:31 AM] [UNEXPECTED] [1213640:RT145481923] oracle.apps.xdo.XDOException: Error creating lock file
     at oracle.apps.xdo.oa.util.FontCacheManager.getFontFromDB(FontCacheManager.java:320)
     at oracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath(FontCacheManager.java:198)
     at oracle.apps.xdo.oa.util.FontHelper.createFontProperties(FontHelper.java:432)
     at oracle.apps.xdo.oa.util.ConfigHelper.getFontProperties(ConfigHelper.java:166)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5824)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
     at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
     at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
[12/23/11 5:49:31 AM] [1213640:RT145481923] Completed post-processing actions for request 145481923.

The Best Answer

Advertisement
The issue is fixed.
Our XML Publisher TMP is not defined, so it uses the APPLTMP used by concurrent manager. There is a folder xdofonts/<SID> in $APPLTMP. It contains the fonts used by XML publisher and on the of font file (.ttf) was 0 byte. We copied the ttf file from QA. And it started working.
Best practice is to define diffent TMP for concurrent managers and XML Publisher.
Cherrish Vaidiyan