RE: FOPException error

2002-04-19 Thread Rhett Aultman

I haven't had any real problems embedding in a Servlet, but I'm using 0.20-3.  What 
version are you using?  Also, is a more complete stack trace available?

-Original Message-
From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 3:41 PM
To: [EMAIL PROTECTED]
Subject: FOPException error


Hello all,

 Has anyone experience a problem like below?  I can't figure out why there is
a difference when running this code in a Java application vs. a Servlet.

In Java application, code runs great, but when it runs in a servlet I have
the following error:

org.apache.fop.apps.FOPException
at org.apache.fop.apps.XSLTInputHandler.getParser(XSLTInputHandler.java:109)

Thanks
Mathy


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




Re: FOPException error

2002-04-19 Thread J.Pietschmann

Mathy V Arumugam wrote:
  Has anyone experience a problem like below?  I can't figure out why there is
 a difference when running this code in a Java application vs. a Servlet.
 
 In Java application, code runs great, but when it runs in a servlet I have
 the following error:
 
 org.apache.fop.apps.FOPException
 at org.apache.fop.apps.XSLTInputHandler.getParser(XSLTInputHandler.java:109)

This is becoming a VFAQ.

Most probably, your servlet does not have a XML parser
in the classpath. Check your application server documentation
how to get the Xalan.jar and Xerces.jar delivered with
FOP into the classpath in effect for your servlet.

There may be a number of other reasons, like misconfigurations
and conflicts with other parsers, the exception message should
have some characteristical details in this case (don't snip
a root cause or original exception, if it is available
in the backtrace).

J.Pietschmann



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