Hi friends, 

I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my 
servlet...  written a servlet to generate PDF file making use of XML and XSL 
files. It's works fine... when this servlet runs on tomcat3.1.  BUT if I copy 
whole context to tomcat3.2.2 and above versions it's throwing following 
error...

Internal Servlet Error:

java.lang.NoSuchMethodError
    at org.apache.fop.apps.Driver.getParserClassName(Unknown Source)
    at org.apache.fop.svg.SVGElementMapping.setupSVG(Unknown Source)
    at org.apache.fop.svg.SVGElementMapping.addToBuilder(Unknown Source)
    at org.apache.fop.apps.Driver.addElementMapping(Unknown Source)
    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)
    at fop.FopServlet.renderXMLViewPDF(FopServlet.java:327)
    at fop.FopServlet.doGet(FopServlet.java:168)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService
(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service
(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:743)
    at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run
(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:484)

All my jar related to FOP is in my own context WEB-INF/classes/lib 
directory.  I hope someone can help me
I also want to know...  I'm using right version of FOP or not???

Thanks in advance...
Shekar Simha Y.
_____________________________________________________________________
Any Opinions, explicit or implied, are solely those of the author and do not 
necessarily
represent those of Questech. This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have received this e-mail in 
error)
please notify the sender immediately and destroy this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.
_____________________________________________________________________



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

Reply via email to