Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » war deployment: java.lang.LinkageError?
war deployment: java.lang.LinkageError? [message #128103] Thu, 16 April 2009 09:13 Go to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
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
Re: war deployment: java.lang.LinkageError? [message #128497 is a reply to message #128103] Fri, 17 April 2009 16:47 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
did you read the "java.lang.LinkageError in SR1 WAR" thread?


Kristian Rink wrote:
> 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
Re: war deployment: java.lang.LinkageError? [message #132241 is a reply to message #128497] Mon, 11 May 2009 13:39 Go to previous message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Hi Rüdiger;

Rüdiger Herrmann schrieb:
> did you read the "java.lang.LinkageError in SR1 WAR" thread?

I see, thanks. Different duplicate bundle, same problem it seems. But at
least it is working now... :)

Thanks a bunch,
Kristian
Previous Topic:war deployment, configurator and starting services?
Next Topic:Suppress browser shortcuts, key event bubbling
Goto Forum:
  


Current Time: Thu Apr 25 08:58:33 GMT 2024

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

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

Back to the top