You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ben Liang <aj...@yahoo.com> on 2002/02/22 18:40:48 UTC

Re:Help on WebSphere installation

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re:Help on WebSphere installation

Posted by Ben Liang <aj...@yahoo.com>.
I finally found JAXP_1.0.1 from Sun, and get struts-example running. But
when I click on logon or register, I got this exception in my log, and can
never get to logon.jsp:
[02.02.22 14:44:22:750 CST] 82e3d434 ServletInstan X Uncaught service()
exception thrown by servlet {0}: {1}
                                 "jsp11"
                                 javax.servlet.ServletException: cant remove
Attributes from request scope
 at javax.servlet.ServletException.<init>(ServletException.java:161)
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:392)
 at _logon_jsp_1._jspService(_logon_jsp_1.java:378)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)

Can anyone point out what's wrong?

Ben

----- Original Message -----
From: "Ben Liang" <aj...@yahoo.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, February 22, 2002 11:40 AM
Subject: Re:Help on WebSphere installation


> 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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


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


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>