tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kellstrand" <mi...@rapix.com>
Subject Re: FOP code runs standalone, but not in a Servlet
Date Fri, 12 Sep 2003 15:45:23 GMT
Thanks for the response.
I put my Tomcat back into a "stock" state and
copied the fop, batik, avalon, and xalan jars from the FOP package
into my WEB-INF/lib dir.

I restarted Tomcat and got the following when my code ran:
The output format must have a '{http://xml.apache.org/xslt}content-handler'
property!

This java code / xslt combination DOES work outside of Tomcat.

What do you think?

Thanks,  Mike


----- Original Message -----
From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, September 12, 2003 11:33 AM
Subject: RE: FOP code runs standalone, but not in a Servlet


>
> Howdy,
> You want to put all your jars in WEB-INF/lib.  What are the errors
> you're getting?
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-----Original Message-----
> >From: Mike Kellstrand [mailto:mikek@rapix.com]
> >Sent: Friday, September 12, 2003 11:27 AM
> >To: tomcat-user@jakarta.apache.org
> >Subject: FOP code runs standalone, but not in a Servlet
> >
> >I have Java FOP (XSLT-FO PDF converter) code that runs great from the
> >command line if I put the fop, batik, avalon, and xalan jars
> >in the JAVA_HOME\jre\lib\ext dir.
> >
> >If I put this code in a servlet under Tomcat 4.1.24, I get transform
> >errors.
> >
> >I have tried putting the FOP jars in various Tomcat lib dirs,
> >in webapps with the servlet, etc.  Everywhere I move these jars
> >I get different amusing transform exceptions, but it doesn't run.
> >
> >1)  Where do the jars need to go?
> >2)  Are there any parser jars that come with Tomcat that need to get
> >removed.
> >I tried removing the 2 jars that are in /common/endorsed, but that
> didn't
> >help.
> >
> >This is driving me nuts!
> >
> >Many thanks!
> >
> >Mike
>
>
>
> This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message