tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: cocoon2.0.1 under tomcat4.0.2LE jdk1.4
Date Tue, 12 Feb 2002 17:18:34 GMT
> Hi,
>
> Apparently cocoon still breaks under jdk1.4 with the new release of
> tomcat4.0.2 for jdk1.4.
> Any hints?

4.0.2 now tries to implement the requirement of preventing to load a shared
library from the webapp loader. Unfortunately, the feature is not smart
enough at the moment, and will filter out any DOM or SAX related class.

To fix it, move the DOM classes in 'lib' or 'common/lib'.

Remy

> The error you get is:
>
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
> exception
>         at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
>         at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv
e.java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
>         at java.lang.Thread.run(Thread.java:536)
>
> root cause
>
> java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at
>
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1631)
>         at
>
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:926)
>         at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1360)
>         at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1243)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
>         at
>
org.apache.xerces.validators.dtd.DTDGrammar.callStartDTD(DTDGrammar.java:194
)
>         at
>
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1079)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2145)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j
ava:2100)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:831)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
>         at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
>         at
> org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:182)
>         at org.apache.cocoon.Cocoon.configure(Cocoon.java:330)
>         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:267)
>         at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:991)
>         at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:308)
>         at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
>         at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
>         at java.lang.Thread.run(Thread.java:536)
>
> --  Dirk
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message