Hi,

I am developing a web application which will read in a xml and convert it to
a PDF file. I have written a servlet by modifying the FopServlet available
in the src folder provided by

apache with fop0.93. when I deploy it on Tomcat 6.0.10 server, it is
throwing the following Exception.



*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: Servlet.init() for servlet FopServlet
threw exception

       
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

       
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)

       
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

       
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)

       org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)

       java.lang.Thread.run(Thread.java:595)

*root cause*

java.lang.NoClassDefFoundError:
org/apache/avalon/framework/configuration/ConfigurationException

       servlets.FopServlet.init(FopServlet.java:100)

       javax.servlet.GenericServlet.init(GenericServlet.java:212)

       
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

       
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)

       
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

       
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)

       org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)

       java.lang.Thread.run(Thread.java:595)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.10 logs.*
**
Kindly throw some light on this.

Rakesh

Reply via email to