war deployment: java.lang.LinkageError? [message #128103] |
Thu, 16 April 2009 05:13  |
Eclipse User |
|
|
|
Folks;
deploying RAP as a .war file again: Having an application which works
flawlessly while running inside the IDE, as soon as I have it deployed to an
application server, I sooner or later stumble across this very error:
java.lang.RuntimeException: java.lang.LinkageError: loader constraint
violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name
"org/eclipse/core/databinding/observable/Realm"
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.handleUIThre adException(RWTLifeCycle.java:291)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.executeUIThr ead(RWTLifeCycle.java:271)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.java:154)
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$1.r un(LifeCycleServiceHandler.java:61)
[...]
root cause
java.lang.LinkageError: loader constraint violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name
"org/eclipse/core/databinding/observable/Realm"
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
unifiedclient.DefaultEntryPoint.createUI(DefaultEntryPoint.j ava:73)
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
java.lang.Thread.run(Thread.java:619)
[...]
As I manually had to start most of the bundles having the application
deployed to tomcat, I am not sure whether this just is a matter of bundle
start order... Any ideas on that, anyone?
TIA and all the best,
Kristian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03449 seconds