On Sunday 13 May 2007 17:11, rakesh satharasi wrote: > Hi, > My guess is that you have either a classpath or a jar deployment issue. Have you deployed all the jar's in the $fop_home/lib to tomcat as part of your fop servlet deployment? It is not enough to just deploy fop.jar plus your application jar.
Manuel > > > 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.j >ava > > :104) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >a:2 16) > > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >:84 4) > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >ss > > (Http11Protocol.java:634) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >5) 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.jav >a:2 16) > > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >:84 4) > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >ss( Http11Protocol.java:634) > > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 >5) > > > 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]
