I've found the empty pipeline and corrected it and  instead  the following was 
recivied when
accessing localhost:8080/cocoon/

HTTP ERROR: 404 Could not find resource for /welcome
RequestURI=/welcome

the url was also rewritten as localhost:8080/welcome

Updated from the CVS and also got the above respons


Any clue for the next step?


//Jakob

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


> You are on the right path.
> 
> >From the core.log:
> -----------------------------------------------
> WARN    (2002-03-11) 21:17.41:210   [core.xslt-processor](/cocoon/)
> SocketListener-0/TraxErrorHandler: Error in TraxTransformer:
> jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
> /org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
> Line 1797; Column 34; 
> ; SystemID:
> jar:file:/C:/CVS2/Jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar!
> /org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
> Line#: 1797; Column#: 34
> javax.xml.transform.TransformerException: Sitemap pipeline must have at
> least one of: map:generate, map:aggregate, map:read, map:mount,
> map:redirect-to, map:call.
> -----------------------------------------------
> 
> Fix the error in the sitemap and try again. You have empty
> <map:pipeline/> somewhere in the sitemap.xmap.
> 
> PS If you have Saturdday/Sunday's CVS version of Cocoon - update it.
> 
> Vadim
> 
> 
> > From: Skansen [mailto:[EMAIL PROTECTED]]
> > 
> > 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.cre
> ateRes
> > ource(ProgramGeneratorImpl.java:335)
> >  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)
> > 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.load
> Progra
> > m(JavaLanguage.java:186)
> >  at
> >
> org.apache.cocoon.components.language.programming.CompiledProgrammingLan
> guage.
> > load(CompiledProgrammingLanguage.java:201)
> >  at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
> erateR
> > esource(ProgramGeneratorImpl.java:383)
> >  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
> > 
> > 
> > ----- 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
> 
> <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: 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