• 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Jasper and JBoss server

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m using eclipse v 3.1 and jasper reports 1.1 it is showing error in the line net.sf.jasperreports.engine.design.JasperDesign jDesign = net.sf.jasperreports.engine.xml.JRXmlLoader.load("/heb.jrxml");
i couldn't resolve it
My jasper java code is in this link
http://www.coderanch.com/t/288805/JSP/java/opening-pdf-file-created-jasper
this code works fine when used in TOm cat Server...
I don't know what is wrong when i m using in JBOSS server


javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

java.lang.NoClassDefFoundError: org/apache/commons/digester/SetNestedPropertiesRule
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
inner.LoginAction.execute(LoginAction.java:36)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)



urgently help needed
[ January 27, 2006: Message edited by: jothish chokkalingam ]
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's missing a class: org/apache/commons/digester/SetNestedPropertiesRule

Do you have the correct version of Commons Digester installed? Maybe JBoss ships with one version, while JasperReports needs a different one?

I'm going to move this thread to the "Other Open Source Projects" forum, since that's where JasperReports is discussed.
[ January 27, 2006: Message edited by: Ulf Dittmer ]
 
jothish chokkalingam
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi bartender,
i m using the jasper reports comm digester jar file only.... even then it is showing the same error .....
kindly help me out...
help urgently needed
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jothish,

Did you find a solution to this?
I think i have the same problem.

what version of JBoss do you have?

thanks
Rivka
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try upgrading the tomcat commons-digester instead:

I added commons-digester-1.7.jar to the tomcat server/lib directory (remove the older commons-digester.jar), and it worked for me. (Tomcat 5.0.30). I don't think this problem exists in Tomcat 5.5.

-Sean
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!