On Fri, 30 Mar 2001, Christian Parpart wrote:
> Hi,
>
> I am using Tomcat/4.0-dev with Cocoon 1.8.3 and got the following
> error message when compiling a dynamic .xml page:
>
You might get more assistance on the Cocoon list, but one thing that
should definitely be avoided is having a copy of the servlet API classes
(servlet.jar) inside your "WEB-INF/lib" directory, or installed as a
system extension in your $JAVA_HOME/jre/lib/ext directory. Doing either
of these things will interfere with the way that Tomcat 4.0 loads the
servlet API classes (which are loaded from a classloader that is visible
both to Catalina internals and to web apps).
Craig McClanahan
> [--------------------------------------------
> java.lang.LinkageError: Class
> javax/servlet/http/HttpServletRequest violates loader constraints
> at
> _home._eko._public_web._index.populateDocument(_index.java:1662)
> at
> org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
> at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
> at org.apache.cocoon.Engine.handle(Engine.java:375)
> at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> ...
> -----------------------------]
>
> But, I know it has been successfull a few days ago. But I had to
> reinstall my JDK (because of some other problems).
>
> Does anyone know, how to fix the problem?
>
> Thanks in advance,
> Christian Parpart
> [EMAIL PROTECTED]
>
>
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net