using jasper Reports with Tomcat5.5

hi ,

i am trying to use Jasper Reports with Tomcat 5.5 but not able to do it.

i have written a simple java program to read data from MySql database and generate a report in PDF format. the good thing is that when i am doing this as a independent java program and running it in Eclipse3.2 then its working fine. but i am not able to run it as a sevlet thru Tomcat5.5.

any help ? is there any issue with version ...

i am using JDK 1.5 , Tomcat5.5

regs,

sajid

[501 byte] By [sajidna] at [2007-11-26 19:16:06]
# 1
> any help ? any error?
CeciNEstPasUnProgrammeura at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 2
ya at the time of loading the sevlet in the browser its giving me exception for not able to find the .jrxml file to compile..
sajidna at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 3
So where is that file?
CeciNEstPasUnProgrammeura at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 4
i am keeping the file in the WEB-INF folder but its not picking it.
sajidna at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 5
So what does the exception say where it's looking?
CeciNEstPasUnProgrammeura at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 6

i am not able to figure it out. usually all web app picks files in WEB-INF folder . see below the exception ....

type Exception report

message

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

exception

javax.servlet.ServletException: Servlet execution threw an exception

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.VerifyError: (class: net/sf/jasperreports/engine/xml/JRXmlDigesterFactory, method: configureDigester signature: (Lorg/apache/commons/digester/Digester;)V) Incompatible argument to function

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)

net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:195)

com.iflex.poc.reports.ReportManager.generateReport(ReportManager.java:25)

com.iflex.poc.reports.ReportServlet.doGet(ReportServlet.java:15)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.16 logs.

sajidna at 2007-7-9 21:28:48 > top of Java-index,Java Essentials,Java Programming...