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

WSRP Enabled Portlet - requested resource not available exception with auto extend session

    Details

      Description

      Description
      When client is attempting to utilize a WSRP-enabled portlet with the session.timeout.auto.extend property set to true, the following stack trace is generated.

      SEVERE: Servlet.service() for servlet default threw exception
      java.io.FileNotFoundException: The requested resource (/wsrp-portlet/WSRP_f11ee05c__5d24__4652__81de__e14680e142e2/invoke) is not available
              at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:776)
              at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:411)
              at org.apache.catalina.servlets.DefaultServlet.doPost(DefaultServlet.java:493)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
              at org.apache.jsp.html.portal.extend_005fsession_jsp._jspService(extend_005fsession_jsp.java:441)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      

      With this property set to false, the issue is no longer present.

      Steps to Reproduce

      1) Create WSRP-Enabled portlet via remoteable tags.

      2) Add the following property to portal-ext.properties:

      session.timeout.auto.extend=true

      3) Edit web.xml for session timeout to be 1 minute.

      4) Startup the portal, deploying both the WSRP-enabled test portlet and the WSRP plugin.

      5) Upon auto-extend trigger, an exception is generated.

      Test Environments
      Unable to test, as wsrp plugins were not working with trunk/branch.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 47 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M3