cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: SAXParser does not implement XMLReader
Date Mon, 07 Jul 2003 19:56:44 GMT


sharrison@licor.com wrote:

> http://cocoon.apache.org/2.0/installing/index.html

> Cocoon 2.0.4
> Tomcat 4.0.4
> JDK 1.3.1_04
> RedHat Linux kernel version 2.4.7-10

> Cocoon 2 - Internal server error
> 
> SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement 
> XMLReader
> 
> java.lang.ClassCastException: 
> org.apache.xerces.parsers.StandardParserConfiguration
> at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
> etc. etc.

> 2) removed 2 jar files from /var/tomcat4/common/lib/:
> xalan.jar
> xercesImpl.jar

ok

> 3) copied 4 jar files from /var/tomcat4/webapps/cocoon/WEB-INF/lib to 
> /var/tomcat4/common/lib:
> batik-all-1.5b2.jar
> xalan-2.3.1.jar
> xercesImpl-2.0.0.jar
> xml-apis.jar

wrong directory, copy them to /var/tomcat4/common/endorsed/
(but only the three x*.jar, batik*.jar is not needed!)

> NOTE: these files were available because Tomcat had previously exploded 
> the cocoon.war file for me.
> 
> 4) Added the following line to the startup script at /usr/bin/dtomcat:
> 
> CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/common/lib/xercesImpl-2.0.0.jar:"$CATALINA_HOME"/common/lib/xalan-2.3.1.jar:"$CATALINA_HOME"/common/lib/xml-apis.jar:"$CATALINA_HOME"/common/lib/batik-all-1.5b2.jar

not necessary, revert the change.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message