On May 26, 2009, at 9:22 AM, Mitchell, Steven wrote:
I have a Struts 2 application that runs fine under Tomcat 5.5 that willnot run on a fully patched version of WebSphere 6.1. The application index.jsp page redirects to a mapped namespace and action, yet theStruts 2 dispatcher does not see the namespace or action. It issues themessage "There is no Action mapped for namespace / and action name ." Note that the namespace and action name are missing.I have also tried manually typing a full URL containing a namespace andaction, yet I get the same error message missing the namespace and action name. This has never happened on Tomcat 5.5 where the application functions normally. Has anybody run into this issue deploying an application on WebSphere? It happens with Struts 2.1.2, 2.1.3 snapshot, and 2.1.6. I'm out of ideas. [5/21/09 16:52:06:743 CDT] 0000002c XmlConfigurat Icom.opensymphony.xwork2.util.logging.commons.CommonsLogger info Parsingconfiguration file [struts.xml] [5/21/09 16:52:07:101 CDT] 0000002c StrutsSpringO I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info Initializing Struts-Spring integration... [5/21/09 16:52:07:113 CDT] 0000002c SpringObjectF Icom.opensymphony.xwork2.util.logging.commons.CommonsLogger info Settingautowire strategy to name [5/21/09 16:52:07:111 CDT] 0000002c StrutsSpringO I com.opensymphony.xwork2.util.logging.commons.CommonsLogger info ... initialized Struts-Spring integration successfully [5/21/09 16:52:08:817 CDT] 0000002c Dispatcher W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn Could not find action or resultThere is no Action mapped for namespace/ and action name . - [unknown location] atcom .opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:177) atorg .apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) atorg .apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) atcom .opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) atorg .apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:457) atorg .apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) atcom .ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) atcom .ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) atcom .ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) atcom .ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832) atcom .ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:742) atcom .ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:695) atcom .ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101) atcom .ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:818) atcom .ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:557) atcom .ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) atcom.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java: 267)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java: 815) atcom .ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) atcom .ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) atcom .ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) atcom .ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) atcom .ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267) atcom .ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) atcom .ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) atcom .ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) atcom .ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) atcom .ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) atcom .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) [5/21/09 16:52:08:894 CDT] 0000002c ServletWrappe I SRVE0242I: [SCRUBBEDApplication] [/cdp] [/404.jsp]: Initialization successful. Steven C. Mitchell Byteworks, Inc. <http://www.ByteworksInc.com> ------------------------------------------------------------------------------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 copies of this message from your computer system. Thank you.= = = = = = = = ======================================================================--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
-- terry.gard...@sun.com Blog: http://blogs.sun.com/terrygardner Blog: http://ff1959.wordpress.com Twitter: http://twitter.com/tgardner SLAMD: http://slamd2.dev.java.net Skype: Terry_J_Gardner "Potentia vobiscum"
smime.p7s
Description: S/MIME cryptographic signature