thanks for the response... I have doublechecked my classpath and am certain that these are the only jars it picks up:
these files are in my only classpath (C:\Program Files\Allaire\JRun\servers\lib): ant.jar (289k 3/2/2002) avalon-framework-4.0.jar (35k 3/2/2002) batik.jar (1896k 3/2/2002) fop.jar (1806k 3/2/2002) logkit-1.0.jar (69k 3/2/2002) xalanj1compat.jar (37k 3/2/2002) if I put these to files in the above classpath, my servlet doesn't work. xerces-1.2.3.jar (749k 3/2/2002) xalan-2.0.0.jar (687k 3/2/2002) but if I put these 2 in my C:\jdk1.3.1_02\jre\lib\ext folder, the servlet does. I think this message speaks to my problem. http://www.opencms.org/majordomo/opencms-dev/0107/msg00020.html excerpt from above message --> I have Cocoon (see: xml.apache.org) running on this W2000 system. For this to work, I had to tackle the parser problem, i.e. replace the JRUN parser with Xerces. I followed the instructions specific for Cocoon on the Allaire website. Since Cocoon is running now, I am confident that I solved this problem (There were some emails on this list dealing with this same problem). I also passed the famous step 6 in the installation procedure. end excerpt from above message --> At present, I can't find the directions to replace the JRUN parser with Xerces. Do you all think I am barking up the wrong tree with this solution? thanks, will -----Original Message----- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 11:59 AM To: [EMAIL PROTECTED] Subject: Re: xalan-2.0.0.jar and xerces-1.2.3.jar in classpath not working... Carter, Will wrote: Hi, > > I am running fop in a servlet with jrun 3.1 as the servlet container. > > the only way I can get it to work is if I put xalan-2.0.0.jar and > xerces-1.2.3.jar into my jdk/jre/lib/ext folder. I have all the other fop > jars in my WEB-INF/lib folder. > > as long as I have xalan-2.0.0.jar and xerces-1.2.3.jar in the > jdk/jre/lib/ext folder my servlet works, but if I move these to to the > WEB-INF/lib it doesn't and I get this error: > > 500 Internal Server Error > /servlet/FotoPDF: > > null > java.lang.NoSuchMethodError > at org.apache.fop.svg.SVGElement.init(SVGElement.java:199) That sounds very bizarre to me, but I guess it has something to do with batik.jar. Chances are you have another (old?) batik (or another svg lib?) somewhere in the classpath. -- Oleg Tkachenko Multiconn International, Israel
