Thanks for the hint. I am testing Cocoon 2.0.2 with JDK1.4 and Tomcat 4.0.3 I think the special install instructions for Tomcat 4.0.3 are problematic. I forgot to delete the 4 jars (xerces, xalan, xml-api, batik) from the Cocoon libs after rebuilding. (Stupid me!) However after following the instructions and deleting the 4 jars I got a different exception complaining about:
org.apache.avalon.framework.configuration.ConfigurationException: Type 'svg2png' is not defined for 'serialize' at file:/C:/Program Files/Apache Group/jakarta-tomcat-4.0.3/webapps/cocoon/sitemap.xmap:981:36 at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getTypeForStat ement(DefaultTreeBuilder.java:553) I finally figured that the batik.jar has to be in BOTH Tomcat\common\lib and cocoons\web-inf\lib Only that way I can bring up Cocoon and so far everything works fine. My rationale this also means for this configuration the install instructions don't do the job, because deleting batik.jar from cocoon screws everything up. Does anybody have an explanation for this and also why do we need special install steps for Tomcat 4.0.3 in the first place? Horst ----- Original Message ----- From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 7:56 PM Subject: RE: XML Reader giving problems Have you followed latest and greatest install instructions? Vadim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 10:44 PM To: [EMAIL PROTECTED] Subject: XML Reader giving problems Hi there, I have built the latest and greatest and suddenly get the following exception everytime a ServerPageGenerator gets used by a pipeline: org.apache.cocoon.ProcessingException: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader: java.lang.ClassCastException: org.apache.xerces.parsers.StandardParserConfiguration at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener ator.java:209) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin e(AbstractEventPipeline.java:202) I was able to track doen the following: org.xml.sax.helpers.XMLReader.createXMLReader(String className) throws a ClassCastException when executing: (XMLReader)(Class.forName(className).newInstance()); className seems to be: "org.apache.xerces.parser.SAXParser", which implements XMLReader but the actual class that eventually causes the problem seems to be an org.apache.xerces.parsers.StandardParserConfiguration, which does NOT implement XMLReader ??? Looks also as if there are 2 property files involved: org.xml.sax.driver contains "org.apache.xerces.parser.SAXParser" and org.apache.xerces.xni.parser.XMLParserConfiguration = "org.apache.xerces.parsers.StandardParserConfiguration" Does anybody have a clue about what's going on here? Thanks for any comments, Horst --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>