Java.io.IOException: There is not enough space in the file system - In OPP For XML Publisher Report (Doc ID 1221654.1)

Last updated on DECEMBER 20, 2016

Applies to:

BI Publisher (formerly XML Publisher) - Version 5.6.3 to 5.6.3 [Release 5]
Information in this document applies to any platform.

Symptoms

On: 5.6.3 version, Enterprise : Administration
One of our XML Publisher Program completes in warning saying that OPP is failed.
OPP has the following error:

...
[9/27/10 10:26:37 AM] [UNEXPECTED] [1805143:RT102444048] java.io.IOException: There is not enough space in the file system.
at java.io.FileOutputStream.writeBytes(Native Method)
...

 

[Template code: IKNAR_CON_INVGRP
Template app: IKNAR
Language: en
Territory: 00
Output type: PDF
[9/27/10 10:26:37 AM] [UNEXPECTED] [1805143:RT102444048] java.io.IOException: There is not enough space in the file system.
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:266)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:76)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:89)
at java.io.DataOutputStream.writeInt(DataOutputStream.java:191)
at oracle.apps.xdo.generator.ProxyGenerator.writeInt(ProxyGenerator.java:613)
at oracle.apps.xdo.generator.ProxyGenerator.setColor(ProxyGenerator.java:1161)
at oracle.apps.xdo.template.fo.area.BorderArea.renderBorder(BorderArea.java:775)
at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:206)
at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:147)
at oracle.apps.xdo.template.fo.area.TableArea.doOutput(TableArea.java:271)
at oracle.apps.xdo.template.fo.area.BlockArea.doOutput(BlockArea.java:427)
at oracle.apps.xdo.template.fo.area.NormalFlowReferenceArea.doOutput(NormalFlowReferenceArea.java:58)
at oracle.apps.xdo.template.fo.area.SpanReferenceArea.doOutput(SpanReferenceArea.java:188)
at oracle.apps.xdo.template.fo.area.BodyRegionArea.doOutput(BodyRegionArea.java:122)
at oracle.apps.xdo.template.fo.area.PageArea.doOutput(PageArea.java:666)
at oracle.apps.xdo.template.fo.area.AreaTree.doOutput(AreaTree.java:483)
at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:243)
at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:121)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:600)
at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:594)
at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
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:205)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:307)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:259)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)]

 


This happens always whenever the no. of records are more i.e XML data to merge is more. Same program runs without any issue for smaller XML file.

The size of /usr/tmp is 1.2 GB
The size of /tmp01/DEVF is 16GB

The issue can be reproduced at will with the following steps:
1. Create a RTF Template for PDF output and a Data Template
2. Register a Concurrent Program for the Datadefinition
3. Submit the program. OPP will pick and process your RTF template
4. Submit the program so that the XML file size is more than 50MB and the PDF file has more than 50K pages
5. OPP will fail with the mentioned error

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