Okay, I ran fop using the command line with sample files built with the servlet in the windows environment in the Redhat 2.1 environment using the xalan jar from the endorsed library in JBoss 4.0.3SP1. It ran just fine.
Any ideas from here?
Thanks
John
On 3/20/06, Andreas L Delmelle <[EMAIL PROTECTED]
> wrote:
On Mar 20, 2006, at 21:24, John Quinn wrote:
H,
> I am receiving an exception when I try to generate a PDF in a
> Servlet using FOP under JBoss4.0.1SP1 (and JBoss4.0.3SP1) in a
> Redhat linux 2.1 OS.
>
> I am running the same code under a Suse linux and Win XP OS
> without any errors using JBoss.
>
> Here's the Exception:
> 2006-03-02 15:17:21,969 INFO [STDOUT] 15:17:21,958 ERROR
> [PDFServlet] Error gen
> erating PDF file
> javax.xml.transform.TransformerConfigurationException:
> javax.xml.transform.Trans
> formerException: org.xml.sax.SAXException : Missing or incorrect
> XSLT Namespace.
> at
> org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
> ormerFactoryImpl.java:807)
<snip />
> Can anyone tell me what the environment change is that could cause
> the creationn of a new template to fail with the above exception?
Different Xalan versions, maybe? Better make sure the very same one
is used in all three environments (= put the latest Xalan jar in the
$JAVA_HOME$/lib/endorsed directory on all three boxes; if you're
using 1.4+ on all of them).
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
