This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Can't generate PDFs with Cocoon
- From: Martin Polley <martin_keren at shaar-hagolan dot co dot il>
- To: Martin Polley <martin_keren at shaar-hagolan dot co dot il>
- Cc: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 20 Jan 2003 14:43:44 +0000
- Subject: Re: DOCBOOK-APPS: Can't generate PDFs with Cocoon
- References: <1043063486.9456.35.camel@localhost.localdomain>
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