[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Re: error running RAp application under equinoz 3.5

thanks for that however it still gives me the same error. here is how I start my equinox server:
/usr/java/jdk-1.6/bin/java -Dosgi.compatability.bootdeligation=true -jar ./plugins/org.eclipse.osgi_3.5.0.v20090520.jar -configuration configuration -ws gtk -debug -consolelog -clean -noExit -console 10001


any ideas?

Benjamin Muskalla wrote:
Hi Mark,

I just fixed the issue by importing all necessary bundles in RWT. The fix will be delivered with RAP 1.3 M1.
In the meantime, adding "-Dosgi.compatibility.bootdelegation=true" should do the trick for you (in case you're using Equinox as OSGi implementation).


Normally this is not a problem as Equinox runs in this compatibility mode by default.

Greets
  Ben

Mark Russell wrote:
I followed the instructions on issue 284739 and still get the same exception.

are there any other ways to fix this?

also does this mean that every rap application has this issue?

Ralf Sternberg wrote:
Hi Mark,

this is due to a have a missing import for javax.xml.parsers.
Please see bug 284739:

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

Regards, Ralf

Mark Russell wrote:
I have a rap application and it runs fine when I run it under eclipse. However when I run it under Equinox i get this error
java.lang.NoClassDefFoundError:
javax/xml/parsers/ParserConfigurationException
at
org.eclipse.rwt.internal.theme.ThemeManager.loadThemeDef(ThemeManager.java:516)



at
org.eclipse.rwt.internal.theme.ThemeManager.processThemeableWidget(ThemeManager.java:484)



at
org.eclipse.rwt.internal.theme.ThemeManager.initialize(ThemeManager.java:212)



at
org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper.registerThemes(EngineConfigWrapper.java:288)



at
org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper.<init>(EngineConfigWrapper.java:83)



at
org.eclipse.rap.ui.internal.servlet.RequestHandler.init(RequestHandler.java:39)



at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)



at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)




Can any one shed some light on why this is happening?

Mark Russell
Build Master
Instantiations, Inc
http://www.instantiations.com