If you read the error message it tells you that the problem is that it can find the file you specified. It might be a better idea to take this to the cocoon users list.
Carlos ----- Original Message ----- From: "Martin Polley" <[EMAIL PROTECTED]> To: "Martin Polley" <[EMAIL PROTECTED]> Cc: "docbook-apps" <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 06:43 Subject: Re: DOCBOOK-APPS: Can't generate PDFs with Cocoon > A follow-up: > > I just upgraded my XSL stylesheets from 1.52.2 to 1.57.0. > > Cocoon now gives me this error message: > > Cocoon 2 - Internal server error > > type fatal > > message Could not read resource > file:/opt/jakarta/tomcat/webapps/cocoon/mount/writestuff/index.xml > > description org.apache.cocoon.ProcessingException: Could not read > resource > file:/opt/jakarta/tomcat/webapps/cocoon/mount/writestuff/index.xml: > java.lang.RuntimeException: java.lang.NullPointerException > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > Any ideas, folks? > > TIA, > > Martin Polley > Underemployed Technical Communicator > Tel +972-4-6677165 > Mobile +972-53-864280 > > On Mon, 2003-01-20 at 11:51, Martin Polley wrote: > Hi all, > > I can get Cocoon to generate a PDF of a very simple DocBook XML article > (just a few elements), but with anything bigger, the "PDF" that is > generated is simply the Cocoon HTML error message page with a PDF > extension. > > This page contains the following (followed by the stack trace, which I > won't include here): > > Cocoon 2 - Internal server error > > type fatal > > message null > > description java.lang.NullPointerException > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > Then I have to restart Tomcat to get it working again. > > Daes anyone have a clue about *what is going wrong here*? > > (If the Tomcat log entries and the Cocoon stack trace could help anyone > figure out what is going on here, I will post them.) > > Versions: > > OS--Gentoo Linux 1.2 > Tomcat--4.0.6 > Cocoon--2.0.2 > DocBook XSL stylesheets--1.52.2 > DocBook DTD--4.1.2 > > TIA, > > Martin Polley > Underemployed Technical Communicator > Tel +972-4-6677165 > Mobile +972-53-864280 > > > >