You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jeremias Maerki <de...@greenmail.ch> on 2003/04/23 13:17:57 UTC
Re: FOP and Tomcat
I don't believe this is because of FOP. Are you using the FopServlet
coming with FOP?
http://xml.apache.org/fop/faq.html#part-embedding
On 23.04.2003 13:18:38 Peter Kirk wrote:
> Hi there
>
> I am having trouble getting FOP to work from a servlet running under Tomcat.
>
> Are there any known issues - and solutions relevant to this?
>
> I can get a servlet to run under Tomcat.
> I can write a "standalone" application to use FOP and generate a PDF file.
>
> But I cannot get a servlet running under Tomcat to function with FOP. Tomcat
> refuses to compile the JSPs I have. I get errors like
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> An error occurred at line: -1 in the jsp file: null
>
> Which I have no idea what it means.
>
> There are probably some issues/incompatibilities with the jar files which
> Tomcat uses and which FOP uses - but what? If anyone has any advice then
> please let me know.
>
> Thanks for any help,
> Peter
>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP and Tomcat
Posted by Jeremias Maerki <de...@greenmail.ch>.
On 23.04.2003 13:46:46 Peter Kirk wrote:
>
> > -----Original Message-----
> > From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> > Sent: 23. april 2003 13:18
> > To: fop-user@xml.apache.org
> > Subject: Re: FOP and Tomcat
> >
> >
> > I don't believe this is because of FOP.
>
> No, I don't believe this is solely a FOP problem either - more likely some
> sort of clash between Tomcat and FOP (or something else entirely of course).
> I was curious if others had seen this problem.
The error message didn't hint at anything wrong with FOP. Do you have
stacktraces? More likely a JSP problem. If you use a servlet the JSP
part of Tomcat shouldn't be involved at all so I don't see the
connection.
> > Are you using the FopServlet coming with FOP?
>
> No, I am trying to use FOP from within my own servlet. Does FopServlet run
> under Tomcat?
Yes, it does.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org