> From: Skansen [mailto:[EMAIL PROTECTED]] > > Thank for the prompt reply > > I've not found the [solution] thread yout refer to and not the > insatalltion insturcitons either.
Here it is: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101509865506696&w=2 > 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. See in the link above. Hope it helps. Vadim > //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 > > > tBuilderFactoryImpl > > > - > > > > > > Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact > > > oryImpl > > > - > > > > > > Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Trans > > > formerFactoryImpl > > > > > > -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 > > > <snip/> --------------------------------------------------------------------- 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]>