Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-77696

<@aui.form> in Freemarker portlet throws ServletExceptions when portlet is displayed

    Details

      Description

      1. Deploy DXP
      2. Deploy the attached dpm26-1.0.0.jar - this is a basic freemarker portlet with email, password, and sign in.
      3. Add the portlet to the Welcome page and all should render fine without any errors.
      4. Stop DXP and restart

      Expectation: DXP should start up normally, render correctly, and no error logs.
      Actual: DXP throws Servlet errors in the log and the portlet will not render correctly.

      SEVERE [http-nio-8080-exec-2] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
       javax.servlet.ServletException: File [/html/taglib/aui/form/start.jsp/invoke] not found
      	at org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:418)
      ...
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      	at com.liferay.portlet.PortletContainerImpl._render(PortletContainerImpl.java:682)
      	at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:145)
      	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:126)
      	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
      	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
      	at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:126)
      	at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:73)
      	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:444)
      	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:286)
      	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
      	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:125)
      	at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
      	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:755)
      ...
      ERROR [http-nio-8080-exec-2][IncludeTag:128] Current URL /web/guest/home generates exception: File [/html/taglib/aui/form/start.jsp/invoke] not found
      javax.servlet.ServletException: File [/html/taglib/aui/form/start.jsp/invoke] not found
      	at org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:418)
      ...
      ERROR [http-nio-8080-exec-3][IncludeTag:128] Current URL / generates exception: File [/html/taglib/aui/form/end.jsp/invoke] not found
      javax.servlet.ServletException: File [/html/taglib/aui/form/end.jsp/invoke] not found
      	at org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:418)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      ...
      

        Attachments

        1. dpm26-1.0.0.jar
          129 kB
        2. dpm26-1.0.1.jar
          128 kB
        3. liferay.2018-02-24.log
          422 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 19 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP41
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master