Thank for the prompt reply

I've not found the [solution] thread yout refer to and not the insatalltion 
insturcitons either.

I did find a lot about 4.02 and cocoon but i didn't give me any clue.

I dont follow you on:

* add extra-classpath
* removing xml jars

could your explain a bit more, please.

//Jakob

----- Original Message ----- 
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 7:35 PM
Subject: RE: Jetty and Cocoon2, help?


> I've seen this with Tomcat 4.0.2... Try adding extra-classpath and
> removing xml jars from the cocoon's WEB-INF as described in cocoon +
> tomcat 4.02+ installation instructions - published here on the list with
> the prefix [SOLUTION]. It may help.
> 
> Regards,
> Vadim
> 
> > -----Original Message-----
> > From: Skansen [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 11, 2002 1:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: Jetty and Cocoon2, help?
> > 
> > Hello,
> > 
> > I have been tracking this list for a while and is just starting to use
> > coocoon2.
> > 
> > My problem is that i'm not able to get cocoon2 running with jetty.
> > I think i'm missing som jar or have configuered the parser wrong.
> > 
> > Can anbody help me or should i give tomcat a try instead.
> > 
> > regards
> > 
> > //Jakob
> > 
> > * I have succesfully downloaded from cvs and compiled cocoon 2.
> > * I have read the posted information about jetty and cocoon2.
> > * I'm  running jetty4 from cvs sources.
> > 
> > * The classpath configuration is as follows:
> > 
> > rem ===========================================================
> > rem == set CLASSPATH
> > rem ===========================================================
> > echo ..Set classpath
> > set CP=%JETTY_HOME%\lib\javax.servlet.jar
> > set CP=%CP%;%JETTY_HOME%\lib\javax.servlet.jar
> > set CP=%CP%;%JETTY_HOME%\lib\org.mortbay.jetty.jar
> > rem set CP=%CP%;%JETTY_HOME%\lib\javax.xml.jaxp.jar
> > set CP=%CP%;%JETTY_HOME%\cocoon-lib\xercesImpl.jar    //from cocoon2
> lib
> > set CP=%CP%;%JETTY_HOME%\cocoon-lib\xml-APIs.jar        // from
> cocoon2 lib
> > set CP=%CP%;%JETTY_HOME%\cocoon-lib\xalan.jar               // from
> cocoon2
> > lib
> > rem set CP=%CP%;%JETTY_HOME%\lib\org.apache.crimson.jar
> > set CP=%CP%;%JETTY_HOME%\lib\org.apache.jasper.jar
> > set CP=%CP%;%JETTY_HOME%\lib\com.sun.net.ssl.jar
> > set CP=%CP%;%JAVA_HOME%\lib\tools.jar
> > set CP="%CP%"
> > 
> > * i have installed and unpacked cocoon2 in jetty/webapps
> > 
> > * the commandline arguments is as follows:
> > %JAVA_HOME%\bin\java
> > -
> >
> Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Documen
> tBuild
> > erFactoryImpl
> > -
> >
> Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact
> oryImp
> > l
> > -
> >
> Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Trans
> former
> > FactoryImpl
> > 
> > -cp %CP% org.mortbay.jetty.Server %ARGS%
> > 
> > 
> > * when i start cocoon and acces it as "htttp://localhost:8080/cocoon/
> " i get
> > the following respons 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.gene
> rateCo
> > de(AbstractMarkupLanguage.java:377)
> >  at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
> erateR
> > esource(ProgramGeneratorImpl.java:365)
> >  at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
> ateRes
> > ource(ProgramGeneratorImpl.java:328)
> >  at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> d(Prog
> > ramGeneratorImpl.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
> > 
> > 
> > * see atached files for errorlogs.
> 
> 
> ---------------------------------------------------------------------
> 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