0 Replies Latest reply on Apr 26, 2009 10:12 PM by 682551

    Cannot find ActionMappings error in WSRP Struts portlets

    682551
      Hi,

      In our set up we have Weblogic Portal 10MP1 (Consumer) and a number of Struts portlets using WSRP (Producers).

      Our remote portlets do work when inserted in to WLP pages, and when you click submit the remote Struts action code is successfully executed.

      When going through our log files, every so often there are a number of exceptions like below.

      Throwable: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
      Stack Trace:
      javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
           at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:747)
           at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
           at jsp_servlet._Search.__search._jspService(__search.java:214)
           at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
           at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
           at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
           at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
           at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
           at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
           at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
           at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
           at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
           at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
           at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.include(ScopedContentCommonSupport.java:842)
           at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:246)
           at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
           at com.bea.wsrp.producer.adapter.struts.StrutsPortletAdapter.render(StrutsPortletAdapter.java:118)
           at com.bea.wsrp.producer.adapter.struts.AbstractStrutsPortletAdapter.doGetMarkup(AbstractStrutsPortletAdapter.java:194)
           at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:391)
           at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:228)
           at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:67)
           at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:239)
           at com.bea.wsrp.producer.local.LocalProducerEndPoint.processNow(LocalProducerEndPoint.java:90)
           at com.bea.wsrp.producer.WsrpServer.processLocalProxyRequest(WsrpServer.java:396)
           at com.bea.wsrp.producer.WsrpLocalProxyFilter.doFilter(WsrpLocalProxyFilter.java:63)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
           at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
           at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
           at com.bea.wsrp.proxy.LocalProxy.sendMessage(LocalProxy.java:176)
           at com.bea.wsrp.proxy.LocalProxy.sendData(LocalProxy.java:111)
           at com.bea.wsrp.proxy.LocalProxy.dispatch(LocalProxy.java:89)
           at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:459)
           at $Proxy80.getMarkup(Unknown Source)
           at com.bea.wsrp.consumer.markup.GetMarkupService.invoke(GetMarkupService.java:44)

      At the top of each JSP, we include the header for the "struts-adpater" tag library as provided by WLP. In this tag library, the class which handles the <form> tag is "com.bea.struts.adapter.taglib.html.FormTagAdapter". But if you notice in the stack trace at the top, it's the normal struts form class "org.apache.struts.taglib.html.FormTag" that is being used.

      Can anyone explain to me why this error occurs?

      It's seems random as I can't reproduce it, even though most of the time my Struts portlets execute with no problems.

      Thank you for very for any help.
      Jonathan