wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Problem with common-digester.jar and Jasper Report in Sun Application Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem with common-digester.jar and Jasper Report in Sun Application Server" Watch "Problem with common-digester.jar and Jasper Report in Sun Application Server" New topic
Author

Problem with common-digester.jar and Jasper Report in Sun Application Server

Wanlapa Tantip
Greenhorn

Joined: May 28, 2006
Posts: 6
Hi All,

I'm using Sun Application Server version 8.2 and Jasper Report version 2.0.

When deploy on Tomcat, everything work fine. I can view pdf report on browser using JasperViewer. But when deploy on Sun Application Server, it gaves me errors below...

java.lang.IllegalAccessError: tried to access field org.apache.commons.digester.Digester.match from class org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule
org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body(SetNestedPropertiesRule.java:408)
org.apache.commons.digester.Rule.body(Rule.java:240)
org.apache.commons.digester.Digester.endElement(Digester.java:1028)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2108)
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
org.apache.commons.digester.Digester.parse(Digester.java:1548)


Some web said it's because older version of common-digester.jar. so I download the latest version (1.8) and try again but not work too, same error.

And is there any digester library that come with Sun Application Server and where is it? It seems like SunApp read the old version of digester lib.

Please help. Thank you
Thiva Kugan
Greenhorn

Joined: Nov 20, 2007
Posts: 3
Hi Guys,

We are also getting the same issue. Any hit to resolve this issue?

Thiva
[kthivahar@yahoo.com]
 
jQuery in Action, 2nd edition
 
subject: Problem with common-digester.jar and Jasper Report in Sun Application Server