cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain FORET <>
Subject problem with the CLI
Date Wed, 06 Aug 2003 10:06:48 GMT
Hi all,

I'm very new to cocoon and i want to use it to generate a static web 
site (thus the CLI).
I find cocoon great, and I really want to be able to use it without 

My configuration is :
cocoon2.1rc1 (also tryed 2.1m3 with the same result)
jdk 1.4.1_03
linux debian woody 2.4.21

As a simple test I tryed the "html-pdf publishing" howto from the cocoon 
website (
I build cocoon from source
Updated the classpath in the script so that it finds the javax 
servlet classes it needs
Created a html-pdf directory in build/webapp/ with : sitemap.xmap, 
pageOne.xml, pageTwo.xml, doc2html.xsl, doc2pdf.xsl, xconf (see below)
Called the client with : "./  cli -x build/webapp/html-pdf/xconf"

The pages are generated, but I get a series of NullPointerExceptions 
that raise MalFormedURLExceptions  (see attached file for the full log).

I could not find any solution on this mailing list's archive or in any 
cocoon docs (I also read the wiki on CLI)
I tryed to trace the origin of the problem in the source code, but got 
lost :-)

What file is null and not found ?
Am I doing anything wrong when calling the CLI ?
Is there any problem in the way I created this simple site ?

Any help would be greatly appreciated.


My xconf looks like:

+----- cocoon.xconf -----+

<?xml version="1.0"?>

<cocoon verbose="true" 

<broken-links type="xml"

<logging log-kit="build/webapp/WEB-INF/logkit.xconf" logger="cli" 
level="DEBUG" />







<uri type="append" src-prefix="html-pdf/" src="pageTwo.pdf" 


+----- cocoon.xconf -----+

View raw message