You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hauknes Gudny <Gu...@comptel.com> on 2006/06/02 12:42:37 UTC
Non-initializing Struts Action Servlet, Digester and xercesImpl
Hi,
Referring to (FW: [jira] Commented: (MYFACES-1170) Application can not startif xercesImpl-2.7.1.jar is present and http://www.mail-archive.com/dev@myfaces.apache.org/msg12153.html
I wonder if anyone else had the problem described below:
Deploying a Struts 1.2.9 web application on Oracle 10gR2 iAS, WebSphere 5.1 and WebLogic (all servlet 2.3)using Struts v.1.2.8, Digester >= v.1.5 and Xerces > v.2.0.2 causes the ActionServlet not to initialize.
Reverting either Digester to < 1.5 or xercesImpl to < 2.0.2 respectively, removes the problem but is not a completely satisfactory solution.
We tried to download the nightly build of Digester from 2006-05-23, but the problem with non-initializing ActionServlet for Struts 1.2.8, XercesImpl-2.8.0 and and Digester still remains.
This is the exception trace:
503 Service Unavailable
javax.servlet.UnavailableException
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
t javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE
10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor
$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
-----Original Message-----
From: Simon Kitching [mailto:skitching@apache.org]
Sent: 24. mai 2006 07:33
To: Hauknes Gudny
Subject: Re: FW: [jira] Commented: (MYFACES-1170) Application can not startif xercesImpl-2.7.1.jar is present
Hi Gudny,
That XercesParser issue is not going to be fixed. The whole parser configuration stuff was a bad idea in the first place, and is basically impossible to get right at the Digester level. Instead, code should configure a parser however it wants and pass that parser in to the Digester.
So that means fixing whatever code is using Digester. It's not clear from your email whether that's Struts or Oracle.
In future, I recommend sending emails like this to the commons-user list, so that other people may also reply.
Regards,
Simon
On Tue, 2006-05-23 at 13:25 +0200, Hauknes Gudny wrote:
> Hi,
> Any news on this?
> We may have ran into a related problem:
>
>(...)
> Also, from the Digester CVS, it seems that no patch on the broken
> XercesParser has been delivered, is that so:
> http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/parser/XercesParser.java?r1=155412&r2=385710 ?
>
Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org