Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72728101E9 for ; Fri, 5 Jun 2015 08:29:43 +0000 (UTC) Received: (qmail 73248 invoked by uid 500); 5 Jun 2015 08:29:40 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 73203 invoked by uid 500); 5 Jun 2015 08:29:40 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 3587 invoked by uid 99); 2 Jun 2015 08:17:13 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RYB2E1ttTed19DXHq66WGU0tx3e6EkcJdK+1AiymY7k=; b=AilB5PZDumrEMMOFb2qtNT6Pe7Y4jhin9rl8K9niGBi/qmXyQCaJyRKg92NrjORtrz SF7Nmho15sExMXHNL20KDSmN5xEk+NVBMza3f0osvaPmXGVh951Xa0n6DVYYZlU5851x mXpTm+D3tjYqRY6eo77r7yzdztGBxUrpEFhN09xStZcIxpendTZsI2x3+n74mghJCBtT 2orkPqv054se1tqOiBrgITL8+pt02ErP3YhMjqFT49yqOiWyn8z9pkHqFWWi7zU/PxUK JiR+GS7wO3/OeWVmfGDyaLAu1CtSpj85o+YetXynHU6F5EnRyCjF+HgfHUHLkRWX7bt+ Xg5w== MIME-Version: 1.0 X-Received: by 10.202.137.78 with SMTP id l75mr1822648oid.110.1433233031386; Tue, 02 Jun 2015 01:17:11 -0700 (PDT) Date: Tue, 2 Jun 2015 16:17:11 +0800 Message-ID: Subject: Question on Struts2 Form based authentication From: Tenghui Pei To: dev@struts.apache.org Content-Type: multipart/alternative; boundary=001a113f03acb76dde05178491ad --001a113f03acb76dde05178491ad Content-Type: text/plain; charset=UTF-8 Hi Sir/Mdm, I am implementing Struts2 Form based authentication but facing some error message below.Appreciate any advice on that. or can show some working example. 2015-06-02 15:57:07 WARN Dispatcher:68 - Could not find action or result: /abc-webapp/j_security_check There is no Action mapped for namespace [/] and action name [j_security_check] associated with context path [/abc-webapp]. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:554) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3647) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659) Thanks and Best Regards Frank --001a113f03acb76dde05178491ad--