1 2 Previous Next 15 Replies Latest reply: May 15, 2012 10:09 AM by Ken Finnigan RSS

    ClassCastException javax.servlet.ServletResponse

    Jérôme Jandot Newbie

      Hi,

       

      i've an exception :

      AjaxContext implementation class org.jboss.portletbridge.richfaces.PortletAjaxContext not foundGRAVE: Error Rendering View[/pages/authentifier.xhtml]

      java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.RenderResponseImpl cannot be cast to javax.servlet.ServletResponse

       

      With :

      TomCat 6

      JSF 2.1.2

      RichFaces 3.3.3.Final

      PortletBridge 3.0.0.Beta2

       

      Do you've any idea  ?

       

      web.xml :

      <context-param>
      <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
      <param-value>com.sun.facelets.FaceletViewHandler</param-value>
      </context-param>

      <context-param>
      <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
      <param-value>true</param-value>
      </context-param>

       

       

      faces-config.xml  :

      <?xml version="1.0"?>

      <faces-config

      xmlns="http://java.sun.com/xml/ns/javaee"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"

      version="2.0">

      <navigation-rule>

      <from-view-id>*</from-view-id>

      <navigation-case>

      <from-outcome>valid_cgu</from-outcome>

      <to-view-id>/pages/accepter_cgu.xhtml</to-view-id>

      </navigation-case>

      </navigation-rule>

      <navigation-rule>

      <from-view-id>*</from-view-id>

      <navigation-case>

      <from-outcome>change_mdp</from-outcome>

      <to-view-id>/pages/changer_mot_de_passe.xhtml</to-view-id>

      </navigation-case>

      </navigation-rule>

       

      <application>

      <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>

      </application>

      </faces-config>

        • 1. Re: ClassCastException javax.servlet.ServletResponse
          Ken Finnigan Master

          Unfortunately I don't.

           

          Can you post the full stack trace, as that may help in identifying the problem?

          • 2. Re: ClassCastException javax.servlet.ServletResponse
            Alexander Smirnov Master

            Portletbridge 3.0 requires Richfaces 4, version 3.3 has only limited support for JSF 2 API

            • 3. Re: ClassCastException javax.servlet.ServletResponse
              Jérôme Jandot Newbie

              Hi Ken,

               

              Maybe the complete stack trace can help to identify a problem ...

               

              For Alexander, yes i know RF3.3 has limited support.

              PortletBridge 3.0 Final will be perform for RF4 but RF4 will not be included in PB3 (its just optimisation) ?

               

              AjaxContext implementation class org.jboss.portletbridge.richfaces.PortletAjaxContext not foundGRAVE: Error Rendering View[/pages/authentifier.xhtml]
              java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.RenderResponseImpl cannot be cast to javax.servlet.ServletResponse
                      at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:370)
                      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
                      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
                      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:179)
                      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
                      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:273)
                      at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:258)
                      at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:509)
                      at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:423)
                      at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)
                      at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:397)
                      at javax.portlet.GenericPortlet.render(GenericPortlet.java:259)
                      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
                      at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
                      at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
                      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
                      at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
                      at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                      at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
                      at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
                      at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)
                      at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)
                      at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)
                      at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:151)
                      at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:211)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:1039)
                      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:203)
                      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIContainer.run(UIContainer.gtmpl:49)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIPage.run(UIPage.gtmpl:8)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:38)
                      at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:30)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UISiteBody.run(UISiteBody.gtmpl:31)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIContainer.run(UIContainer.gtmpl:49)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:105)
                      at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:96)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:53)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:109)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:25)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:133)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:95)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:37)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:537)
                      at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:117)
                      at org.exoplatform.web.WebAppController.service(WebAppController.java:161)
                      at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
                      at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:114)
                      at fr.s2e.exoplatform.filter.InputFilter.doFilter(InputFilter.java:173)
                      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)
                      at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
                      at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:78)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:11
              6)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:90)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:179)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:92)
                      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:53)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
                      at java.lang.Thread.run(Thread.java:662)
              javax.faces.FacesException: org.gatein.pc.portlet.impl.jsr168.api.RenderResponseImpl cannot be cast to javax.servlet.ServletResponse
                      at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:141)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
                      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
                      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:273)
                      at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:258)
                      at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:509)
                      at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:423)
                      at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)
                      at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:397)
                      at javax.portlet.GenericPortlet.render(GenericPortlet.java:259)
                      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
                      at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
                      at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
                      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
                      at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
                      at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                      at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
                      at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
                      at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)
                      at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)
                      at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
                      at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)
                      at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:151)
                      at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:211)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
                      at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:89)
                      at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:1039)
                      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:203)
                      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIContainer.run(UIContainer.gtmpl:49)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIPage.run(UIPage.gtmpl:8)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:38)
                      at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:30)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UISiteBody.run(UISiteBody.gtmpl:31)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIContainer.run(UIContainer.gtmpl:49)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:105)
                      at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:96)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:53)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                      at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                      at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:109)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:597)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
                      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                      at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:25)
                      at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
                      at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
                      at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
                      at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:128)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:133)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:95)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:37)
                      at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
                      at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:537)
                      at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:117)
                      at org.exoplatform.web.WebAppController.service(WebAppController.java:161)
                      at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
                      at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:114)
                      at fr.s2e.exoplatform.filter.InputFilter.doFilter(InputFilter.java:173)
                      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)
                      at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
                      at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:78)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:11
              6)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:90)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:179)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:92)
                      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:53)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                      at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
                      at java.lang.Thread.run(Thread.java:662)
              Caused by: java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.RenderResponseImpl cannot be cast to javax.servlet.ServletResponse
                      at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:370)
                      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
                      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
                      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:179)
                      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
                      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
                      ... 231 more

              • 4. Re: ClassCastException javax.servlet.ServletResponse
                Ken Finnigan Master

                Do you have the following in your faces-config.xml:

                 

                <view-handler>org.jboss.portletbridge.application.PortletViewHandler</view-handler>

                 

                It may be a problem because the above is not present, or overwritten with a different class.

                • 5. Re: ClassCastException javax.servlet.ServletResponse
                  Marc Schmucki Newbie

                  Hey, could you get it work???

                  • 6. Re: ClassCastException javax.servlet.ServletResponse
                    Jérôme Jandot Newbie

                    I remember "PortletViewHandler" was set in faces-config.xml when i try to migrate.

                     

                    We just stop to migrate to :

                    JSF 2.1.2

                    RichFaces 3.3.3.Final

                    PortletBridge 3.0.0.Beta2

                     

                    We negociate to exclude IE6 and finally migrate to :

                    JSF 2

                    RichFaces 4

                    PortletBridge 3.0.0.BetaX

                     

                    It seems to be easier to migrate with PB3/JSF2/RF4 than PB3/JSF2/RF3.

                     

                    • 7. Re: ClassCastException javax.servlet.ServletResponse
                      Antoine Herzog Master

                      Interesting to know.

                       

                      A) do you use all this with JBoss AS 5 ? JBoss AS 6 ? or JBoss AS 7 ?

                       

                      B) when done, could you post to explain if it was easy (with RF4), and what was the most important tricks to make the migration ?

                       

                      Thank you,

                      Antoine

                      Presta-Expert, trouvez un expert

                      • 8. Re: ClassCastException javax.servlet.ServletResponse
                        Marc Schmucki Newbie

                        It's the same for us. But because of we have to change almost everything because of that, we are thinking of even change to use Primefaces for the GUI because of the very slow GUI Performance and experience of Richfaces3

                        • 10. Re: ClassCastException javax.servlet.ServletResponse
                          Jérôme Jandot Newbie

                          Primefaces don't support IE6.

                          Primefaces support :

                          Firefox 3.6+

                          Safari 4.0+

                          Opera

                          Chrome

                          IE 7-8-9

                           

                          OpenFaces can work with RF3 and support IE6

                          • 11. Re: ClassCastException javax.servlet.ServletResponse
                            Ken Finnigan Master

                            Marc,

                             

                            Are you talking about switching to PrimeFaces 2 or 3?

                             

                            If you mean PrimeFaces 3, then trying to use RichFaces 3 as a comparison is not an equal one.  PrimeFaces 3 is an extension of JSF2, whereas RichFaces 3 has initial JSF2 support but was never intended for use with JSF2 in the long term.  It was developed as an on-ramp to JSF2 usage for an enterprise.

                             

                            If you're considering PrimeFaces 3, why not upgrade to RichFaces 4 which is completely JSF2 compliant?

                             

                            Ken

                            • 12. Re: ClassCastException javax.servlet.ServletResponse
                              Marc Schmucki Newbie

                              I'm talking about switching to Primefaces3. Of course I know that I have to compare that with Richfaces4. But the performance results are always for Primefaces. Because of that I think we will switch to that :-S

                              • 13. Re: ClassCastException javax.servlet.ServletResponse
                                Ken Finnigan Master

                                Do you mean that PrimeFaces always performs better than RichFaces?  If so, do you have benchmarks showing those outcomes?

                                1 2 Previous Next