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]

Reply via email to