Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Runnning RAP application on tomcat - getting exception
Runnning RAP application on tomcat - getting exception [message #507046] Mon, 11 January 2010 19:29 Go to next message
Lothar Werzinger is currently offline Lothar WerzingerFriend
Messages: 153
Registered: July 2009
Location: Bay Area
Senior Member
Hi, I am trying to deploy a rap application to a tomcat app server. I
started trying the example from
http://eclipsesource.com/blogs/2007/12/07/rap-deployment-par t-2-deploying-your-application-as-a-war-file/

I realized that for the current version of RAP (Helios M4) I needed to add
org.eclipse.help to the feature to fulfill the OSGI dependencies.

Now that the app finally starts it throws an exception that I can not
interpret. Maybe someone here can help me:

SEVERE: Servlet.service() for servlet equinoxbridgeservlet threw exception
java.lang.ClassNotFoundException:
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.rwt.internal.FacadesInitializer.load(FacadesInit ializer.java:22)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade . <clinit>(DisplayLCAFacade.java:29)
at
org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:65)

....


The OSGI console looks good:

osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.6.0.v20091204
Fragments=24
1 ACTIVE org.eclipse.equinox.common_3.6.0.v20091203
2 ACTIVE org.eclipse.update.configurator_3.2.101.R33x_v20070810
3 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.201001111119
4 ACTIVE org.eclipse.equinox.http.registry_1.0.100.201001111119
5 <<LAZY>> org.eclipse.core.contenttype_3.4.100.v20091109
8 RESOLVED org.eclipse.core.commands_3.5.0.I20090525-2000
9 <<LAZY>> org.eclipse.help_3.5.0.v20091130
11 ACTIVE org.eclipse.equinox.registry_3.5.0.v20091203
12 ACTIVE org.eclipse.equinox.preferences_3.3.0.v20091203
13 <<LAZY>> org.eclipse.core.expressions_3.4.100.v20091203
14 ACTIVE org.eclipse.equinox.app_1.2.100.v20091203
15 ACTIVE org.eclipse.rap.ui.workbench_1.3.0.20091214-1156
17 RESOLVED org.eclipse.osgi.services_3.2.0.v20090520-1800
18 ACTIVE org.eclipse.core.runtime_3.6.0.v20091204
19 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.201001111119
20 <<LAZY>> com.ibm.icu_4.0.1.v20090822
22 ACTIVE org.eclipse.rap.jface_1.3.0.20091214-1156
23 RESOLVED org.eclipse.rap.rwt_1.3.0.20091214-1156
24 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0
25 ACTIVE org.eclipse.rap.ui_1.3.0.20091214-1156
26 ACTIVE calc.ui.rap_1.0.0
27 ACTIVE org.eclipse.core.jobs_3.5.0.v20091125-1620


Any help is appreciated. Thanks in advance!

Lothar
Re: Runnning RAP application on tomcat - getting exception [message #507060 is a reply to message #507046] Mon, 11 January 2010 16:12 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Lothar,

you're missing the RWT Fragment with all the client-side stuff (qooxdoo,
widget LCAs, etc). Be sure to include org.eclipse.rwt.q07 fragment in
your deployment and your config.ini.

Regards,
Benny

Lothar Werzinger wrote:
> Hi, I am trying to deploy a rap application to a tomcat app server. I
> started trying the example from
> http://eclipsesource.com/blogs/2007/12/07/rap-deployment-par t-2-deploying-your-application-as-a-war-file/
>
> I realized that for the current version of RAP (Helios M4) I needed to add
> org.eclipse.help to the feature to fulfill the OSGI dependencies.
>
> Now that the app finally starts it throws an exception that I can not
> interpret. Maybe someone here can help me:
>
> SEVERE: Servlet.service() for servlet equinoxbridgeservlet threw exception
> java.lang.ClassNotFoundException:
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:506)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.eclipse.rwt.internal.FacadesInitializer.load(FacadesInit ializer.java:22)
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade . <clinit>(DisplayLCAFacade.java:29)
> at
> org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:65)
>
> ...
>
>
> The OSGI console looks good:
>
> osgi> ss
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.6.0.v20091204
> Fragments=24
> 1 ACTIVE org.eclipse.equinox.common_3.6.0.v20091203
> 2 ACTIVE org.eclipse.update.configurator_3.2.101.R33x_v20070810
> 3 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.0.201001111119
> 4 ACTIVE org.eclipse.equinox.http.registry_1.0.100.201001111119
> 5 <<LAZY>> org.eclipse.core.contenttype_3.4.100.v20091109
> 8 RESOLVED org.eclipse.core.commands_3.5.0.I20090525-2000
> 9 <<LAZY>> org.eclipse.help_3.5.0.v20091130
> 11 ACTIVE org.eclipse.equinox.registry_3.5.0.v20091203
> 12 ACTIVE org.eclipse.equinox.preferences_3.3.0.v20091203
> 13 <<LAZY>> org.eclipse.core.expressions_3.4.100.v20091203
> 14 ACTIVE org.eclipse.equinox.app_1.2.100.v20091203
> 15 ACTIVE org.eclipse.rap.ui.workbench_1.3.0.20091214-1156
> 17 RESOLVED org.eclipse.osgi.services_3.2.0.v20090520-1800
> 18 ACTIVE org.eclipse.core.runtime_3.6.0.v20091204
> 19 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.201001111119
> 20 <<LAZY>> com.ibm.icu_4.0.1.v20090822
> 22 ACTIVE org.eclipse.rap.jface_1.3.0.20091214-1156
> 23 RESOLVED org.eclipse.rap.rwt_1.3.0.20091214-1156
> 24 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> Master=0
> 25 ACTIVE org.eclipse.rap.ui_1.3.0.20091214-1156
> 26 ACTIVE calc.ui.rap_1.0.0
> 27 ACTIVE org.eclipse.core.jobs_3.5.0.v20091125-1620
>
>
> Any help is appreciated. Thanks in advance!
>
> Lothar


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: Runnning RAP application on tomcat - getting exception [message #507062 is a reply to message #507060] Mon, 11 January 2010 21:16 Go to previous message
Lothar Werzinger is currently offline Lothar WerzingerFriend
Messages: 153
Registered: July 2009
Location: Bay Area
Senior Member
Benjamin Muskalla wrote:

> Hi Lothar,
>
> you're missing the RWT Fragment with all the client-side stuff (qooxdoo,
> widget LCAs, etc). Be sure to include org.eclipse.rwt.q07 fragment in
> your deployment and your config.ini.

Thanks, that made it work.

> Regards,
> Benny

Lothar
Previous Topic:ComboViewer not nullable?
Next Topic:Running RAP 1.2.1 with property Client-side Library variant = DEBUG
Goto Forum:
  


Current Time: Thu Apr 25 15:36:22 GMT 2024

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

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

Back to the top