Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] RE: [birt-report-engine-dev] Not able to load Report in PDF Format inLinux : 2nd post

It seems that you don’t include the iText.jar into the iText plug-in.

 

Thanks.

 

-Wei Yan

 


From: birt-report-engine-dev-bounces@xxxxxxxxxxx [mailto:birt-report-engine-dev-bounces@xxxxxxxxxxx] On Behalf Of vJ t
Sent: Monday, September 10, 2007 5:03 PM
To: birt-dev@xxxxxxxxxxx; birt-report-designer-dev@xxxxxxxxxxx; birt-report-engine-dev@xxxxxxxxxxx
Subject: [birt-report-engine-dev] Not able to load Report in PDF Format inLinux : 2nd post

 

Hi following error occurred when i tried to run the report (using BIRT Web Viewer Example Webapp) through Linux server. The Web server used is Tomcat.
 
I try to load the test.rptdesign report in a pdf format. using the URL " http://SERVER:PORT/viewer/run?__report=test.rptdesign&__format=pdf ".
 
While the same URL works fine with Windows Server and a pdf report is generated. Linux server generates following error.
 
 org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NoClassDefFoundError
 
Please Help
 
Regards
Vijay
 
###################################################################################################################################
 
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.eclipse.birt.report.service.api.ReportServiceException : Error happened while running the report; nested exception is:
java.lang.NoClassDefFoundError
faultActor:
faultNode:
faultDetail:
{ http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NoClassDefFoundError
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport (Unknown Source)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.RunFragment.doService(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(Unknown Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__doGet (Unknown Source)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke ( StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java :527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run (Thread.java:534)
Caused by: java.lang.NoClassDefFoundError
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter.createBidi(BidiSplitter.java:50)
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter .<init>(BidiSplitter.java:38)
at org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerator.<init>(ChunkGenerator.java:29)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Compositor.<init>( PDFTextLM.java:235)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM.<init>(PDFTextLM.java:82)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.handleText(PDFLayoutManagerFactory.java :217)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.visitLabel(PDFLayoutManagerFactory.java:142)
at org.eclipse.birt.report.engine.content.impl.LabelContent.accept(LabelContent.java :121)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory.createLayoutManager(PDFLayoutManagerFactory.java:73)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.handleChild(PDFLineAreaLM.java :167)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.traverseChildren(PDFLineAreaLM.java:150)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout (PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockContainerLM.traverseSingleChild(PDFBlockContainerLM.java:44)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextBlockContainerLM.traverseChildren (PDFTextBlockContainerLM.java:57)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java :132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode(PDFBlockStackingLM.java:109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java :89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseChildren (PDFRowLM.java:88)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode (PDFBlockStackingLM.java:109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.traverseChildren(PDFTableLM.java :108)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout (PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode (PDFBlockStackingLM.java:109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren (PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java :118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutHeader(PDFPageLM.java:161)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initialize (PDFPageLM.java:83)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren (PDFStackingLM.java:116)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:212)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport (PDFReportLayoutEngine.java :64)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:87)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java :148)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:71)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport (Unknown Source)
... 25 more

{http://xml.apache.org/axis/}hostname:localhost.localdomain

org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NoClassDefFoundError
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter.createBidi (BidiSplitter.java:50)
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter.(BidiSplitter.java :38)
at org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerator.(ChunkGenerator.java:29)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Compositor .(PDFTextLM.java:235)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM .(PDFTextLM.java:82)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.handleText(PDFLayoutManagerFactory.java :217)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.visitLabel (PDFLayoutManagerFactory.java:142)
at org.eclipse.birt.report.engine.content.impl.LabelContent.accept(LabelContent.java :121)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory.createLayoutManager (PDFLayoutManagerFactory.java:73)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.handleChild(PDFLineAreaLM.java :167)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.traverseChildren(PDFLineAreaLM.java :150)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout (PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockContainerLM.traverseSingleChild (PDFBlockContainerLM.java:44)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextBlockContainerLM.traverseChildren (PDFTextBlockContainerLM.java:57)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren (PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java :132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode(PDFBlockStackingLM.java :109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java :89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseChildren (PDFRowLM.java:88)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren (PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode (PDFBlockStackingLM.java :109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.traverseChildren(PDFTableLM.java :108)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode (PDFBlockStackingLM.java:109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren( PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutHeader(PDFPageLM.java:161)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initialize (PDFPageLM.java:83)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:116)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:212)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport (PDFReportLayoutEngine.java:64)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:87)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java :148)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:71)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport (Unknown Source)
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.RunFragment.doService(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service (Unknown Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(Unknown Source)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:595)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java :664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NoClassDefFoundError
... 25 more
Caused by: java.lang.NoClassDefFoundError
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter.createBidi(BidiSplitter.java:50)
at org.eclipse.birt.report.engine.layout.pdf.text.BidiSplitter .(BidiSplitter.java:38)
at org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerator.(ChunkGenerator.java:29)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Compositor.(PDFTextLM.java:235)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextLM .(PDFTextLM.java:82)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.handleText(PDFLayoutManagerFactory.java:217)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory$ContentVisitor.visitLabel (PDFLayoutManagerFactory.java:142)
at org.eclipse.birt.report.engine.content.impl.LabelContent.accept(LabelContent.java:121)
at org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFactory.createLayoutManager ( PDFLayoutManagerFactory.java:73)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.handleChild(PDFLineAreaLM.java:167)
at org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.traverseChildren(PDFLineAreaLM.java :150)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockContainerLM.traverseSingleChild (PDFBlockContainerLM.java:44)
at org.eclipse.birt.report.engine.layout.pdf.PDFTextBlockContainerLM.traverseChildren(PDFTextBlockContainerLM.java:57)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren (PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode(PDFBlockStackingLM.java :109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseChildren(PDFRowLM.java:88)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren (PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode(PDFBlockStackingLM.java :109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.traverseChildren(PDFTableLM.java:108)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.layoutChildNode (PDFBlockStackingLM.java:109)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.traverseChildren(PDFBlockStackingLM.java:89)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren( PDFStackingLM.java:118)
at org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layout(PDFAbstractLM.java:132)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutHeader(PDFPageLM.java:161)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initialize (PDFPageLM.java:83)
at org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layoutChildren(PDFStackingLM.java:116)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:212)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport (PDFReportLayoutEngine.java:64)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:87)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java :148)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:71)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport (Unknown Source)
... 25 more
##########################################################################################################################
 


Back to the top