Thank you for this, Yeah, I finally got it running. Anyone trying to bother with setting up 0.20.4 with tomcat 4.1.18 just upgrade to 0.20.5rc2 and things will go alot smoother. I wasn't able to run build.bat but if you have ant in your path and just run ant within the directory where the war is to be built, this works as well (on windows ne ways).
Again, thanks -Adam -----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: March 18, 2003 12:54 AM To: [EMAIL PROTECTED] Subject: Re: Installing to FOP / Tomcat Hi Adam I've just done the following: - installed a clean binary tomcat 4.1.18 - took binary 0.20.5rc2 distribution - went to the examples/servlet directory - ran build.bat - realized that ant-1.5.1.jar is not packaged with the binary distribution. Doh! - copied ant-1.5.1.jar into fop/lib - ran build.bat again - copied fop.war to Tomcat's webapps directory - started Tomcat - got an error message about an invalid "servlet" element. - looked at the web.xml and realized that all servlet-mapping elements must come after the servlet elements. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html - fixed web.xml and rebuilt fop.war - now everything works fine. Example: http://localhost:8080/fop?fo=D:/FOP/Temp/helloworld.fo&ext=.pdf I'm going to fix the web.xml in CVS in a minute. What's interesting is that Tomcat 4.1.12 doesn't complain about the web.xml. I hope this helps. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
