Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » java.lang.LinkageError in SR1 WAR
java.lang.LinkageError in SR1 WAR [message #110595] Tue, 28 October 2008 04:32 Go to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi everybody!

I builded my application using RAP 1.1.1 and Eclipse 3.4 and it works
correctly in tomcat 5.0.28. When I migrate to 1.1.1 SR1 and 3.4.1, I
only see in browser the following 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
"javax/servlet/http/HttpServletResponse"
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:60)
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:176)
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:168)
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:133)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:45 )
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:33)
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:140)
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:100)
org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:120)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Re: java.lang.LinkageError in SR1 WAR [message #110633 is a reply to message #110595] Tue, 28 October 2008 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Boris,

please have a look here:
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg02322.html

HTH
Rüdiger

Boris Stepanov wrote:
> Hi everybody!
>
> I builded my application using RAP 1.1.1 and Eclipse 3.4 and it works
> correctly in tomcat 5.0.28. When I migrate to 1.1.1 SR1 and 3.4.1, I
> only see in browser the following 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
> "javax/servlet/http/HttpServletResponse"
> 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:60)
>
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:176)
>
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:168)
>
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:133)
>
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:45 )
>
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:33)
>
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:140)
>
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:100)
>
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:120)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Re: java.lang.LinkageError in SR1 WAR [message #110695 is a reply to message #110633] Wed, 29 October 2008 04:35 Go to previous message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Thanks, Rüdiger!
> Boris,
>
> please have a look here:
> http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg02322.html
>
> HTH
> Rüdiger
>
> Boris Stepanov wrote:
>> Hi everybody!
>>
>> I builded my application using RAP 1.1.1 and Eclipse 3.4 and it works
>> correctly in tomcat 5.0.28. When I migrate to 1.1.1 SR1 and 3.4.1, I
>> only see in browser the following 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
>> "javax/servlet/http/HttpServletResponse"
>>
>> 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:60)
>>
>>
>> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:176)
>>
>>
>> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:168)
>>
>>
>> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:133)
>>
>>
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:45 )
>>
>>
>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:33)
>>
>>
>> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:140)
>>
>>
>> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:100)
>>
>>
>> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
>>
>> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>>
>>
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>>
>>
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:120)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Previous Topic:Declaration for the UFacekit Project
Next Topic:Embedding Applet within RAP
Goto Forum:
  


Current Time: Tue Jan 31 19:40:09 GMT 2023

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

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

Back to the top