tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject RE: FOP code runs standalone, but not in a Servlet
Date Fri, 12 Sep 2003 15:47:13 GMT
At 11:33 AM 9/12/2003 -0400, you wrote:

>You want to put all your jars in WEB-INF/lib.  What are the errors
>you're getting?

hmm.... Xalan is an endorsed library.  It needs to be in 
CATALINA_HOME/common/endorsed or JAVA_HOME/jre/lib/endorsed, otherwise the 
old buggy version of Xalan that comes with j2sdk1.4.x will be used.


>Yoav Shapira
>Millennium ChemInformatics
> >-----Original Message-----
> >From: Mike Kellstrand []
> >Sent: Friday, September 12, 2003 11:27 AM
> >To:
> >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
> >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:
>For additional commands, e-mail:

View raw message