2 Replies Latest reply on Oct 7, 2003 7:27 AM by kchillar

    SAX Parser problem in jboss-3.2.1_tomcat-4.1.24

    kchillar Newbie

      I am trying to use a SAX parser
      (version Xerces-J-bin-1.4.4.tar obtained from Jakarta) in jboss_3.2.1_tomcat-4.1.24 for parsing an application data file.

      I have a content handler which will handle my application data.

      There seems to be some problem with the handler in jboss !!!

      If I create an instance of my parser and give an input file it runs fine when running it as standard command line java application

      But it fails if I call the same instance from any class that is running in jboss ( any class I mean any of my application classes)

      It gives me ArrayOutOfBound Exception, Is this a problem because Jboss has some other saxparser its is using ?

      I would appreciate

      1) any suggestions in using a SAXParsers in Jboss.

      2)any good SAX parsers that are known to work well with Jboss. ( i am trying to use org.apache.xerces.parsers.SAXParser)

      3) Any example if possible

      Thank you very much