upgrading of Birt to 4.3.2 --->org.eclipse.birt.report.exception.ViewerException: Fatal error occurred when try to startup report engine

StackOverflow https://stackoverflow.com/questions/23516624

  •  17-07-2023
  •  | 
  •  

Question

I am working with BIRT from 2 months, while upgrading from Birt3.2.20 to Birt4.3.2 I have faced bellow exception from Tomcat 7

in my J2EE application, to upgrade from Birt3.2.20 to Birt4.3.2 I came to know just replacing the old jar files in "Plugins" folder of application with new jar files from

birt-runtime-4_3_2\ReportEngine\lib folder jar files.

After doing the same I have restarted my Tomcat 7 which throws bellow error

INFO: Deploying web application archive D:\Suneel\apache-tomcat-7\webapps\CADBReports.war
May 07, 2014 4:30:14 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://www.eclipse.org/birt/taglibs/birt.tld is already defined
org.eclipse.birt.report.exception.ViewerException: Fatal error occurred when try to startup report engine.
        at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:328)
        at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)
        at org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

I have just replaced old jar's with new jar's in Birt 4.3.2 runtime/lib --- is this enough to upgrade or anything else needed.

I am using

Eclipse, Tomcat 7, Jsp.

Pls help me on this.

Was it helpful?

Solution

Are the reports embedded in your application or do you have Birt installed in Tomcat and just call the urls from your application?

In order to update your BIRT Installation, follow this steps:

1.Close Eclipse.

2.In your Eclipse plugins directory, delete all directories that start with "org.eclipse.birt".

3.Install the new BIRT version.

4.Restart Eclipse with the -clean option: eclipse -clean

If you have BIRT installed in Tomcat, you need to undeploy it, then install the new version. Here is the link with the install steps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top