Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 73345 invoked from network); 2 Jun 2009 15:38:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jun 2009 15:38:32 -0000 Received: (qmail 10295 invoked by uid 500); 2 Jun 2009 15:38:41 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 10222 invoked by uid 500); 2 Jun 2009 15:38:41 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 10212 invoked by uid 99); 2 Jun 2009 15:38:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 15:38:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Steven.Mitchell@umb.com designates 198.179.203.71 as permitted sender) Received: from [198.179.203.71] (HELO bcc-mail.umb.com) (198.179.203.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 15:38:32 +0000 X-WSS-ID: 0KKMBFC-01-2SC-02 X-M-MSG: Received: from X8117R.umb.corp.umb.com (unknown [192.168.145.4]) by bcc-mail.umb.com (Tumbleweed MailGate 3.6.1) with ESMTP id 262719A4085 for ; Tue, 2 Jun 2009 10:37:59 -0500 (CDT) Received: from [192.168.145.27] by X8116A.umb.corp.umb.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.3.1)); Tue, 02 Jun 2009 10:38:03 -0500 X-Server-Uuid: A3CA4FE8-AB5B-42F8-852A-5C80290482CF X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: WAS 6.1: There is no Action mapped for namespace / and action name j_security_check Date: Tue, 2 Jun 2009 10:38:03 -0500 Message-ID: In-Reply-To: <23834864.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: WAS 6.1: There is no Action mapped for namespace / and action name j_security_check Thread-Index: Acnjln5s5q7IvQvnR7WQxTkENEHQjAAAUOUg From: "Mitchell, Steven" To: "Struts Users Mailing List" X-WSS-ID: 663B98D11RW985500-01-03 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I will look at that. Meanwhile, I found that WAS logged an error (this was after the WAS admin tried changing the filter from /* to /[my context]/* ------Start of DE processing------ =3D [5/29/09 13:50:09:369 CDT] , key =3D javax.servlet.ServletException com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() 309 Exception =3D javax.servlet.ServletException Source =3D com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() probeid =3D 309 Stack Dump =3D javax.servlet.ServletException: Filter [struts2]: could not be initialized at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstance Wrapper.java:156) at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFil terManager.java:471) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilt erManager.java:385) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrap per(WebAppFilterManager.java:244) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebApp =46ilterManager.java:302) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter Manager.java:792) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter Manager.java:679) at com.ibm.ws.webcontainer.servlet.FileServletWrapper.handleRequest(FileSer vletWrapper.java:416) at com.ibm.ws.wswebcontainer.servlet.StaticFileServletWrapper.handleRequest (StaticFileServletWrapper.java:93) at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleReques t(DefaultExtensionProcessor.java:714) at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequ est(DefaultExtensionProcessor.java:113) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815 ) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1 461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:1 18) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio n(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio n(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLi nk.java:267) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscr iminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne wConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai oReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu ture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java :743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Dump of callerThis =3D=20 null Exception =3D javax.servlet.ServletException Source =3D com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() probeid =3D 309 Dump of callerThis =3D=20 null -----Original Message----- =46rom: Ron Chan [mailto:rchan@i-tao.com]=20 Sent: Tuesday, June 02, 2009 10:26 AM To: user@struts.apache.org Subject: Re: WAS 6.1: There is no Action mapped for namespace / and action name j_security_check Steven Not familiar with your setup and if it works in tomcat and not WAS, even stranger. But for what it's worth here is my hack, I made a copy of StrutsPrepareAndExecuteFilter and in the doFilter where it said ActionMapping mapping =3D prepare.findActionMapping(request, response); if (mapping =3D=3D null) { boolean handled =3D execute.executeStaticResourceRequest(request, response); I added ActionMapping mapping =3D prepare.findActionMapping(request, response); if (mapping !=3D null) { if ("".equals(mapping.getName())) { mapping =3D null; } } if (mapping =3D=3D null) { boolean handled =3D execute.executeStaticResourceRequest(request, response); not ideal, but fixed my prob HTH Ron --=20 View this message in context: http://www.nabble.com/2.1.6-convention-plugin-problem-tp23813162p2383486 4.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org =46or additional commands, e-mail: user-help@struts.apache.org ---------------------------------------------------------------------------= --- NOTICE: This electronic mail message and any attached files are = confidential. The information is exclusively for the use of the individual= = or entity intended as the recipient. If you are not the intended recipient= ,= any use, copying, printing, reviewing, retention, disclosure, distribution= = or forwarding of the message or any attached file is not authorized and is = strictly prohibited. If you have received this electronic mail message in = error, please advise the sender by reply electronic mail immediately and = permanently delete the original transmission, any attachments and any copie= s= of this message from your computer system. Thank you. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org