4 Replies Latest reply on Apr 24, 2009 5:43 PM by Konstantin Konstantinopel

    Warning: FacesContextImpl threw IllegalStateException "No active application scope"

    Konstantin Konstantinopel Newbie

      Hi everybody!


      I got a warning and I've no idea where I should start to search. I think you need much more informations but I don't now which ones and I wont post everything. Please tell me, what do you need to help me.


      This is the message:



      16:56:16,918 WARN  [lifecycle] phase(RENDER_RESPONSE 6,org.jboss.portletbridge.context.FacesContextImpl@dfe44e) threw exception: java.lang.IllegalStateException: No active application scope No active application scope
      org.jboss.seam.core.Init.instance(Init.java:76)
      org.jboss.seam.navigation.Pages.isDebugPage(Pages.java:1526)
      org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(SeamDebugPhaseListener.java:36)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      org.jboss.portletbridge.AjaxPortletBridge.render(AjaxPortletBridge.java:591)
      org.jboss.portletbridge.AjaxPortletBridge.renderResponse(AjaxPortletBridge.java:446)
      org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:344)
      javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:343)
      javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:306)
      javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
      javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:287)
      javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
      org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
      org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
      org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
      org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
      org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
      org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:104)
      org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:131)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
      org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:80)
      org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
      org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
      org.jboss.portal.web.ServletContainer.include(ServletContainer.java:182)
      org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
      org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:76)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:68)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:60)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
      org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:233)
      org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
      org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
      org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:147)
      org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:150)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:99)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementInterceptorImpl.java:58)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:91)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:91)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:134)
      org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:427)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
      org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
      org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:265)
      org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:92)
      org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
      org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:72)
      org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:218)
      org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
      org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
      org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
      org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
      org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
      org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
      org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:271)
      org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
      org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
      org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
      org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
      org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
      org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
      org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      java.lang.Thread.run(Thread.java:619)
      



      I'm using Seam and Facelets (Richfaces) in n portlet with JBoss Portal and JBoss Portlet Bridge. I've checked my configuration files twice but I can't find a mistake.


      What does this message mean? Where is the problem? Or should I ask the portlet bridge list?


      Thanks in advance.


      Cornelius

        • 1. Re: Warning: FacesContextImpl threw IllegalStateException "No active application scope"
          Arbi Sookazian Master

          is there any ERROR or SEVERE level logging before that WARNING stack trace?

          • 2. Re: Warning: FacesContextImpl threw IllegalStateException "No active application scope"
            Konstantin Konstantinopel Newbie

            There are only the following error messages at first portlet load. I've read it's normal, isn't it?


            18:30:43,515 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
            18:30:43,527 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
            18:30:43,543 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
            18:30:43,575 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
            18:30:43,598 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
            18:30:43,618 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
            18:30:43,760 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
            18:30:43,786 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
            18:30:43,815 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
            18:30:43,842 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
            18:30:43,882 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
            18:30:43,951 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
            18:30:43,969 ERROR [STDERR] Apr 23, 2009 6:30:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
            18:30:44,020 ERROR [STDERR] Apr 23, 2009 6:30:44 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
            18:30:44,059 ERROR [STDERR] Apr 23, 2009 6:30:44 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
            18:30:44,077 ERROR [STDERR] Apr 23, 2009 6:30:44 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
            INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.5.SP1/server/default/tmp/deploy/tmp2014PortalExample.ear-contents/LehrgangPortlet-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
            



            During the (fist?) deployment appears the following message:


            WARN  [SeamPhaseListener] There should only be one Seam phase listener per application
            



            Do you have any idea?

            • 3. Re: Warning: FacesContextImpl threw IllegalStateException "No active application scope"
              Arbi Sookazian Master

              I'm not familiar with the Portlet spec, etc.


              but check this out from Seam in Action regarding the WARN output you posted:


              Considering that many of Seam’s enhancements to JSF are performed in a JSF phase
              listener, SeamPhaseListener, it would appear as if there’s one more configuration to
              put in place. But there isn’t—at least, it isn’t necessary. Seam leverages a design feature
              of JSF that allows for any faces-config.xml descriptor available on the classpath to
              be loaded automatically. In Seam 2.0, the Seam phase listener is declared in a facesconfig.
              xml descriptor that’s included in the core Seam JAR file, jboss-seam.jar. Thus,
              the phase listener is available as soon as you include this JAR file in your application.
              The stanza that registers the Seam phase listener is as follows:
              <lifecycle>
              <phase-listener>
              org.jboss.seam.jsf.SeamPhaseListener
              </phase-listener>
              </lifecycle>
              Although you aren’t required to add this declaration to your faces-config.xml descriptor,
              that doesn’t mean you can’t adjust how it operates. Configuration settings that
              affect this phase listener are adjusted in the Seam component descriptor (using
              <core:init>). You can control such things as transaction management, debug mode,
              and the JNDI pattern used to locate EJB components. I explain component configuration
              in chapter 5.
              If the Seam debug JAR file, jboss-seam-debug.jar, is included on the classpath, and
              Seam is running in debug mode, Seam registers an additional JSF phase listener, Seam-
              DebugPhaseListener. The sole purpose of this phase listener is to trap requests for the
              servlet path /debug.seam (assuming the JSF servlet extension mapping .seam) and render
              a developer debug page. This debug page introspects various Seam contexts (conversation,
              session, application, business process) and lets you browse the objects stored
              in them. Information about the long-running conversations in the current session is displayed
              and conversations can be selected to reveal the objects stored in them. The
              debug page is also used to display the exception summary when the application faults.



              have you added another SeamPhaseListener in faces-config.xml for you project?

              • 4. Re: Warning: FacesContextImpl threw IllegalStateException "No active application scope"
                Konstantin Konstantinopel Newbie

                This is my faces-config.xml:


                <?xml version="1.0" encoding="UTF-8"?>
                
                <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
                     <application>
                          <view-handler>org.jboss.portletbridge.application.PortletViewHandler</view-handler>
                          <state-manager>org.jboss.portletbridge.application.PortletStateManager</state-manager>
                     </application>
                </faces-config>
                



                I've tried to add the SeamPhaseListener which doesn't changed anything.


                Now, I've opened a post in the Portlet Bridge Forum. You can see it at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154316


                If anyone has an idea which can helps me, please let me know it anyway!