cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Jetty and Cocoon2, help?
Date Mon, 11 Mar 2002 20:45:00 GMT
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:skansen@telia.com]
> 
> 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" <vadim.gritsenko@verizon.net>
> To: <cocoon-users@xml.apache.org>
> Sent: Monday, March 11, 2002 8:44 PM
> Subject: RE: Jetty and Cocoon2, help?
> 
> 
> > > From: Skansen [mailto:skansen@telia.com]
> > >
> > > 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message