Upayavira,

Thanks a lot for your anwser.
I check the URIs through a servlet with the build-in jetty, and they work fine, without generating any Exception.
I dont think that the problem comes from there, since the CLI does generate the URI I'am asking properly (but with these exceptions).
The problem probably stems from another file that cocoon cannot read ... but I really can't figure out which one (I checked the logger config file, the cocoon.xconf, and other resources declared in my CLI xconf file ... they seem to be properly declared and found).


Any hint ?

Sylvain

Upayavira wrote:

Sylvain,



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
(http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html) I
build cocoon from source Updated the classpath in the cocoon.sh 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 : "./cocoon.sh  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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to