Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Wanlapa Tantip
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

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

Thiva
[kthivahar@yahoo.com]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic