1 2 Previous Next 16 Replies Latest reply on May 8, 2013 2:34 PM by Ken Finnigan

    When using Atmosphere - No Default View specified for portlet after upgrading to PB 3.2.0.Final

    Joe Padula Novice

      We have been using Atmosphere for the RichFaces push feature. It has worked in previous configurations. However after upgrading to:

        PortletBridge 3.2.0.Final

        RichFaces 4.3.1.Final

        Atmosphere 1.0.10

        Mojarra 2.1.19

        GateIn 3.5.0.Final

       

      We are having issues. It doesn't seem to be starting in the Portal correctly. Instead we get this exception:

      19:08:56,649 ERROR [org.gatein.pc.container.com_dev_proj_trackreport_TrackReportPortlet] (http--0.0.0.0-8180-2) The portlet threw an exception: javax.portlet.PortletException: Error process faces request

                at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:469) [portletbridge-api-3.2.0.Final.jar:3.2.0.Final]

                at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:582) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:184) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:77) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:184) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:84) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:513) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.wsrp.payload.WSRPEventPayloadInterceptor.invoke(WSRPEventPayloadInterceptor.java:153)

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) [pc-bridge-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82) [wci-wci-2.3.0.Final.jar:2.3.0.Final]

                at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) [:1.6.0_33]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_33]

                at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_33]

                at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135) [wci-wci-2.3.0.Final.jar:2.3.0.Final]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84) [wci-wci-2.3.0.Final.jar:2.3.0.Final]

                at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58) [wci-wci-2.3.0.Final.jar:2.3.0.Final]

                at org.gatein.wci.jboss.JB7ServletContainerContext.include(JB7ServletContainerContext.java:108) [wci-jboss7-2.3.0.Final.jar:2.3.0.Final]

                at org.gatein.wci.ServletContainer.include(ServletContainer.java:392) [wci-wci-2.3.0.Final.jar:2.3.0.Final]

                at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163) [pc-federation-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:244) [pc-federation-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:247) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]

                at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:905) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.application.UIPortletActionListener$ServeResourceActionListener.execute(UIPortletActionListener.java:333) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.webui.event.Event.broadcast(Event.java:97) [exo.portal.webui.framework-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:115) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:54) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) [exo.portal.webui.framework-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) [exo.portal.webui.framework-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:118) [exo.portal.webui.framework-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:560) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:180) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:157) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.web.WebAppController.service(WebAppController.java:325) [exo.portal.component.web.controller-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108) [exo.portal.webui.portal-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132) [exo.kernel.container-2.4.0-GA.jar:2.4.0-GA]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96) [exo.portal.component.web.api-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71) [exo.portal.component.web.api-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70) [exo.portal.component.web.api-3.5.0.Final.jar:3.5.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67) [exo.portal.component.web.security-3.5.0.Final.jar:3.5.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122) [exo.jcr.framework.web-1.15.0-GA.jar:1.15.0-GA]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66) [exo.portal.component.web.security-3.5.0.Final.jar:3.5.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88) [exo.core.component.security.core-2.5.0-GA.jar:2.5.0-GA]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81) [exo.portal.component.web.security-3.5.0.Final.jar:3.5.0.Final]

                at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49) [exo.portal.component.web.security-3.5.0.Final.jar:3.5.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78) [exo.kernel.container-2.4.0-GA.jar:2.4.0-GA]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.gatein.sso.integration.SSODelegateValve.invoke(SSODelegateValve.java:159)

                at org.exoplatform.web.login.PortalClusteredSSOSupportValve.invoke(PortalClusteredSSOSupportValve.java:89) [exo.portal.component.web.security-3.5.0.Final.jar:3.5.0.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.Patched.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.Patched.jar:]

                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]

      Caused by: javax.portlet.faces.BridgeDefaultViewNotSpecifiedException: No Default View specified for portlet: devTrackReport

                at org.jboss.portletbridge.bridge.context.BridgeContextImpl.getDefaultFacesViewIdForRequest(BridgeContextImpl.java:570) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.bridge.context.BridgeContextImpl.getFacesViewId(BridgeContextImpl.java:449) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.bridge.scope.BridgeRequestScopeManagerImpl.getRequestScope(BridgeRequestScopeManagerImpl.java:139) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.bridge.context.BridgeContextImpl.getBridgeScope(BridgeContextImpl.java:460) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.context.PortletExternalContextImpl.<init>(PortletExternalContextImpl.java:120) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.context.MimeExternalContextImpl.<init>(MimeExternalContextImpl.java:59) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.context.ResourceRequestExternalContextImpl.<init>(ResourceRequestExternalContextImpl.java:54) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.context.PortletExternalContextFactoryImpl.getExternalContext(PortletExternalContextFactoryImpl.java:76) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.richfaces.context.SkinningExternalContextFactory.getExternalContext(SkinningExternalContextFactory.java:76) [richfaces-core-impl-4.3.1.Final.jar:4.3.1.Final]

                at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:88) [jsf-impl-2.1.19.jar:2.1.19]

                at org.jboss.portletbridge.context.PortletFacesContextFactoryImpl.getFacesContext(PortletFacesContextFactoryImpl.java:61) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.richfaces.context.FileUploadFacesContextFactory.getFacesContext(FileUploadFacesContextFactory.java:88) [portletbridge-extension-richfaces-3.2.0.Final.jar:3.2.0.Final]

                at org.richfaces.context.FileUploadFacesContextFactory.getFacesContext(FileUploadFacesContextFactory.java:143) [richfaces-components-ui-4.3.1.Final.jar:4.3.1.Final]

                at com.sun.faces.context.InjectionFacesContextFactory.getFacesContext(InjectionFacesContextFactory.java:121) [jsf-impl-2.1.19.jar:2.1.19]

                at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.getFacesContext(Jsf20ControllerImpl.java:646) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderResource(Jsf20ControllerImpl.java:278) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:278) [portletbridge-impl-3.2.0.Final.jar:3.2.0.Final]

                at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:467) [portletbridge-api-3.2.0.Final.jar:3.2.0.Final]

                ... 117 more

       

      Here is web.xml contents:

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app id="WebApp_ID" version="3.0"

      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-app_3_0.xsd">

      <display-name>Track Report Portal</display-name>

      <context-param>

        <param-name>contextConfigLocation</param-name>

        <param-value>/WEB-INF/spring-beans.xml</param-value>

      </context-param>

      <context-param>

        <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>

        <param-value>true</param-value>

      </context-param>

      <context-param>

        <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>

        <param-value>true</param-value>

      </context-param>

      <context-param>

        <param-name>javax.faces.PROJECT_STAGE</param-name>

        <param-value>Development</param-value>

      </context-param>

      <context-param>

        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

        <param-value>server</param-value>

      </context-param>

      <context-param>

        <description>From Jboss Portlet Bridge documentation for facelets

      https://docs.jboss.org/author/display/PBR/Render+Policy</description>

        <param-name>javax.portlet.faces.RENDER_POLICY</param-name>

        <param-value>ALWAYS_DELEGATE</param-value>

      </context-param>

      <context-param>

        <param-name>org.atmosphere.useBlocking</param-name>

        <param-value>true</param-value>

      </context-param>

      <!-- Use the PortletBridge bundled in the war -->

      <context-param>

        <param-name>org.gatein.portletbridge.WAR_BUNDLES_PORTLETBRIDGE</param-name>

        <param-value>true</param-value>

      </context-param>

      <context-param>

        <param-name>org.richfaces.fileUpload.createTempFiles</param-name>

        <param-value>false</param-value>

      </context-param>

      <context-param>

        <param-name>org.richfaces.fileUpload.maxRequestSize</param-name>

        <param-value>100000</param-value>

      </context-param>

      <context-param>

        <param-name>org.richfaces.push.initializeOnStartup</param-name>

        <param-value>true</param-value>

      </context-param>

      <context-param>

        <param-name>org.richfaces.resourceOptimization.enabled</param-name>

        <param-value>true</param-value>

      </context-param>

      <context-param>

        <param-name>org.richfaces.skin</param-name>

        <param-value>#{skinBean.skin}</param-value>

      </context-param>

      <filter>

        <description>Required for resolution of gatein-resources.xml (javascript)</description>

        <filter-name>ResourceRequestFilter</filter-name>

        <filter-class>org.exoplatform.portal.application.ResourceRequestFilter</filter-class>

      </filter>

      <filter-mapping>

        <filter-name>ResourceRequestFilter</filter-name>

        <url-pattern>/*</url-pattern>

      </filter-mapping>

      <listener>

        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

      </listener>

      <listener>

        <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>

      </listener>

      <servlet>

        <servlet-name>Faces Servlet</servlet-name>

        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

        <load-on-startup>1</load-on-startup>

      </servlet>

      <servlet>

        <description>Renders database images for JSF components</description>

        <display-name>TrackReportImageServlet</display-name>

        <servlet-name>TrackReportImageServlet</servlet-name>

        <servlet-class>com.dev.proj.imageservlet.TrackReportImageServlet</servlet-class>

      </servlet>

      <servlet-mapping>

        <servlet-name>Faces Servlet</servlet-name>

        <url-pattern>*.jsf</url-pattern>

      </servlet-mapping>

      <servlet-mapping>

        <servlet-name>Faces Servlet</servlet-name>

        <url-pattern>/faces/*</url-pattern>

      </servlet-mapping>

      <servlet-mapping>

        <servlet-name>TrackReportImageServlet</servlet-name>

        <url-pattern>/TrackReportImageServlet</url-pattern>

      </servlet-mapping>

      <mime-mapping>

        <extension>xcss</extension>

        <mime-type>text/css</mime-type>

      </mime-mapping>

      </web-app>

       

       

      Here is our previous configuration which was working:

        PortletBridge 3.2.0.Alpha2

        RichFaces 4.3.0.Final

        Atmosphere 1.0.1

        Mojarra 2.1.17

        GateIn 3.5.0.Final

        • 1. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
          Ken Finnigan Master

          Joe,

           

          Does your portlet (devTrackReport) specify a default view id? As the exception implies that it doesn't.

           

          I'd recommend going back to the previous configuration and then updating each library one at a time. For example updating to PBR 3.2.0.Final to see if its an issue with PBR, and then move onto another library.

           

          Ken

          • 2. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
            Joe Padula Novice

            Thanks Ken. I don't think we specify a default view id? Can you show an example of how that is done?

             

            I will try your advice and upgrade on component at time.

             

            UPDATE: After double checking, I realized that we are indeed setting the default view id (javax.portlet.faces.defaultViewId.view), in portlet.xml. (I've listed the portlet.xml in my next posting.)

            • 3. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
              Joe Padula Novice

              I updated just PB 3.2.0.Final and still getting the exception, so I guess it doesn't have anything to do with the new version of Atmosphere or RF. (I've modified title to reflect actual problem.) Here is how we set the default view id.

               

              <?xml version="1.0" encoding="UTF-8"?>

              <portlet-app

                        xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"

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

                        xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"

                        version="2.0">

               

               

                        <portlet>

                                  <portlet-name>devTrackReport</portlet-name>

                                  <display-name>Track Report</display-name>

                                  <portlet-class>com.dev.proj.trackreport.TrackReportPortlet</portlet-class>

                                  <init-param>

                                            <name>javax.portlet.faces.defaultViewId.view</name>

                                            <value>/main.xhtml</value>

                                  </init-param>

                                  <init-param>

                                            <name>javax.portlet.faces.preserveActionParams</name>

                                            <value>true</value>

                              </init-param>

                                  <supports>

                                            <mime-type>text/html</mime-type>

                                            <portlet-mode>VIEW</portlet-mode>

                                  </supports>

                                  <supported-locale>ar</supported-locale>

                                  <supported-locale>bg</supported-locale>

                 ...

               

                                  <portlet-info>

                                            <title> Track Report</title>

                                  </portlet-info>

                        </portlet>

               

               

              </portlet-app>

               

              UPDATE:  This has not changed. We set it the same way in several other portlets and only this one and another are having the issue. All the others do not throw the exception.

               

              Message was edited by: Joe Padula - clarify that we have always set the default view id as shown in portlet.xml

              • 4. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                Joe Padula Novice

                Ken,

                I'd like to try PB 3.2.0.CR1 since that also supports RF 4.3.1.Final. Can you provide a link where I can download those PB components?

                (It's strange because only two of our portlets are getting the exception, others are not.)

                Regards,

                Joe

                • 5. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                  Ken Finnigan Master

                  Joe,

                   

                  All the artifacts are available in Maven: http://search.maven.org/#search%7Cga%7C1%7Corg.jboss.portletbridge

                   

                  As for the default view id, that is definitely the correct way to set it.

                   

                  Is it only the two portlets that are failing that use the atmosphere push? Or do some of the portlets that worked after upgrading also use it?

                  • 6. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                    Joe Padula Novice

                    Yes, only the two portlets using Atmosphere push are failing. That is why I thought at first it had something to do with the new version of Atmosphere that we upgraded to.

                     

                    I will try PB 3.2.0.CR1 and see if also having problem with that version.

                    • 7. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                      Joe Padula Novice

                      Ken,

                      I am seeing same problems when using PB 3.2.0.CR1 (again, only for the two portlets using the Atmosphere push).

                      Joe

                      • 8. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                        Ken Finnigan Master

                        Joe,

                         

                        Can you try Beta1 and Beta2? So that we can narrow down exactly which version after Alpha2 its broken in?

                         

                        Also, is it easy to trim down the portlet that isn't working into a simple example that you can attach?

                         

                        Thanks

                        Ken

                        • 9. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                          Joe Padula Novice

                          Ken,

                          The problem started happening in Beta1.

                           

                          I will check if we can provide an example, I didn't write the portlets using atmosphere push, so I am not that familiar with those portlets to be able to trim it up right away.

                          Joe

                          • 10. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                            Ken Finnigan Master

                            Joe,

                             

                            Thanks for all that testing!

                             

                            My initial thought would be its this commit that causes the issue: https://github.com/portletbridge/portletbridge/commit/98a00cb67db5e4548f51423352d6755e6d4d8544

                             

                            Can you do one more test? Remove the services file from the richfaces jar that was added as part of that commit and then test it?

                             

                            Thanks

                            Ken

                            • 11. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                              Joe Padula Novice

                              Ken,

                              I will try that. Double checking that I should -

                                  remove the services folder under META-INF?

                              Joe

                              • 12. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                                Ken Finnigan Master

                                In the richfaces extension jar, yes.

                                 

                                There should only be that one file in the services directory anyway.

                                 

                                Ken

                                • 13. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                                  Joe Padula Novice

                                  After removing that file from Beta1, no longer get that exception and Atmosphere gets installed correctly. Now I see this logging:

                                   

                                  11:54:51,825 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Auto detecting atmosphere handlers /WEB-INF/classes/

                                  11:54:51,835 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Auto detecting WebSocketHandler in /WEB-INF/classes/

                                  11:54:51,843 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Atmosphere is using async support: org.atmosphere.container.BlockingIOCometSupport running under container: JBoss Web/7.0.13.Final

                                  11:54:51,844 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol

                                  11:54:51,849 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Installed Default AtmosphereInterceptor [Android Interceptor Support, SSE Interceptor Support, JSONP Interceptor Support]. Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults in your xml to disable them.

                                  11:54:51,851 WARN  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the HeaderBroadcasterCache.

                                  11:54:51,855 WARN  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Neither TrackMessageSizeInterceptor or TrackMessageSizeFilter are installed. atmosphere.js may receive glued and incomplete message.

                                  11:54:51,856 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) HttpSession supported: false

                                  11:54:51,856 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory

                                  11:54:51,857 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor

                                  11:54:51,858 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Using Broadcaster: org.atmosphere.cpr.DefaultBroadcaster

                                  11:54:51,862 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Atmosphere Framework 1.0.1 started.

                                  11:54:51,878 INFO  [org.atmosphere.cpr.AtmosphereFramework] (http--0.0.0.0-8180-4) Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /__richfaces_push

                                  11:54:51,879 INFO  [org.atmosphere.handler.ReflectorServletProcessor] (http--0.0.0.0-8180-4) Installing Servlet null

                                  11:54:51,880 INFO  [org.atmosphere.handler.ReflectorServletProcessor] (http--0.0.0.0-8180-4) Installing Filter PushHandlerFilter

                                   

                                  So your hunch was correct, that files appears to be causing the problem.

                                  Joe

                                  • 14. Re: Atmosphere 1.0.10 fails after upgrading to PB 3.2.0.Final
                                    Ken Finnigan Master

                                    I'm not sure what implications there are for removing that service class, as I know it was added to fix a bug with a4j:push in some situations, but it appears to break it in others.

                                     

                                    Can you raise a JIRA for this with the info we've collected?

                                     

                                    Thanks

                                    Ken

                                    1 2 Previous Next