Skip to main content



      Home
Home » Archived » BIRT » 2.1 PDF output
2.1 PDF output [message #185160] Tue, 15 August 2006 13:47 Go to next message
Eclipse UserFriend
I have just installed the 2.1 report viewer under Tomcat 5.5.12 on Windows
XP SP2, following the instructions to the letter (including
itext-1.3.jar), and get the error shown below when I click on the "Print
report as PDF" button. Everything else work fine. Any ideas?

Many thanks,
Doug Lawry


HTTP Status 500

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.<init >(PDFEmitter.java:84)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:157)
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
org.eclipse.birt.core.framework.eclipse.EclipseConfiguration Element.createExecutableExtension(EclipseConfigurationElemen t.java:35)
org.eclipse.birt.report.engine.extension.internal.ExtensionM anager.createObject(ExtensionManager.java:243)
org.eclipse.birt.report.engine.extension.internal.ExtensionM anager.createEmitter(ExtensionManager.java:185)
org.eclipse.birt.report.engine.api.impl.RenderTask.createCon tentEmitter(RenderTask.java:143)
org.eclipse.birt.report.engine.api.impl.RenderTask.doRender( RenderTask.java:257)
org.eclipse.birt.report.engine.api.impl.RenderTask$PageRange Render.render(RenderTask.java:617)
org.eclipse.birt.report.engine.api.impl.RenderTask.render(Re nderTask.java:524)
org.eclipse.birt.report.service.ReportEngineService.renderRe port(Unknown
Source)
org.eclipse.birt.report.service.BirtViewerReportService.rend erReport(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.BirtRenderRepo rtActionHandler.__execute(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
org.eclipse.birt.report.presentation.aggregation.layout.Fram esetFragment.doService(Unknown
Source)
org.eclipse.birt.report.presentation.aggregation.layout.Fram esetFragment.service(Unknown
Source)
org.eclipse.birt.report.servlet.ViewerServlet.__doGet(Unknow n Source)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(Unknown
Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Re: 2.1 PDF output [message #185882 is a reply to message #185160] Fri, 18 August 2006 06:33 Go to previous messageGo to next message
Eclipse UserFriend
I have now resolved this: the itext-1.3.jar download was corrupted.
Re: 2.1 PDF output [message #188084 is a reply to message #185882] Wed, 30 August 2006 06:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jainrahul84.yahoo.co.in

Hi Doug..

I am facing the same problem as u were facing...
can u guide me to the correct jar file (itext-1.3.jar) or/and enumerate
the steps to render a pdf document after downloading it...


TIA for ur time and effort.

Rahul
Re: 2.1 PDF output [message #188154 is a reply to message #188084] Wed, 30 August 2006 08:15 Go to previous message
Eclipse UserFriend
Originally posted by: bronwyn.howard.shazamteam.com

I had some problems with PDF viewing when I first set up BIRT too. I'd like
some more "educated" input on this, but I found if I copied to the
itext-1.3.jar to this directory:

...\eclipse\plugins\org.eclipse.birt.report.viewer_2.1.0.N20 060628-1351\birt\webcontent\birt\ajax\lib

and

created a lib directory in the exploded war in the deployment and stuck the
jar in there too. Create here:
...\jboss4_BIRT\server\default\deploy\birt.war\WEB-INF\platf orm\plugins\com.lowagie.itext

And that made my PDF display within the designer and the site.

Bronwyn.

"Rahul Jain" <jainrahul84@yahoo.co.in> wrote in message
news:cd1c8798cdcfc74c11a94028f5d87c17$1@www.eclipse.org...
> Hi Doug..
>
> I am facing the same problem as u were facing...
> can u guide me to the correct jar file (itext-1.3.jar) or/and enumerate
> the steps to render a pdf document after downloading it...
>
>
> TIA for ur time and effort.
>
> Rahul
>
Previous Topic:X11 DISPLAY
Next Topic:The extension with ID 'org.eclipse.birt.report.data.oda.jdbc' is not found!
Goto Forum:
  


Current Time: Tue Apr 29 02:46:28 EDT 2025

Powered by FUDForum. Page generated in 0.06764 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top