I am trying to install Struts under WS 3.5.4, but could not find a correct
version of xerces.jar to get it work. I downloaded
java_xml_pack-winter-01_01-dev which include JAXP 1.2, and put the
xerces.jar under WS /servlets. And I get this error from the log:

[02.02.22 11:26:24:062 CST] ecd486c1 WebGroup      A SRVE0092I: [Servlet
LOG]: "database: Database load exception":
org.xml.sax.SAXNotRecognizedException: http://xml.org/sax/features/raw-names
 at org.xml.sax.SAXException.<init>(SAXException.java:45)
 at
org.xml.sax.SAXNotRecognizedException.<init>(SAXNotRecognizedException.java:
38)
 at
org.apache.xerces.parsers.AbstractSAXParser.setFeature(AbstractSAXParser.jav
a:1289)
 at
org.xml.sax.helpers.XMLReaderAdapter.setupXMLReader(XMLReaderAdapter.java:20
4)
 at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:193)
 at javax.xml.parsers.SAXParser.parse(Unknown Source)
 at javax.xml.parsers.SAXParser.parse(Unknown Source)
 at org.apache.struts.digester.Digester.parse(Digester.java:755)
 at
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
51)

Then I try to put another version of xerces.jar that I've been using to
replace the one come from Sun, and I got another error:
[02.02.22 10:57:32:125 CST] ecf40f0d ServletInstan X Uncaught init()
exception thrown by servlet {0}: {1}
                                 "action"
                                 javax.servlet.ServletException:
org.apache.xerces.dom.NodeImpl: method
<init>(Lorg/apache/xerces/dom/DocumentImpl;)V not found

The doc said I need JAXP1.0.1, but I can't find from Sun's site anymore. Any
suggestion???

Ben


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to