Hi Christian, hi Oleg, your tips were great. It was a classpath problem. After many attempts, I found out that the file xerces.jar was missed. I'm so stupid. Now tomcat delivers a pdf-document how I can see in my MIE 5. I get the pdf-source-code but I hope I will correct this.
Thank you very much. Martin -----Ursprüngliche Nachricht----- Von: Christian Geisert [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Juli 2002 19:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: Embedding FOP in Servlet Martin Ewald schrieb: > Hi Oleg, > > I have searched all possibilities where a fop could be referenced by tomcat to be sure it's > the only one. To test I've deleted the fop.jar from the subdirectory 'C:\jakarta-tomcat-4.0.1\webapps\fop\WEB-INF\lib' > and the servlet fails completely because of missing classes. Then I have built up fop.jar again with ant, but > I always get the same error message: > "java.lang.IllegalArgumentException: org.apache.fop.svg.SVGElementMapping is not an ElementMapping > at org.apache.fop.apps.Driver.addElementMapping(Unknown Source) > at org.apache.fop.apps.Driver.setupDefaultMappings(Unknown Source) > at org.apache.fop.apps.Driver.(Unknown Source)...". > > Could this be a question of access rights to the driver.class, because the command line variant succeeded? As Oleg already mentioned this really sounds like a classpath issue. Is the correct batik.jar there? Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]