"java.io.FileNotFoundException No such file or directory" Error When Running BI Publisher Based Concurrent Programs
(Doc ID 1072383.1)
Last updated on APRIL 26, 2024
Applies to:
BI Publisher (formerly XML Publisher) - Version 11.5 and laterInformation in this document applies to any platform.
Symptoms
Various BI Publisher based concurrent programs (seeded / custom) are failing due to an java.io.FileNotFoundException. More in specific, the exception suggests a failure related to the temporary files that are created at runtime, e.g.:
[112609_015819639][][EXCEPTION] java.io.FileNotFoundException: /comn/temp/112609_015808878/1.xdo (No such file or directory)
The temporary directory exists and the applmgr user has write permissions on it. The failure is not specific to one program and therefore, the java stack may have some variation depending on how the temporary files are part of the process.
- Example 1:
[112609_015819692][][EXCEPTION] java.io.FileNotFoundException: /comn/temp/112609_015808878/116.xdo (No such file or directory)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1600)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:442)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergePDFDocs(PDFDocMerger.java:396)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(DocumentProcessorEngine.java:882)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(DocumentProcessorEngine.java:694)
at oracle.apps.xdo.batch.DocumentProcessorEngine.deliverRequestOutput(DocumentProcessorEngine.java:470)
at oracle.apps.xdo.batch.DocumentProcessorEngine.endElement(DocumentProcessorEngine.java:2275)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
at oracle.apps.xdo.batch.DocumentProcessorEngine.process(DocumentProcessorEngine.java:1430)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:216)
at oracle.apps.ar.bpa.presentment.cp.PrintInvoiceBatchCp.runProgram(PrintInvoiceBatchCp.java:158)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
[112609_015819693][][STATEMENT] java.lang.NullPointerException
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:459)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergePDFDocs(PDFDocMerger.java:396)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(DocumentProcessorEngine.java:882)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(DocumentProcessorEngine.java:694)
at oracle.apps.xdo.batch.DocumentProcessorEngine.deliverRequestOutput(DocumentProcessorEngine.java:470)
at oracle.apps.xdo.batch.DocumentProcessorEngine.endElement(DocumentProcessorEngine.java:2275)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
at oracle.apps.xdo.batch.DocumentProcessorEngine.process(DocumentProcessorEngine.java:1430)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:216)
at oracle.apps.ar.bpa.presentment.cp.PrintInvoiceBatchCp.runProgram(PrintInvoiceBatchCp.java:158)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161) - Example 2:
[012110_102504795][][EXCEPTION] java.io.FileNotFoundException: /var/opt/tmp/012110_102459040/1.xdo (The file access permissions do not allow the specified action.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at oracle.apps.xdo.template.pdf.util.FPUtil.saveStreamToFile(FPUtil.java:136)
at oracle.apps.xdo.batch.DocumentProcessorEngine.getActualValue4URL(DocumentProcessorEngine.java:1157)
at oracle.apps.xdo.batch.DocumentProcessorEngine.startElement(DocumentProcessorEngine.java:1645)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
at oracle.apps.xdo.batch.DocumentProcessorEngine.process(DocumentProcessorEngine.java:1416)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:215)
at oracle.apps.ar.bpa.presentment.cp.PrintInvoiceBatchCp.runProgram(PrintInvoiceBatchCp.java:128)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
...
[012110_102504795][][EXCEPTION] java.io.FileNotFoundException: /var/opt/tmp/012110_102459040/1.xdo (The file access permissions do not allow the specified action.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at oracle.apps.xdo.template.pdf.util.FPUtil.saveStreamToFile(FPUtil.java:136)
at oracle.apps.xdo.batch.DocumentProcessorEngine.getActualValue4URL(DocumentProcessorEngine.java:1157)
at oracle.apps.xdo.batch.DocumentProcessorEngine.startElement(DocumentProcessorEngine.java:1645)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
at oracle.apps.xdo.batch.DocumentProcessorEngine.process(DocumentProcessorEngine.java:1416)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:215)
at oracle.apps.ar.bpa.presentment.cp.PrintInvoiceBatchCp.runProgram(PrintInvoiceBatchCp.java:128)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157) - Example 3:
[120209_070138344][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.io.FileNotFoundException: /tmp/120209_070106479/RemittanceAdvice.pdf (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)
at oracle.apps.xdo.batch.DeliveryHelper.getEmailDeliveryRequest(DeliveryHelper.java:220)
at oracle.apps.xdo.batch.DeliveryHelper.addRequest(DeliveryHelper.java:465)
at oracle.apps.xdo.batch.bursting.DocumentDelivery.addDeliveryRequest(DocumentDelivery.java:200)
at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(DocumentDelivery.java:139)
at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3268)
at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2136)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2077)
at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1999)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2177)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1809)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1138)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:979)
at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:913)
at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:214)
at com.xxhbos.xdo.XXHBOSDistribution.Burst(XXHBOSDistribution.java:476)
at com.xxhbos.xdo.XXHBOSDistribution.runProgram(XXHBOSDistribution.java:256)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |