cancel
Showing results for 
Search instead for 
Did you mean: 

IO Error exporting to PDF after deployment to WAS 6 (using RAD7)

Former Member
0 Kudos

<p>Hello,</p><p>I have been using the new CR4E that I downloaded and installed to IBM&#39;s RAD 7 - My reports export to PDF and display beautifully from my local WAS 6 test server - but no luck after deploying to my production WAS 6 server. I&#39;ve published both from inside RAD7 and exported the entire EAR. Both methods result in this error when I run my test report (only one text field).: <table border="0" cellspacing="0" cellpadding="5"><tbody><tr><td><span class="crExceptionText">"An error occured while exporting the report" </span></td></tr></tbody></table></p><p> I&#39;m stuck! </p><p>jpe.log bits for the Test.rpt show:</p><p>10 Apr 2007 14:41:59 [WebContainer : 1] DEBUG com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: PdfDocumentModeller.finishJob<br />10 Apr 2007 14:41:59 [WebContainer : 1] INFO com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: verifying export to destination<br />10 Apr 2007 14:41:59 [WebContainer : 1] INFO com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: verifying export to destination<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: no output file was created by an exporter<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: no output file was created by an exporter<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export<br />java.lang.IllegalArgumentException<br /> at java.lang.Throwable.<init>(Throwable.java:180)<br /> at java.lang.Exception.<init>(Exception.java:29)<br /> at java.lang.RuntimeException.<init>(RuntimeException.java:32)<br /> at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:26)<br /> at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br /> at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br /> at com.crystaldecisions.reports.a.e.if(Unknown Source)<br /> at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br /> at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br /> at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br /> at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br /> at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br /> at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)<br /> at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)<br /> at com.crystaldecisions.report.web.event.br.a(Unknown Source)<br /> at com.crystaldecisions.report.web.event.w.a(Unknown Source)<br /> at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)<br /> at com.crystaldecisions.report.web.event.av.a(Unknown Source)<br /> at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)<br /> at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)<br /> at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)<br /> at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)<br /> at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)<br /> at com.businessobjects.samples.JRCHelperSample.exportPDF(JRCHelperSample.java:471)<br /> at com.ibm._jsp._TestViewer._jspService(_TestViewer.java:101)<br /> at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:851)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1248)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:381)<br /> at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)<br /> at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:125)<br /> at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:264)<br /> at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3003)<br /> at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)<br /> at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)<br /> at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1761)<br /> at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:83)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:422)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:319)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)<br /> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)<br /> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:537)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:593)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:946)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1038)<br /> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export</p><p>Thanks! Terese</p>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I discovered that I had to have PASE installed on the server even though I had java.awt.headless=true specified in my JVM ... Now I can run small reports, but error on larger ones. Problem posted under separate cover! Thanks!!

Terese

Former Member
0 Kudos

<p>&nbsp;</p><p>The exporter creates a temp file with the PDF which is then streamed out. It appears there&#39;s an issue with creating this file. </p><p>Does WAS 6 process credentials have write access to the Java JVM defined Temp folder?</p><p>Ted Ueda </p>

Former Member
0 Kudos

<p>Yes, I checked the permissions and the process does have write permission.u00C2 Just to be sure, I then changed the Temp directory to the process&#39; home directoryu00C2 and had the same result.u00C2 When the report is run on the TEST platform the log shows this:</p><p>DEBUG com.crystaldecisions.reports.formatter.formatter.objectformatter.containerformatter - ADDING FORMATTED OBJECT TO CONTAINER : Formatted section object (ReportHeaderSection1 : Report Headeru00C2 : section = SectionCode:<kind=reportAreaPair><groupN=0><isHeader=true><sectionN=0>, printRecordNumber = 0, pageN = 1</p><p>"ADDING FORMATTED OBJECT TO CONTAINER" never occurs on my development server - but there is no error inu00C2 the log, and an .ssd file appears in the temp directory, and then I get the error described above.u00C2 u00C2 What else should I try?</p><p>u00C2 Terese</p>

Former Member
0 Kudos

<p>&nbsp;</p><p>What type of OS is the WebSphere 6 on? I think it would be good to see if, at least, the DiskExporter is attempting to write to disk.</p><p>If on Windows, search for &#39;Filemon&#39; tool on Microsoft&#39;s site.</p><p>If on Linux, try running strace on the JVM process running the app.</p><p>If on AIX, you can try running truss to do similar thing.</p><p>Ted Ueda </p>

Former Member
0 Kudos

the production server is OS400 (iSeries v5r4)Â ... and I don't know the command ... ?