Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Jasper Report JRException

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I've received two jasper report from the client. One is running without any problem but the other one is throwing the exception below:

exception

javax.servlet.ServletException: E:\jakarta-tomcat-5.0.27\webapps\teacheval\WEB-INF\classes\preassessement_report.jasper
webeval3Struts.SchoolTeacherReportFormAction.perform(Unknown Source)
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

dori.jasper.engine.JRException: E:\jakarta-tomcat-5.0.27\webapps\teacheval\WEB-INF\classes\preassessement_report.jasper
dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:116)
dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:288)
dori.jasper.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:281)
webeval3Struts.SchoolTeacherReportFormAction.perform(Unknown Source)
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

I'm using tomcat 5* and iReport to generate the XML file, and using Java API's to generate the jasper report from the xml file.

Please help>>>
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suma,

I wonder if the IBM/WebSphere forum is the appropriate venue for a JasperReports issue, especially given the fact that, as you mention, you actually use Tomcat.

In any case, I have used JasperReports myself, and for the occasional problem I would encounter I would use the forums at the JasperReports site. (http://jasperreports.sourceforge.net/). The author (Teodor Danciu) is usually around to give advice. Other people hanging around those forums may be able to provide counsel too.

Hope this helps,

Panagiotis.
 
Onion rings are vegetable donuts. Taste this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic