cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmitt, Christian" <Christian.Schm...@Dresdner-Bank.com>
Subject [C2] C2 and Tomcat 4.0 CVS (Class javax/servlet/http/HttpServletR equest violates loader constraints)
Date Wed, 13 Dec 2000 08:46:22 GMT
Hi all,
I had Cocoon 2 and Tomcat 4 (CVS) working for a couple of days, but since
yesterday I'm getting a strange error (see subject), and frankly I don't
know what's causing it.
Anyway, here's the offending XSP page:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
  language="java"
  xmlns:xsp="http://apache.org/xsp"
>
  <page>
    <xsp:expr>
      request.getSession(true)
    </xsp:expr>
  </page>
</xsp:page>

The error message says:
Error creating the resource: Class javax/servlet/http/HttpServletRequest
violates loader constraints

The stacktrace I'm getting looks like this:
org.apache.cocoon.ProcessingException: Class
javax/servlet/http/HttpServletRequest violates loader constraints
                   at
_home._cs._java._xml_apache._xml_cocoon_2._build._cocoon._webapp._session_bu
g_xml.generate(_session_bug_xml.java:77)
                   at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:149)
                   at
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201
)
                   at
_home._cs._java._xml_apache._xml_cocoon_2._build._cocoon._webapp._sitemap_xm
ap.process(_sitemap_xmap.java:899)
                   at
org.apache.cocoon.sitemap.Handler.process(Handler.java:138)
                   at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:89)
                   at org.apache.cocoon.Cocoon.process(Cocoon.java:243)
                   at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:314)
                   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:208)
                   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
                   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                   at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
                   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                   at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
                   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
                   at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
                   at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
                   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
                   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
                   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                   at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
811)
                   at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:890)
                   at java.lang.Thread.run(Thread.java:484)

Has anyone encountered that before? I'd sure appreciate any comments on
that.


Cheers,
Christian Schmitt

Mime
View raw message