Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2906

RuntimeException thrown when trying to render a .jsp or .jspx view on Liferay Portal 6.2 + WebSphere 8.5.0.0

    Details

      Description

      Steps to Reproduce

      1. Deploy Liferay Portal 6.2 EE SP15 in WebSphere 8.5.0.0

      2. Deploy com.liferay.faces.test.bridge.tck.main.portlet (contains .jsp) or com.liferay.faces.demo.jsf.jsp.applicant.portlet (contains .jspx)

      3. Visit a non-Facelets page that utilizes resourceRequestTest.jsp, like TestPage070 (verifyResourcePhaseTest)

      Expected Results

      The portlet renders an iframe that displays the results of a ResourceURL which indicates "Success"

      Actual Results

      The portlet displays "chapter5_2Tests-verifyResourcePhaseTest-portlet is temporarily unavailable" and the following error appears in the WebSphere server log:

      java.lang.RuntimeException: FacesContext not found
      	at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:324)
      	at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:226)
      	at com.ibm._jsp._resourceRequestTest._jspService(_resourceRequestTest.java:105)
      	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
      	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
      	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
      	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
      	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
      	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
      	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
      	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Development

                  Subcomponents