Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Another deployment error
Another deployment error [message #24279] Mon, 14 May 2007 06:39 Go to next message
Eclipse UserFriend
Hello,
I deploy my RAP application in jboss. I deployed the rap demo and my own
application. Now, as I restart the server, somtimes the error at the end of
this post occurs.
It seems to me that the cause is an "Invalid class loader hierarchy"
exception caused by "org.apache.commons.logging". I could understand this
exception if it occurs everytime as the rap demo and my rap apllication both
include the plugin "org.apache.commons.logging". But the exception does not
occur everytime I restart. So, does anyone know why this problem can occur
and how it can be fixed?

Thanks in advance,
Markus



2007-05-14 13:24:23,351 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localho st].[/ionrap].[equinoxbridgeservlet]]
Servlet.service() for servlet equinoxbridgeservlet threw exception
java.lang.ExceptionInInitializerError
at org.apache.catalina.connector.Response.addCookie(Response.ja va:947)
at org.apache.catalina.connector.Request.doGetSession(Request.j ava:2234)
at org.apache.catalina.connector.Request.getSession(Request.jav a:2024)
at
org.apache.catalina.connector.RequestFacade.getSession(Reque stFacade.java:831)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(Http ServletRequestWrapper.java:215)
at
org.eclipse.equinox.http.servlet.internal.HttpServletRequest Adaptor.getSession(HttpServletRequestAdaptor.java:146)
at
com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:53)
at
com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:177)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConnectionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :353)
at org.apache.tomcat.util.http.ServerCookie.<clinit>(ServerCookie.java:39)
... 37 more
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:397)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:529)
... 41 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid
class loader hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:385)
... 42 more
Re: Another deployment error [message #24649 is a reply to message #24279] Tue, 15 May 2007 17:47 Go to previous message
Eclipse UserFriend
Originally posted by: jkrause.innoopract.com

Hi Markus,

We have not yet encountered the problem you are describing. I would
suggest posting your problem to the eclipse.technology.equinox
newsgroup, as this is potentially a general equinox osgi problem.

Jochen

Markus Krüger wrote:
> Hello,
> I deploy my RAP application in jboss. I deployed the rap demo and my own
> application. Now, as I restart the server, somtimes the error at the end of
> this post occurs.
> It seems to me that the cause is an "Invalid class loader hierarchy"
> exception caused by "org.apache.commons.logging". I could understand this
> exception if it occurs everytime as the rap demo and my rap apllication both
> include the plugin "org.apache.commons.logging". But the exception does not
> occur everytime I restart. So, does anyone know why this problem can occur
> and how it can be fixed?
>
> Thanks in advance,
> Markus
>
>
>
> 2007-05-14 13:24:23,351 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localho st].[/ionrap].[equinoxbridgeservlet]]
> Servlet.service() for servlet equinoxbridgeservlet threw exception
> java.lang.ExceptionInInitializerError
> at org.apache.catalina.connector.Response.addCookie(Response.ja va:947)
> at org.apache.catalina.connector.Request.doGetSession(Request.j ava:2234)
> at org.apache.catalina.connector.Request.getSession(Request.jav a:2024)
> at
> org.apache.catalina.connector.RequestFacade.getSession(Reque stFacade.java:831)
> at
> javax.servlet.http.HttpServletRequestWrapper.getSession(Http ServletRequestWrapper.java:215)
> at
> org.eclipse.equinox.http.servlet.internal.HttpServletRequest Adaptor.getSession(HttpServletRequestAdaptor.java:146)
> at
> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:53)
> at
> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
> at
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:41)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:177)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:115)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:202)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:175)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:74)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
> at
> org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConnectionValve.java:156)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
> at
> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWorkerThread.java:112)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.))
> at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:543)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:235)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:209)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :353)
> at org.apache.tomcat.util.http.ServerCookie.<clinit>(ServerCookie.java:39)
> ... 37 more
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
> org.apache.commons.logging.LogConfigurationException: Invalid class loader
> hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:397)
> at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:529)
> ... 41 more
> Caused by: org.apache.commons.logging.LogConfigurationException: Invalid
> class loader hierarchy. You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.
> at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:385)
> ... 42 more
>
>
Previous Topic:Error deploy on tomcat (linux)
Next Topic:Move package org.eclipse.ui.entrypoint to org.eclipse.ui.application
Goto Forum:
  


Current Time: Sat May 10 06:30:11 EDT 2025

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

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

Back to the top