I'm wondering if the Application server specific documentation for using fop 
within a servlet is no longer available or applicable.

I've got an instance of Tomcat 5.5 running in JDK5 returning the following upon 
request to create a pdf:

ERROR http-8080-Processor25 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlet].[action]
 - Servlet.service() for serv
let action threw exception
java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/Service
at 
org.apache.fop.render.RendererFactory.discoverRenderers(RendererFactory.java:267)
at org.apache.fop.render.RendererFactory.<init>(RendererFactory.java:57)
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:75)
........(truncated)

Adding xmlgraphics-commons-1.0.jar to the classpath doesn't make a difference.

Our developer has xmlgraphics-commons-1.1.jar and the fop.jar in his 
WEB-INF/lib directory of the deployment as well.

And notes on how to properly deploy fop and it's required libraries would be 
helpful.

-johnny

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to