cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject Re: problem with the CLI
Date Wed, 06 Aug 2003 10:55:04 GMT

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

The first thing to do is to check that the URI of the page is correct - try viewing the 
same page via a servlet, and make sure it works with the URI you have provided.

Usually these problems have been to do with getting my URIs right.

Try that and let us know.

Regards, Upayavira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message