I had the same problem and it worked ok when I use xerces1.4 instead of 
version 2.Not sure if that apply to your case.


> 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]>

Reply via email to