Hey, it worked, I just placed xercex-XXX along with batik, xalan, xml-apis into common lib . The error I was making was in web.xml. I had to put all this param-value in single line and not multiple lines.
Now I want to make a test app of my own . how do I start. -----Original Message----- From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:45 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat error, BeginnerQuestion Just curious. What did you change in the web.xml? And why did you remove xerces? What version of Xerces did you use? -----Oorspronkelijk bericht----- Van: Rajeev Singh [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 24 mei 2002 12:20 Aan: [EMAIL PROTECTED] Onderwerp: Tomcat error, BeginnerQuestion I am using Tomcat4.0.3. I have removed xerces and placed xalanXXX, xercesXXX and xml-apis.jar and change entries in web.xml and restarted the tomcat. I got following exception. I am using Cocoon2.0.2. ====Error starts here===== type fatal message SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader description java.lang.ClassCastException: org.apache.xerces.parsers.StandardParserConfiguration sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace java.lang.ClassCastException: org.apache.xerces.parsers.StandardParserConfiguration at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.gene rateCode(AbstractMarkupLanguage.java:377) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen erateResource(ProgramGeneratorImpl.java:365) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre ateResource(ProgramGeneratorImpl.java:328) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(ProgramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:484) request-uri /cocoon/ path-info ==================error ends============== --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>