We are using Crystal for eclipse libraries version: 12.2.204 <br>
<br>
<br>
In our application we are generating .PDF files of the reports in huge quantities. Generation is usualy done on one report, from which circa 500-1000 pdf files are created.
<br>
<br>
In our Windows envirnoment, code responsible for generating the PDF files ( or printing ) works as expected. We can create ( print) even 10 000 .pdf files and no exception occurs. Under Linux system we are able to export from 500-600 files and then the same error occurs.
<br>
<br>
In addition the excpetion is thrown also, when normal printing is done, there is not need to export it as pdf. Crystal prints 500-600 files and then the same exception is thrown.
<br><br><br>
Report found in /home/pos2tst/test/StdLabel.rpt
java.io.FileNotFoundException: /opt/jdk1.6.0_16/jre/lib/fonts/LucidaSansRegular.ttf (Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.reader.OpenTypeReader.case(SourceFile:387)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.reader.d.a(SourceFile:122)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.reader.OpenTypeReader.getFontTable(SourceFile:414)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.tables.NameTable.<init>(SourceFile:223)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.reader.OpenTypeReader.int(SourceFile:216)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.a.int(SourceFile:52)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.a(SourceFile:419)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.do(SourceFile:301)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.if(SourceFile:66)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.FontEmbeddingSession.if(SourceFile:101)
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.FontEmbeddingSession.a(SourceFile:92)
at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.r.a(SourceFile:591)
at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.r.if(SourceFile:422)
at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.PdfDocumentManager.a(SourceFile:332)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.a(SourceFile:1333)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.a(SourceFile:1288)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.a(SourceFile:768)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.a(SourceFile:717)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.a(SourceFile:671)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.a.if(SourceFile:621)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:1950)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:446)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.byte(SourceFile:322)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:302)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.b.a(SourceFile:217)
at com.crystaldecisions.reports.exporters.format.page.pdf.dom.PdfAdvancedDocumentModeller.a(SourceFile:177)
at com.crystaldecisions.reports.exporters.page.pdf.AdobePDFExporter.a(SourceFile:252)
at com.crystaldecisions.reports.exporters.page.pdf.AdobePDFExporter.processFormattedContent(SourceFile:200)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:104)
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1942)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:659)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:165)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:527)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:525)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:523)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:422)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:350)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
at de.psi.pjf.pos.plugin.plugin4crystal.ExportPrintJob.export(ExportPrintJob.java:147)
at de.psi.pjf.pos.plugin.plugin4crystal.ExportPrintJob.performJob(ExportPrintJob.java:56)
at de.psi.pjf.pos.plugin.plugin4crystal.JobManager.performJob(JobManager.java:144)
at de.psi.pjf.pos.plugin.plugin4crystal.CrystalPluginImpl.setParameter(CrystalPluginImpl.java:99)
at de.psi.pjf.pos.plugin.CrystalJavaPlugin.sendCommand(CrystalJavaPlugin.java:656)
at de.psi.pjf.pos.plugin.CrystalJavaPlugin.run(CrystalJavaPlugin.java:486)
<br><br><br><br>
<b>OR</b>
<br><br>
Can not open document: /home/pos2tst/test/StdLabel.rpt co
m.crystaldecisions.sdk.occa.report.lib.ReportSDKException
: Report file /home/pos2tst/test/StdLabel.rpt not found--
-- Error code:-2147215356 Error code name:fileNotOpened
com.crystaldecisions.sdk.occa.report.lib.ReportSDKExcepti
on: Report file /home/pos2tst/test/StdLabel.rpt not found
-
Error code:-2147215356 Error code name:fileNotOpened
at com.businessobjects.reports.sdk.JRCAdapterSDKE
xception.a(SourceFile:92)
at com.businessobjects.reports.sdk.JRCCommunicati
onAdapter.a(SourceFile:2297)
at com.businessobjects.reports.sdk.JRCCommunicati
onAdapter.<init>(SourceFile:273)
at com.businessobjects.sdk.erom.jrc.a.<init>(Sour
ceFile:43)
at com.businessobjects.sdk.erom.jrc.ReportAgentFa
ctory.createAgent(SourceFile:46)
at com.crystaldecisions.proxy.remoteagent.RemoteA
gent$a.<init>(SourceFile:703)
at com.crystaldecisions.proxy.remoteagent.RemoteA
gent.a(SourceFile:662)
at com.crystaldecisions.proxy.remoteagent.RemoteA
gent.a(SourceFile:632)
at com.crystaldecisions.sdk.occa.report.applicati
on.ClientDocument.if(SourceFile:504)
at com.crystaldecisions.sdk.occa.report.applicati
on.ClientDocument.open(SourceFile:669)
at de.psi.pjf.pos.plugin.plugin4crystal.JobTempla
te.openReport(JobTemplate.java:303)
at de.psi.pjf.pos.plugin.plugin4crystal.JobManage
r.openJob(JobManager.java:120)
at de.psi.pjf.pos.plugin.plugin4crystal.JobManage
r.performJob(JobManager.java:137)
at de.psi.pjf.pos.plugin.plugin4crystal.CrystalPl
uginImpl.setParameter(CrystalPluginImpl.java:99)
at de.psi.pjf.pos.plugin.CrystalJavaPlugin.sendCo
mmand(CrystalJavaPlugin.java:656)
at de.psi.pjf.pos.plugin.CrystalJavaPlugin.run(Cr
ystalJavaPlugin.java:486)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.businessobjects.reports.sdk.JRCAdapterSDKE
xception: Report file /home/pos2tst/test/StdLabel.rpt not
found
at com.businessobjects.reports.sdk.JRCReportLoade
r.a(SourceFile:155)
at com.businessobjects.reports.sdk.JRCReportLoade
r.a(SourceFile:76)
at com.businessobjects.reports.sdk.requesthandler
.ReportDocumentRequestHandler.a(SourceFile:136)
at com.businessobjects.reports.sdk.JRCCommunicati
onAdapter.<init>(SourceFile:227)
... 14 more
Caused by: java.io.FileNotFoundException: /home/pos2tst/t
est/StdLabel.rpt (Too many open files)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFi
le.java:212)
at com.businessobjects.reports.loader.ReportLoade
r.a(SourceFile:102)
at com.businessobjects.reports.loader.ReportLoade
r.a(SourceFile:186)
at com.businessobjects.reports.sdk.JRCReportLoade
r.a(SourceFile:137)
... 17 more
<br><br><br>
We were trying to increase the size of maximum openned files under Linux, but it does not help.
<br><br>
As a suggestion i'd like to add that very similar exception occures when we want to install Crystal for Eclipse under Eclipse in Linux envirnoment. We saw that only version, we can download from your site is Windows version.
We got this exception under Fedora 6 and CentOS 4 distributions
Edited by: PSI_AG on Jan 13, 2010 9:27 AM - other case of this same exception added