Geoff Howard wrote:

see zero dee ee be one you ee wrote:

Disclaimer: I reviewed the archives for this, found one related question, but did not see the resolution.

Config: Win2k, Java SDK 1.4.0, Tomcat 4.0.3, Cocoon 2.0.4.


Out of curiousity, Why 2.0 when we just released 2.1?

I've downloaded the binary distribution and installed as directed. I hit http://127.0.0.1:8080/cocoon and get a fatal error with the following message:

SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader


Sounds like you didn't follow the JDK 1.4 specific part
of the instructions.  Copy the "endorsed" jars (xalan's
jar, xerces' jar, xml-apis jar and xsltc jar if it's there)
from cocoon's lib into %TOMCAT_HOME%\common\endorsed first
removing anything else that may be there.

Also, when using Tomcat 4.0.3 the following needs to be done: (from the Cocoon website)

Installing on Tomcat 4.0.3

If you have to use Tomcat 4.0.3, you have to replace its XML parser with the one shipped with Cocoon.

1. Remove tomcat/common/lib/xerces.jar file.
2. Copy following libraries from the cocoon/lib/core directory to the tomcat/common/lib directory:


                  * xalan-XXX.jar
                  * xercesImpl-XXX.jar
                  * xml-apis.jar

3. Copy cocoon/lib/optional/batik-all-XXX.jar to the tomcat/common/lib directory.
4. Edit extra-classpath parameter in the cocoon/src/webapp/WEB-INF/web.xml file:


For Windows:

<init-param>
  <param-name>extra-classpath</param-name>
  <param-value>C:\tomcat\common\lib\xalan-XXX.jar;
C:\tomcat\common\lib\xercesImpl-XXX.jar;
C:\tomcat\common\lib\xml-apis.jar;
C:\tomcat\common\lib\batik-all-XXX.jar</param-value>
</init-param>

HTH, HAND
Martijn Bouterse



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to