Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Gemini web does not run Eclipse BIRT viwer webapp
Gemini web does not run Eclipse BIRT viwer webapp [message #1840729] Thu, 22 April 2021 21:37
Pablo  eltrán is currently offline Pablo eltránFriend
Messages: 20
Registered: November 2014
Junior Member
Hi,

We are evaluating Gemini Web to run some web apps for several large international organizations as it is only possible doing it via OSGi (due to strict configuration restrictions).

I've built the new 4.9.0 version of Eclipse BIRT.

The BIRT viewer web app runs fine on Tomcat. However, just the same war raises an exception with Gemini Web (3.0.6 version):

========================
osgi> start 47
Apr 22, 2021 11:28:30 PM org.apache.catalina.core.StandardContext setClassLoaderProperty
INFO: Unable to set the web application class loader property [clearReferencesObjectStreamClassCaches] to [true] as the property does not exist.
Apr 22, 2021 11:28:30 PM org.apache.catalina.core.StandardContext setClassLoaderProperty
INFO: Unable to set the web application class loader property [clearReferencesThreadLocals] to [true] as the property does not exist.
Apr 22, 2021 11:28:34 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
Apr 22, 2021 11:28:34 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class [org.eclipse.birt.report.listener.ViewerServletContextListener]
java.lang.ClassNotFoundException: org.eclipse.birt.report.listener.ViewerServletContextListener
at org.eclipse.gemini.web.tomcat.internal.loader.BundleWebappClassLoader.loadClass(BundleWebappClassLoader.java:318)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:545)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:526)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4613)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:125)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:109)
at org.eclipse.gemini.web.extender.WebContainerBundleCustomizer.addingBundle(WebContainerBundleCustomizer.java:49)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:499)
at org.eclipse.osgi.container.Module.start(Module.java:486)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.apache.felix.gogo.command.Basic.start(Basic.java:739)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:139)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:91)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Apr 22, 2021 11:28:34 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class [org.eclipse.birt.report.listener.ViewerHttpSessionListener]
java.lang.ClassNotFoundException: org.eclipse.birt.report.listener.ViewerHttpSessionListener
at org.eclipse.gemini.web.tomcat.internal.loader.BundleWebappClassLoader.loadClass(BundleWebappClassLoader.java:318)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:545)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:526)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4613)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:125)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:109)
at org.eclipse.gemini.web.extender.WebContainerBundleCustomizer.addingBundle(WebContainerBundleCustomizer.java:49)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:945)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:232)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:499)
at org.eclipse.osgi.container.Module.start(Module.java:486)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.apache.felix.gogo.command.Basic.start(Basic.java:739)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:139)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:91)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Apr 22, 2021 11:28:34 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Apr 22, 2021 11:28:34 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Apr 22, 2021 11:28:34 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/birt] startup failed due to previous errors
========================

The console output is:

======================
osgi> ss
"Framework is launched."


id State Bundle
0 ACTIVE org.eclipse.osgi_3.16.0.v20200828-0759
1 ACTIVE org.apache.felix.gogo.command_1.0.2.v20170914-1324
2 ACTIVE org.apache.felix.gogo.runtime_1.1.0.v20180713-1646
3 ACTIVE org.apache.felix.gogo.shell_1.1.0.v20180713-1646
4 ACTIVE org.eclipse.equinox.console_1.4.200.v20200828-1034
5 ACTIVE org.eclipse.gemini.web.core_3.0.6.RELEASE
6 ACTIVE org.eclipse.gemini.web.extender_3.0.6.RELEASE
7 RESOLVED org.eclipse.gemini.web.jaspic.fragment_3.0.6.RELEASE
Master=18
8 ACTIVE org.eclipse.gemini.web.tomcat_3.0.6.RELEASE
12 RESOLVED com.springsource.javax.activation_1.1.1
13 RESOLVED javax.annotation_1.2.0.v201401042248
14 RESOLVED javax.ejb_3.1.1.v201204261316
15 RESOLVED javax.el_3.0.0.20200621
16 RESOLVED javax.mail_1.4.0.v201005080615
17 RESOLVED javax.persistence_2.1.0.v201304241213
18 RESOLVED javax.security.auth.message_1.1.0.20200621
Fragments=7
19 RESOLVED javax.servlet_3.1.0.20200621
20 RESOLVED javax.servlet.jsp_2.3.0.20200621
21 RESOLVED javax.transaction_1.1.0.v201205091237
22 RESOLVED javax.websocket_1.1.0.20200621
23 RESOLVED javax.xml.rpc_1.1.0.v201005080400
24 RESOLVED javax.xml.soap_1.3.0.v201105210645
25 RESOLVED org.apache.catalina_8.5.56
Fragments=27, 34, 30, 35, 28, 26, 36
26 RESOLVED org.apache.catalina.ha_8.5.56
Master=25
27 RESOLVED org.apache.catalina.tribes_8.5.56
Master=25
28 RESOLVED org.apache.coyote_8.5.56
Master=25
29 RESOLVED org.apache.el_8.5.56
30 RESOLVED org.apache.jasper_8.5.56
Master=25
31 RESOLVED org.apache.juli_8.5.56
32 RESOLVED org.apache.tomcat.api_8.5.56
33 RESOLVED org.apache.tomcat.jni_8.5.56
34 RESOLVED org.apache.tomcat.util_8.5.56
Master=25
35 RESOLVED org.apache.tomcat.util.scan_8.5.56
Master=25
36 RESOLVED org.apache.tomcat.websocket_8.5.56
Master=25
37 RESOLVED org.eclipse.jdt.core.compiler.batch_3.12.3.v20170228-1205
38 RESOLVED org.eclipse.virgo.util.common_3.6.3.RELEASE
39 RESOLVED org.eclipse.virgo.util.io_3.6.3.RELEASE
40 RESOLVED org.eclipse.virgo.util.math_3.6.3.RELEASE
41 RESOLVED org.eclipse.virgo.util.osgi_3.6.3.RELEASE
42 RESOLVED org.eclipse.virgo.util.osgi.manifest_3.6.3.RELEASE
43 RESOLVED org.eclipse.virgo.util.parser.manifest_3.6.3.RELEASE
44 RESOLVED org.slf4j.api_1.7.2.v20121108-1250
Fragments=45
45 RESOLVED org.slf4j.nop_1.7.2.v201212060727
Master=44
47 ACTIVE unknown_0.0.0 [47]
49 ACTIVE osgi.web.app_0.0.1
=============

FYI, the "osgi.web.app" works fine as well as other simple web apps.

How to fix it?

Thanks,
Pablo
Previous Topic: gemini web Failed to start component
Next Topic:blueprintContainer bean not found
Goto Forum:
  


Current Time: Tue Oct 08 09:09:35 GMT 2024

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

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

Back to the top