2 Replies Latest reply on May 12, 2011 9:29 AM by Ilya Shaikovsky

    Richfaces Migration 4.0 JSF2.0 Issues

    harigopal prakash Newbie

      Hi,

       

      We are currently working on LR 6.0.5 CE + Richfaces 3.3.3 + Portlet Bridge 2.0.1 + JSF 1.2. We are trying to migrate to new versions in Richfaces

      4.0 with Jsf 2.0 and Portlet bridge 2.1.0 , when i try to do upgrade the portlets are getting registered successfully upon deploying.

      But when we try to access the page its giving the following stacktrace.

       

      You can find the attachment of web.xml also , and please let me know anything i am missing here

       

      09:24:21,263 ERROR [PortletServlet:96] javax.portlet.PortletException: Error process faces request

        2javax.portlet.PortletException: Error process faces request

        3        at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:600)

        4        at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:486)

        5        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)

        6        at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:457)

        7        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)

        8        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)

        9        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)

      10        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)

      11        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      12        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      13        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      14        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

      15        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)

      16        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

      17        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)

      18        at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)

      19        at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:425)

      20        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1440)

      21        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      22        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      23        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

      24        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

      25        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

      26        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      27        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      28        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      29        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

      30        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)

      31        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

      32        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3723)

      33        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1180)

      34        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:160)

      35        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:94)

      36        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:256)

      37        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:181)

      38        at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:821)

      39        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      40        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      41        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

      42        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

      43        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

      44        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      45        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      46        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      47        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

      48        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)

      49        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

      50        at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:361)

      51        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:618)

      52        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:229)

      53        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

      54        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

      55        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)

      56        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

      57        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

      58        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

      59        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)

      60        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)

      61        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      62        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      63        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      64        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      65        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      66        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      67        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      68        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      69        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      70        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      71        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      72        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      73        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)

      74        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      75        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      76        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      77        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      78        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      79        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      80        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      81        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      82        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:137)

      83        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      84        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      85        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      86        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      87        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)

      88        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      89        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      90        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      91        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      92        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)

      93        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      94        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      95        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      96        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

      97        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

      98        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

      99        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

      100        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:133)

      101        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      102        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      103        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      104        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      105        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      106        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      107        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      108        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      109        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      110        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      111        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      112        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      113        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)

      114        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      115        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      116        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      117        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      118        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      119        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      120        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      121        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      122        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:126)

      123        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      124        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      125        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      126        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      127        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)

      128        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      129        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      130        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      131        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      132        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:221)

      133        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      134        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      135        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      136        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      137        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      138        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      139        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      140        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      141        at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:385)

      142        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      143        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      144        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      145        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      146        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)

      147        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      148        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      149        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      150        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      151        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)

      152        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      153        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      154        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      155        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      156        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)

      157        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      158        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      159        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      160        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      161        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)

      162        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      163        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      164        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      165        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      166        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:239)

      167        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      168        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      169        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      170        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      171        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      172        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      173        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      174        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      175        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)

      176        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      177        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      178        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)

      179        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      180        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      181        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)

      182        at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)

      183        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)

      184        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      185        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      186        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

      187        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      188        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)

      189        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      190        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      191        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      192        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

      193        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)

      194        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

      195        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

      196        at java.lang.Thread.run(Thread.java:619)

      197Caused by: javax.portlet.faces.BridgeException: Error processing render lifecycle

      198        at org.jboss.portletbridge.ExceptionHandlerBase.processRenderException(ExceptionHandlerBase.java:72)

      199        at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:689)

      200        at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:598)

      201        ... 193 more

      202Caused by: java.lang.UnsupportedOperationException

      203        at javax.faces.context.FacesContext.setCurrentPhaseId(FacesContext.java:682)

      204        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:86)

      205        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)

      206        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

      207        at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:1163)

      208        at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:647)

      209        ... 194 more

      210May 10, 2011 9:24:21 AM org.apache.catalina.core.ApplicationDispatcher invoke

      211SEVERE: Servlet.service() for servlet SampleRichfaces threw exception

      212java.lang.UnsupportedOperationException

      213        at javax.faces.context.FacesContext.setCurrentPhaseId(FacesContext.java:682)

      214        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:86)

      215        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)

      216        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

      217        at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:1163)

      218        at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:647)