Hi Rakesh,

Looks to me like you are missing avalon-framework-4.2.0.jar from your Tomcat classpath. You can find this jar file in lib folder underneath your top-level FOP project folder.

Adrian Cumiskey.

rakesh satharasi wrote:
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


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

Reply via email to