ajax4jsf afterphase,JSF Portlet not rendering view - Jsf portletbri...| JBoss.org Content Archive (R...

Hello All,

I get the following error when I try to deploy th eexample from Spring webflow source.:

2009-04-14 12:37:57,851 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImpl] Attempting to handle [org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'intro' of flow 'view'] with root cause [javax.faces.FacesException: No portlet bridge context]

2009-04-14 12:37:57,851 DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImpl] Rethrowing unhandled flow execution exception

2009-04-14 12:37:57,851 DEBUG [org.springframework.web.portlet.DispatcherPortlet] Cleared thread-bound render request context: org.jboss.portal.portlet.impl.jsr168.api.RenderRequestImpl@eaf45a

2009-04-14 12:37:57,851 ERROR [org.springframework.web.portlet.DispatcherPortlet] Could not complete request

org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'intro' of flow 'view'

at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:568)

at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:226)

at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:133)

at org.springframework.webflow.mvc.portlet.FlowHandlerAdapter.startFlow(FlowHandlerAdapter.java:236)

at org.springframework.webflow.mvc.portlet.FlowHandlerAdapter.startFlow(FlowHandlerAdapter.java:229)

at org.springframework.webflow.mvc.portlet.FlowHandlerAdapter.handleRender(FlowHandlerAdapter.java:131)

at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811)

at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483)

at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453)

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

at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:568)

at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)

at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)

at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)

at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)

at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)

at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)

at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)

at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)

at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)

at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)

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:585)

at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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:654)

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

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

at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79)

at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)

at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)

at org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)

at org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)

at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)

at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)

at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221)

at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)

at

web.xml looks like:

contextConfigLocation

/WEB-INF/config/application-config.xml

org.ajax4jsf.VIEW_HANDLERS

org.jboss.portletbridge.application.FaceletPortletViewHandler

javax.portlet.faces.renderPolicy

ALWAYS_DELEGATE

javax.portlet.faces.BridgeImplClass

javax.portlet.faces.GenericFacesPortlet

org.springframework.web.context.ContextLoaderListener

portlet.xml looks:

swfp

Spring Webflow Booking Faces

org.springframework.web.portlet.DispatcherPortlet

contextConfigLocation

/WEB-INF/config/hotelbooking-portlet-config.xml

viewRendererUrl

/WEB-INF/servlet/view

0

text/html

view

Spring Webflow Booking Faces

faces-config:

org.jboss.portletbridge.application.PortletViewHandler

org.jboss.portletbridge.application.PortletStateManager

org.jboss.portletbridge.context.FacesContextFactoryImpl

and hotelbooking-portlet-config.xml looks:

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

xmlns:webflow="http://www.springframework.org/schema/webflow-config"

xmlns:faces="http://www.springframework.org/schema/faces"

xsi:schemaLocation="

http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

http://www.springframework.org/schema/webflow-config

http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd

http://www.springframework.org/schema/faces

http://www.springframework.org/schema/faces/spring-faces-2.0.xsd">

Any help would be appriciated.

Thakn you,

Santhosh

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值