Home Analytics Developing analytics applications
The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

BIRT runtime 4.6 deployment issue in Tomcat 8.5.11

<div><span style="color:rgb(0,0,0);font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;background-color:rgb(244,244,244);">I have downloaded BIRT runtime 4.6.0 from the following URL. </span><br><br><a data-ipb='nomediaparse' href='http://download.eclipse.org/birt/downloads/index.php#runtime'>http://download.eclipse.org/birt/downloads/index.php#runtime</a><br><br><span style="color:rgb(0,0,0);font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;background-color:rgb(244,244,244);">Pre-requisite note states Java. I am running Windows 10 with Java </span>1.8.0_102<span style="color:rgb(0,0,0);font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;background-color:rgb(244,244,244);">. The WebViewerExample webapp will not start in Tomcat 8.5.11 (64bit).</span></div>
<div> </div>
<div><span style="color:rgb(0,0,0);font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;background-color:rgb(244,244,244);">I have followed all instructions to deploy birt-viewer in tomcat from following URL:</span></div>
<div> </div>
<div><a data-ipb='nomediaparse' href='http://www.eclipse.org/birt/documentation/integrating/viewer-setup.php'>http://www.eclipse.org/birt/documentation/integrating/viewer-setup.php</a></div&gt;
<div> </div>
<div>But it is throwing below errors in catalina.log file.</div>
<div> </div>
<div><span style="color:rgb(0,0,0);font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;background-color:rgb(244,244,244);">It is throwing below error</span></div>
<div> </div>
<div>SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: </div>
<div> org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt-viewer]]</div>
<div>at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)</div>
<div>at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)</div>
<div>at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)</div>
<div>at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)</div>
<div>at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)</div>
<div>at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)</div>
<div>at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)</div>
<div>at java.util.concurrent.FutureTask.run(Unknown Source)</div>
<div>at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</div>
<div>at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</div>
<div>at java.lang.Thread.run(Unknown Source)</div>
<div>Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes</div>
<div>at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)</div>
<div>at sun.security.util.SignatureFileVerifier.process(Unknown Source)</div>
<div>at java.util.jar.JarVerifier.processEntry(Unknown Source)</div>
<div>at java.util.jar.JarVerifier.update(Unknown Source)</div>
<div>at java.util.jar.JarFile.initializeVerifier(Unknown Source)</div>
<div>at java.util.jar.JarFile.getInputStream(Unknown Source)</div>
<div>at org.apache.catalina.webresources.AbstractSingleArchiveResource.getJarInputStreamWrapper(AbstractSingleArchiveResource.java:39)</div>
<div>at org.apache.catalina.webresources.AbstractArchiveResource.doGetInputStream(AbstractArchiveResource.java:230)</div>
<div>at org.apache.catalina.webresources.AbstractResource.getInputStream(AbstractResource.java:93)</div>
<div>at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:154)</div>
<div>at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4997)</div>
<div>at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)</div>
<div>... 10 more</div>
<div> </div>
<div>
<div>SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory C:\Tomcat\webapps\birt-viewer</div>
<div> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt-viewer]]</div>
<div>at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)</div>
<div>at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)</div>
<div>at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)</div>
<div>at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)</div>
<div>at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)</div>
<div>at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)</div>
<div>at java.util.concurrent.FutureTask.run(Unknown Source)</div>
<div>at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</div>
<div>at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</div>
<div>at java.lang.Thread.run(Unknown Source)</div>
</div>
<div> </div>
<div>I have searched through out web pages and tried options available in mentioned blogs but nothing seems to be working in favour and birt-web-viewer example is not working in tomcat 8 with java version 8. The blogs i have already tried are:</div>
<div> </div>
<div><a data-ipb='nomediaparse' href='https://www.eclipse.org/forums/index.php/t/1078982/'>https://www.eclipse.org/forums/index.php/t/1078982/</a></div&gt;
<div><a data-ipb='nomediaparse' href='https://bugs.eclipse.org/bugs/show_bug.cgi?id=497356'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=497356</a></div&gt;
<div> </div>
<div>After trying all possible options available over blogs, the final error available are:</div>
<div> </div>
<div>
<div>09-Mar-2017 08:43:30.690 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]</div>
<div>09-Mar-2017 08:43:30.822 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]</div>
<div>09-Mar-2017 08:43:30.922 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina</div>
<div>09-Mar-2017 08:43:30.991 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]</div>
<div>09-Mar-2017 08:43:30.991 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.11</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 10 2017 21:02:52 UTC</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.11.0</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_102</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_102-b14</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation</div>
<div>09-Mar-2017 08:44:24.433 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Tomcat</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Tomcat</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Tomcat</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Tomcat</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Tomcat\temp</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Tomcat\conf\logging.properties</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].</div>
<div>09-Mar-2017 08:44:24.448 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]</div>
<div>09-Mar-2017 08:44:25.118 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2j  26 Sep 2016)</div>
<div>09-Mar-2017 08:44:25.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]</div>
<div>09-Mar-2017 08:44:25.350 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read</div>
<div>09-Mar-2017 08:44:25.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]</div>
<div>09-Mar-2017 08:44:25.366 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read</div>
<div>09-Mar-2017 08:44:25.366 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1262 ms</div>
<div>09-Mar-2017 08:44:25.388 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina</div>
<div>09-Mar-2017 08:44:25.388 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.11</div>
<div>09-Mar-2017 08:44:25.388 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\birt-viewer</div>
<div>09-Mar-2017 08:44:31.867 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.</div>
<div>09-Mar-2017 08:44:33.291 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file</div>
<div>09-Mar-2017 08:44:33.292 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/birt-viewer] startup failed due to previous errors</div>
<div>09-Mar-2017 08:44:33.296 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\birt-viewer has finished in 7,908 ms</div>
<div>09-Mar-2017 08:44:33.296 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\docs</div>
<div>09-Mar-2017 08:44:33.332 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\docs has finished in 36 ms</div>
<div>09-Mar-2017 08:44:33.332 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\examples</div>
<div>09-Mar-2017 08:44:33.591 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\examples has finished in 259 ms</div>
<div>09-Mar-2017 08:44:33.592 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\host-manager</div>
<div>09-Mar-2017 08:44:33.617 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\host-manager has finished in 25 ms</div>
<div>09-Mar-2017 08:44:33.617 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\manager</div>
<div>09-Mar-2017 08:44:33.650 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\manager has finished in 33 ms</div>
<div>09-Mar-2017 08:44:33.651 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Tomcat\webapps\ROOT</div>
<div>09-Mar-2017 08:44:33.665 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Tomcat\webapps\ROOT has finished in 13 ms</div>
<div>09-Mar-2017 08:44:33.669 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]</div>
<div>09-Mar-2017 08:44:33.675 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]</div>
<div>09-Mar-2017 08:44:33.676 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 8307 ms</div>
</div>
<div> </div>
<div>I am looking forward for solution to run WebViewerExample (birt-runtime-4.6.0-20160607) successfully in tomcat server (8.5.11)</div>
Sign In or Register to comment.