tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
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:

>Howdy,
>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.

Jake

>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