1 Reply Latest reply on Dec 17, 2007 9:27 AM by marc collin

    Cannot use Digester from a session bean (XML Parser problem)

    Denis Ballant Newbie

      I'm trying to use Apache Digester from a Session Bean. Though it normally works great, when I attempt to do it from a Session Bean, I get the following message:

      09:13:38,390 ERROR [Digester] Digester.getParser:
      java.lang.ClassCastException
       at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
       at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
       at org.apache.commons.digester.Digester.getParser(Digester.java:686)
       at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
      


      Could someone help me please ?

      Denis