Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT runtime 4.6.0(WebViewerExample will not start)
BIRT runtime 4.6.0 [message #1736857] Sun, 03 July 2016 16:38 Go to next message
David Good is currently offline David GoodFriend
Messages: 41
Registered: September 2012
Member
Hi,

I have downloaded BIRT runtime 4.6.0 from the following URL.

http://download.eclipse.org/birt/downloads/index.php#runtime

Pre-requisite note states Java 1.7. I am running Windows 8.1 with Java 1.7.0_40-b43. The WebViewerExample webapp will not start in Tomcat 7 (64bit).

I checked the manifest file inside packaged birt.war and it contains:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.4
Created-By: 1.8.0_51-b16 (Oracle Corporation)


I tried the install on another machine (Windows 7 32bit) with Java 8 and Tomcat 7 then 8. Same result.

With previous versions of the viewer I have simply copied the WebViewerExample to my Tomcat webapps directory, started services and it has worked fine.

Is the process different for 4.6.0? If so, I can not find any documentation.
Has anyone else downloaded the 4.6.0 viewer and had the same problems?

Thanks,
David

[Updated on: Mon, 04 July 2016 00:48]

Report message to a moderator

Re: BIRT runtime 4.6.0 [message #1736891 is a reply to message #1736857] Mon, 04 July 2016 08:58 Go to previous messageGo to next message
Hans Burkard is currently offline Hans BurkardFriend
Messages: 2
Registered: July 2016
Junior Member
I have a similar behaviour: Birt runtime 4.6.0 can not be started under tomcat:

Fatal error occurred when try to startup report engine.
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:342)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1023)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:744)

The tomcat manager shows a wrong version (although birt runtime 4.6.0 is installed):

<server>:8080/birt-viewer_460/

BIRT viewer has been installed.
Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
Viewer Version : 4.5.0
Engine Version: 4.5.0
JRE version: 1.8.0_91

Maybe the downloaded runtime file "birt-runtime-4.6.0-20160607.zip" is corrupted?

Any idea or help?

Re: BIRT runtime 4.6.0 [message #1737064 is a reply to message #1736857] Tue, 05 July 2016 12:38 Go to previous messageGo to next message
Viktor Kalman is currently offline Viktor KalmanFriend
Messages: 3
Registered: May 2016
Junior Member
Hi David,

My experience is same. We are using Apache Tomcat 8.0.24 and JRE 1.8.0_51 on Windows 7 64 bit.
When deploying Birt.war the operation end with error. I found the error messages in catalina.log file:

java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

I need any help, how to find valid signature file, how to solve this problem?

Thanks:
Viktor


SEVERE [localhost-startStop-2] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
    at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
    at sun.security.util.SignatureFileVerifier.process(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarFile.initializeVerifier(Unknown Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at org.apache.catalina.webresources.JarResource.getJarInputStreamWrapper(JarResource.java:46)
    at org.apache.catalina.webresources.AbstractArchiveResource.doGetInputStream(AbstractArchiveResource.java:218)
    at org.apache.catalina.webresources.AbstractResource.getInputStream(AbstractResource.java:94)
    at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4993)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 11 more
Re: BIRT runtime 4.6.0 [message #1737104 is a reply to message #1736857] Tue, 05 July 2016 17:26 Go to previous messageGo to next message
Jerry Sheets is currently offline Jerry SheetsFriend
Messages: 66
Registered: July 2009
Location: Salt Lake City, UT
Member
I am also having the same issue.
Re: BIRT runtime 4.6.0 [message #1737126 is a reply to message #1737104] Wed, 06 July 2016 00:23 Go to previous messageGo to next message
David Good is currently offline David GoodFriend
Messages: 41
Registered: September 2012
Member
Bug 497356 logged on Bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=497356
Re: BIRT runtime 4.6.0 [message #1738613 is a reply to message #1737126] Thu, 21 July 2016 12:21 Go to previous messageGo to next message
ISMAEL PEREZ MATEOS is currently offline ISMAEL PEREZ MATEOSFriend
Messages: 1
Registered: July 2016
Junior Member
I'm having the same issue as Hans Burkard

Tomcat 6, Viewer version 4.6.0

Viewer Version : 4.5.0
Engine Version: 4.5.0
JRE version: 1.7.0_65

- Fatal error occurred when try to startup report engine.
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:342)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1023)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)

icon9.gif  Re: BIRT runtime 4.6.0 [message #1740711 is a reply to message #1736857] Wed, 17 August 2016 14:38 Go to previous messageGo to next message
lisa mali is currently offline lisa maliFriend
Messages: 1
Registered: August 2016
Junior Member
Same problem here. Please fix. Thanks.
Re: BIRT runtime 4.6.0 [message #1742144 is a reply to message #1736857] Wed, 31 August 2016 17:43 Go to previous messageGo to next message
Joyson Dsouza is currently offline Joyson DsouzaFriend
Messages: 1
Registered: August 2016
Junior Member
Hi,

I have followed the steps to get rid of the invalid signature problem. However now i am coming across the second problem as mentioned above :

- Fatal error occurred when try to startup report engine.

Has anyone been able to get around this issue.

I have tried launching apache tomcat with jre 1.7 as well as 1.8 , but with no luck
Re: BIRT runtime 4.6.0 [message #1742296 is a reply to message #1742144] Thu, 01 September 2016 13:21 Go to previous messageGo to next message
Garey Smiley is currently offline Garey SmileyFriend
Messages: 13
Registered: July 2009
Junior Member
I'm another one.
Re: BIRT runtime 4.6.0 [message #1742304 is a reply to message #1742296] Thu, 01 September 2016 14:01 Go to previous messageGo to next message
Garey Smiley is currently offline Garey SmileyFriend
Messages: 13
Registered: July 2009
Junior Member
Okay little more info.

4.6.0 runtime will only work if there are no other BIRT runtimes in the tomcat instance. Note that with all previous versions that was not a problem. jar files also need to be fixed. Here's what I did:

zip -d org.eclipse.birt.runtime_4.6.0-20160607.jar META-INF/ECLIPSE_.RSA
zip -d org.eclipse.birt.runtime_4.6.0-20160607.jar META-INF/ECLIPSE_.SF
zip -d org.eclipse.datatools.connectivity.oda_3.5.0.201603142002.jar META-INF/ECLIPSE_.RSA
zip -d org.eclipse.datatools.connectivity.oda_3.5.0.201603142002.jar META-INF/ECLIPSE_.SF

Note I did this from the WEB-INF/lib/ directory in the WebViewerExample.

The servlet will now start, but still fails trying to run a report.

[Updated on: Thu, 01 September 2016 14:03]

Report message to a moderator

Re: BIRT runtime 4.6.0 [message #1743579 is a reply to message #1742304] Fri, 16 September 2016 14:28 Go to previous messageGo to next message
Marc Nadeau is currently offline Marc NadeauFriend
Messages: 1
Registered: September 2016
Junior Member
I am also having the same issue.
When the problem will be fix?
I cannot use birt 4.6.0 under tomcat 8 java 7 debian jessie
Do i have to go back to 4.5.0?
Thanks
Re: BIRT runtime 4.6.0 [message #1744323 is a reply to message #1743579] Sun, 25 September 2016 11:00 Go to previous messageGo to next message
Mario CC is currently offline Mario CCFriend
Messages: 6
Registered: April 2016
Junior Member
Same issue here. Tried to run runtime 4.6 in Apache 7.0 and 8.5 with Java 8. The engine does not start.
Re: BIRT runtime 4.6.0 [message #1744436 is a reply to message #1744323] Tue, 27 September 2016 00:19 Go to previous messageGo to next message
Peter Moreno is currently offline Peter MorenoFriend
Messages: 2
Registered: September 2016
Junior Member
Someone could make birt-runtime start under tomcat?
I have the same issue, once deploy if I try to start the app from tomcat I won't start:

AIL - Application at context path /birt could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]]

Log:
Sep 26, 2016 3:16:47 PM org.apache.catalina.core.ApplicationContext log
SEVERE: FAIL - Application at context path /birt could not be started
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:692)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
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:745)
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:286)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:239)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:317)
at java.util.jar.JarVerifier.update(JarVerifier.java:228)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:348)
at java.util.jar.JarFile.getInputStream(JarFile.java:415)
at org.apache.tomcat.util.scan.FileUrlJar.getEntryInputStream(FileUrlJar.java:97)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1930)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1897)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1882)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1314)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:873)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5392)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 27 more

Sep 26, 2016 3:16:47 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

Success histories?

Ubuntu 14.x tomcat7 Smile.
Re: BIRT runtime 4.6.0 [message #1745544 is a reply to message #1744436] Wed, 12 October 2016 11:13 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
Cannot get BIRT viewer 4.6.0 runtime to work with Tomcat 8.0.30 and Java 1.8.0_45.

This is the Catalina stacktrace:

12-Oct-2016 12:04:41.156 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/stresscontroller]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1777)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
        at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:284)
        at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238)
        at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
        at java.util.jar.JarVerifier.update(JarVerifier.java:228)
        at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
        at java.util.jar.JarFile.getInputStream(JarFile.java:450)
        at org.apache.catalina.webresources.JarResource.getJarInputStreamWrapper(JarResource.java:46)
        at org.apache.catalina.webresources.AbstractArchiveResource.doGetInputStream(AbstractArchiveResource.java:218)
        at org.apache.catalina.webresources.AbstractResource.getInputStream(AbstractResource.java:94)
        at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5081)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 10 more


Any ideas on how to solve this would be much appreciated!

Solution:

As reported in Bug 497356 logged on Bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=497356

The solution was to deleted the following files from the META-INF folder of the "org.eclipse.birt.runtime_4.6.0-20160607.jar" archive:

ECLIPSE_.RSA
ECLIPSE_.SF



[Updated on: Wed, 12 October 2016 15:46]

Report message to a moderator

Re: BIRT runtime 4.6.0 [message #1770104 is a reply to message #1745544] Tue, 08 August 2017 11:34 Go to previous message
David Ellis is currently offline David EllisFriend
Messages: 15
Registered: September 2010
Junior Member
I seem to have also been down this route. I was unable to run the BIRT 4.6.0 runtime (either the sample WebViewerExample, or within my own code) using Apache Tomcat 7.0.47 - was getting the same "Invalid signature file digest" error.

I found I had to delete the .RSA and .SF files from both the following jars:

org.eclipse.birt.runtime_4.6.0-20160607.jar
org.eclipse.datatools.connectivity.oda_3.5.0.201603142002.jar

This then worked OK for me.

[Updated on: Tue, 15 August 2017 12:30]

Report message to a moderator

Previous Topic:Count Dates <= today
Next Topic:reportContext.getMessage null in DEV Enviroment
Goto Forum:
  


Current Time: Sun Apr 22 12:58:14 GMT 2018

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

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