I've followed the instructions in 

> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101509865506696&w=2

which i interperted as follows.
* copy xalan, xerces, xml-apis, batik to a directory 
* add jars in the above directory to the classpath for jetty
* remove xt from the cocoon servlet

* uncomment extra-classpath in web.xml and add the path to above jars
* do clean build
* remove the above mentioned jars from the servlet

When i've done the above i get a new error which i haven't the slitest clue at:

Cocoon 2 - Internal server error

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load class for 
program 'org\apache\cocoon\www\sitemap_xmap' due to a 
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load class for 
program 'org\apache\cocoon\www\sitemap_xmap' due to a 
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:335)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:291)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
 at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.components.language.LanguageException: Could not load class for 
program 'org\apache\cocoon\www\sitemap_xmap' due to a 
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
 at 
org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProgram(JavaLanguage.java:186)
 at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:201)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:383)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:328)
 at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(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


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


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

Attachment: error.log
Description: Binary data

Attachment: sitemap.log
Description: Binary data

Attachment: core.log
Description: Binary data

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