Finally, the problem with form based authentication got resovled. However; here is a summary of what happens that we get the error:
There is no Action mapped for namespace / and actionName j_security_check With form-based authentication, Websphere authenticates a user by using URI <hostname>/<context-root>/j_security_check. Due to the fact that in struts 2.1 default action extension list (struts.action.extension) has changed from just 'action' to 'action' plus " , j_security_check is mistaken as an struts action. Line: config = configuration.getRuntimeConfiguration().getActionConfig(namespace, actionName); in class com.opensymphony.xwork2.DefaultActionProxy located in method prepare() returns null for actionName j_security_check" and consquently "no mapping error" is displayed. Solution: as described in migration guide in the following link [which makes it clear why everything in struts 2.0 works but not struts 2.1]: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html Add the following to your struts.xml <constant name="struts.action.extension" value="action" /> and then in your web.xml, change: <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> TO <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> The form based authentication works just like basic authentication. You still need to have the following properties set: com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror = true com.ibm.ws.webcontainer.invokefilterscompatibility = true __________________________________________________________________ Reclaim your name @ymail.com or @rocketmail.com. Get your new email address now! Go to http://ca.promos.yahoo.com/jacko/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org