[jira] [Comment Edited] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path
[ https://issues.apache.org/jira/browse/PLUTO-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922625#comment-16922625 ] Neil Griffin edited comment on PLUTO-781 at 9/4/19 4:00 PM: [~riverbed2]: Another reason to upgrade to PortletMVC4Spring is because the Spring Framework version 4.3 will be unsupported by Pivotal in the near future. The version you specified in the "Environment" field of this issue (4.0.9.RELEASE) is already unsupported by Pivotal. Upgrading to Spring 5.1 would be the recommended path. Since Spring Portlet MVC was pruned in Spring 5.x (it no longer exists) you would need to upgrade to PortletMVC4Spring. was (Author: ngriffin7a): [~riverbed2]: Another reason to upgrade to PortletMVC4Spring is because the Spring Framework version 4.x will be unsupported by Pivotal in the near future. The version you specified in the "Environment" field of this issue (4.0.9.RELEASE) is already unsupported by Pivotal. Upgrading to Spring 5.1 would be the recommended path. Since Spring Portlet MVC was pruned in Spring 5.x (it no longer exists) you would need to upgrade to PortletMVC4Spring. > PortletRequestDispatcherImpl forwards to incorrect path > --- > > Key: PLUTO-781 > URL: https://issues.apache.org/jira/browse/PLUTO-781 > Project: Pluto > Issue Type: Bug > Components: portlet container >Affects Versions: 3.0.1 > Environment: Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly > 14.0.1 >Reporter: Steve Potter >Assignee: Neil Griffin >Priority: Major > Attachments: pluto-debug.txt > > > When a serveResource method forwards to a servlet which then forwards to a > jsp, the HttpServletPortletRequestWrapper provides the path from the first > forward rather than the second forward and the jsp is not rendered. > This is the process used by Spring Portlet MVC to locate JSP 'views' > resulting in the failure of all our portlets when trying to serve JSP's in > response to resource requests. > The attached file contains a DEBUG log of the processing flow attempting to > serve '/WEB-INF/jsp/resource2.jsp' in response to a resource request. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path
[ https://issues.apache.org/jira/browse/PLUTO-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922625#comment-16922625 ] Neil Griffin commented on PLUTO-781: [~riverbed2]: Another reason to upgrade to PortletMVC4Spring is because the Spring Framework version 4.x will be unsupported by Pivotal in the near future. The version you specified in the "Environment" field of this issue (4.0.9.RELEASE) is already unsupported by Pivotal. Upgrading to Spring 5.1 would be the recommended path. Since Spring Portlet MVC was pruned in Spring 5.x (it no longer exists) you would need to upgrade to PortletMVC4Spring. > PortletRequestDispatcherImpl forwards to incorrect path > --- > > Key: PLUTO-781 > URL: https://issues.apache.org/jira/browse/PLUTO-781 > Project: Pluto > Issue Type: Bug > Components: portlet container >Affects Versions: 3.0.1 > Environment: Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly > 14.0.1 >Reporter: Steve Potter >Assignee: Neil Griffin >Priority: Major > Attachments: pluto-debug.txt > > > When a serveResource method forwards to a servlet which then forwards to a > jsp, the HttpServletPortletRequestWrapper provides the path from the first > forward rather than the second forward and the jsp is not rendered. > This is the process used by Spring Portlet MVC to locate JSP 'views' > resulting in the failure of all our portlets when trying to serve JSP's in > response to resource requests. > The attached file contains a DEBUG log of the processing flow attempting to > serve '/WEB-INF/jsp/resource2.jsp' in response to a resource request. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path
[ https://issues.apache.org/jira/browse/PLUTO-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922623#comment-16922623 ] Neil Griffin commented on PLUTO-781: [~riverbed2]: Thanks for creating this issue. Would it be possible for you to upgrade one of your Spring Portlet MVC projects to [PortletMVC4Spring|https://github.com/liferay/portletmvc4spring]? The PortletMVC4Spring project has been tested with Apache Pluto and is compatible with Portlet 3.0 (the version of the Portlet API that is implemented by Pluto 3.x). The project also includes a demo that uses the RESOURCE_PAHSE (resource requests) to navigate between JSP views, which sounds like the use-case you are describing. For more info, see [TermsController.java| https://github.com/liferay/portletmvc4spring/blob/master/demo/applicant-jsp-portlet/src/main/java/com/liferay/portletmvc4spring/demo/applicant/jsp/controller/TermsController.java] in the applicant-jsp-portlet demo. In fact, I recommend that you download the [com.liferay.portletmvc4spring.demo.applicant.jsp.portlet-5.1.0.war| https://search.maven.org/search?q=applicant-jsp-portlet] artifact and copy it to $PLUTO_HOME/tomcat/webapps and see if you can get it working in your environment. > PortletRequestDispatcherImpl forwards to incorrect path > --- > > Key: PLUTO-781 > URL: https://issues.apache.org/jira/browse/PLUTO-781 > Project: Pluto > Issue Type: Bug > Components: portlet container >Affects Versions: 3.0.1 > Environment: Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly > 14.0.1 >Reporter: Steve Potter >Assignee: Neil Griffin >Priority: Major > Attachments: pluto-debug.txt > > > When a serveResource method forwards to a servlet which then forwards to a > jsp, the HttpServletPortletRequestWrapper provides the path from the first > forward rather than the second forward and the jsp is not rendered. > This is the process used by Spring Portlet MVC to locate JSP 'views' > resulting in the failure of all our portlets when trying to serve JSP's in > response to resource requests. > The attached file contains a DEBUG log of the processing flow attempting to > serve '/WEB-INF/jsp/resource2.jsp' in response to a resource request. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Created] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path
Steve Potter created PLUTO-781: -- Summary: PortletRequestDispatcherImpl forwards to incorrect path Key: PLUTO-781 URL: https://issues.apache.org/jira/browse/PLUTO-781 Project: Pluto Issue Type: Bug Components: portlet container Affects Versions: 3.0.1 Environment: Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly 14.0.1 Reporter: Steve Potter Assignee: Neil Griffin Attachments: pluto-debug.txt When a serveResource method forwards to a servlet which then forwards to a jsp, the HttpServletPortletRequestWrapper provides the path from the first forward rather than the second forward and the jsp is not rendered. This is the process used by Spring Portlet MVC to locate JSP 'views' resulting in the failure of all our portlets when trying to serve JSP's in response to resource requests. The attached file contains a DEBUG log of the processing flow attempting to serve '/WEB-INF/jsp/resource2.jsp' in response to a resource request. -- This message was sent by Atlassian Jira (v8.3.2#803003)