PDA

View Full Version : jasper reports jboss error


zebtonson
Aug 25th, 2005, 04:21 PM
I've been getting this jasper report compiling error in Jboss 4.0.1sp1 that only seems to occur in Jboss 4.0.1sp1. I've downloaded the jasperdemo from cvs and i've tried deploying it on 4.0.2 and i get no errors. It looks like its not able to compile the .jrxml file or the jrcompiler is not parsing the xml file correctly, does anyone know what's causing the error:



15:30:29,159 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'viewResolver'
15:30:29,189 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'nameViewResolver'
15:30:29,199 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'subReport'
15:30:29,259 INFO [JasperReportsPdfView] Compiling Jasper Report loaded from ServletContext resource [/WEB-INF/reports/subReportParent.jrxml]
15:30:30,221 ERROR [Digester] Body event threw error
java.lang.IllegalAccessError: tried to access field org.apache.commons.digester.Digester.log from class org.apache.commons.digester.SetNestedPropertiesRul e$AnyChildRule
at org.apache.commons.digester.SetNestedPropertiesRul e$AnyChildRule.body(SetNestedPropertiesRule.java:3 55)
at org.apache.commons.digester.Rule.body(Rule.java:24 0)
at org.apache.commons.digester.Digester.endElement(Di gester.java:1028)
at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParse r.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyEl ement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
at org.apache.commons.digester.Digester.parse(Digeste r.java:1567)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXM L(JRXmlLoader.java:225)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(J RXmlLoader.java:209)
at org.springframework.web.servlet.view.jasperreports .AbstractJasperReportsView.loadReport(AbstractJasp erReportsView.java:453)

faridadhami
Dec 27th, 2005, 06:16 PM
I had the same problem, I found jbossweb-tomcat50.sar that had a old version of digester.jar. I replaced it with new version & it fixed