You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robert Nicholson <ro...@elastica.com> on 2002/06/13 00:14:36 UTC

Cannot get Cocoon going with Tomcat 4.0.3

Are the instructions in Installing Apache Cocoon document sufficent to get
it working? I've done what's described and it's not working for me.

I get the following in the browser

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.generate
Code(AbstractMarkupLanguage.java:377)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:365)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:328)
    at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:291)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
    at java.lang.Thread.run(Thread.java:496)


request-uri

/cocoon/


path-info


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Cannot get Cocoon going with Tomcat 4.0.3

Posted by leo leonid <te...@leonid.de>.


On Thursday, June 13, 2002, at 12:14  Uhr, Robert Nicholson wrote:

> Are the instructions in Installing Apache Cocoon document sufficent to 
> get
> it working? I've done what's described and it's not working for me.

consider using Tomcat 4.0.4 or 4.1.3.
thus instructions reduce to putting cocoon.war in webapps dir.
(I use RH7.2, JDK1.31)
/Leo


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>