Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 3 results 

      Description

      1) Create a new JSF 2.0 portlet using the wizard

      2) Install the portlet and start the server (using the ide)

      3) Add the portlet in a page

      21:42:58,996 INFO [PortalImpl:4873] Current URL / generates exception: javax.servlet.ServletException: java.lang.StackOverflowError
      21:42:59,326 ERROR [status_jsp:670] org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
      org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      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:70)
      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 com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4735)
      at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4694)
      at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1443)
      at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:86)
      at com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:334)
      at com.liferay.portal.action.UpdateLayoutAction.getJSON(UpdateLayoutAction.java:287)
      at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:59)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
      at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510)
      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.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:304)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
      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.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.servlet.ServletException: java.lang.StackOverflowError
      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
      at com.liferay.portal.kernel.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:161)
      at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:2028)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      ... 90 more
      Caused by: java.lang.StackOverflowError
      at org.apache.catalina.connector.Request.notifyAttributeAssigned(Request.java:1560)
      at org.apache.catalina.connector.Request.setAttribute(Request.java:1544)
      at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:541)
      at org.apache.catalina.core.ApplicationHttpRequest.setAttribute(ApplicationHttpRequest.java:281)
      at org.apache.catalina.core.ApplicationHttpRequest.setAttribute(ApplicationHttpRequest.java:281)
      at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:239)
      at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:239)
      at com.liferay.portal.servlet.NamespaceServletRequest.setAttribute(NamespaceServletRequest.java:124)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:59)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      ... and so on

        Issue Links

          Activity

          Hide
          Jonas Yuan added a comment -

          Hi Michael, the fix only works for the first time to add plugin portel into a page. Afterthat, the issue comes out again, in-finite loop.

          at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
          at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)

          Show
          Jonas Yuan added a comment - Hi Michael, the fix only works for the first time to add plugin portel into a page. Afterthat, the issue comes out again, in-finite loop. at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)
          Hide
          Neil Griffin added a comment -

          I just tested creating a JSF portlet with Liferay Portal 6.1.10 EE and Liferay Developer Studio 1.5.2.v201203030830 and it worked fine. The infinite loop still occurs with Liferay Portal CE 6.1.0 GA1, but that is to be expected. It should work in 6.1.1 GA2 when it comes out.

          Show
          Neil Griffin added a comment - I just tested creating a JSF portlet with Liferay Portal 6.1.10 EE and Liferay Developer Studio 1.5.2.v201203030830 and it worked fine. The infinite loop still occurs with Liferay Portal CE 6.1.0 GA1, but that is to be expected. It should work in 6.1.1 GA2 when it comes out.
          Hide
          Ali Alavi added a comment -

          Using
          IDE versoin: 1.5.3.v201206170937
          SDK version : 6.1.0-ce-ga1-20120106155615760
          Liferay version: liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760

          I have created a portlet project in eclipse with Liferay MVC framework (not jsf).
          In WEB-INF/liferay-web.xml there is not any "Invoker Filter".

          But I'm having same issue:

          14:35:53,841 ERROR [IncludeTag:426] Current URL / generates exception: java.lang.StackOverflowError
          14:35:53,848 ERROR [IncludeTag:154] java.lang.StackOverflowError
          at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
          ...

          Show
          Ali Alavi added a comment - Using IDE versoin: 1.5.3.v201206170937 SDK version : 6.1.0-ce-ga1-20120106155615760 Liferay version: liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760 I have created a portlet project in eclipse with Liferay MVC framework (not jsf). In WEB-INF/liferay-web.xml there is not any "Invoker Filter". But I'm having same issue: 14:35:53,841 ERROR [IncludeTag:426] Current URL / generates exception: java.lang.StackOverflowError 14:35:53,848 ERROR [IncludeTag:154] java.lang.StackOverflowError at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229) ...
          Hide
          SP added a comment -

          Hi All,
          Here are the version i am using.
          Lifreray war:6.1.0
          Application server:weblogic10.3.5
          and using jsf2.0 with liferay portlet bridges2.0 and i am able to sucessfully deploy the war file in weblogic10.3.5 and can view and instantiate the portlets in liferay home.

          but in Weblogic 10.3.2 i am able to deploy the same war file but unable to view and instantiate the portlets in liferay home.
          Here are the weblogic logs:
          <BEA-101165> <Could not load user defined filter in web.xml: com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.
          java.lang.IllegalStateException: Unable to initialize portal
          at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:47)
          at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
          at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
          at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
          at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:84)
          at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)

          Could you please suggest if i move to liferay6.1.1ce.GA2,could fix the issue?

          Thanks in Advance.

          Show
          SP added a comment - Hi All, Here are the version i am using. Lifreray war:6.1.0 Application server:weblogic10.3.5 and using jsf2.0 with liferay portlet bridges2.0 and i am able to sucessfully deploy the war file in weblogic10.3.5 and can view and instantiate the portlets in liferay home. but in Weblogic 10.3.2 i am able to deploy the same war file but unable to view and instantiate the portlets in liferay home. Here are the weblogic logs: <BEA-101165> <Could not load user defined filter in web.xml: com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter. java.lang.IllegalStateException: Unable to initialize portal at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:47) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:84) at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332) Could you please suggest if i move to liferay6.1.1ce.GA2,could fix the issue? Thanks in Advance.
          Hide
          Edward Gonzales added a comment -

          Hello everyone! We are in the process of removing component "Portlet" from LPS. Please replace this issue's component, "Portlet", with a new component. There are over 200+ components, in the newly organized component list. Also, make the necessary adjustments to affected filters. Thanks!

          Show
          Edward Gonzales added a comment - Hello everyone! We are in the process of removing component "Portlet" from LPS. Please replace this issue's component, "Portlet", with a new component. There are over 200+ components, in the newly organized component list. Also, make the necessary adjustments to affected filters. Thanks!

            People

            • Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 45 weeks, 2 days ago

                Development

                  Structure Helper Panel