Hi , I am using Jboss Portal 2.7 and Spring WebFlow 2.0
While integrating Spring sample portal with Jboss portal it gives error below, java.lang.ClassCastException: org.jboss.portal.portlet.impl.jsr168.api.PortletContextImpl cannot be cast to javax.servlet.ServletContext at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:108) at org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:195) at org.springframework.faces.webflow.FlowFacesContext.newInstance(FlowFacesContext.java:69) at org.springframework.faces.webflow.JsfViewFactory.getView(JsfViewFactory.java:70) at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:179) at org.springframework.webflow.engine.State.enter(State.java:194) at org.springframework.webflow.engine.Flow.start(Flow.java:535) at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:364) at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:222) at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140) at org.springframework.webflow.mvc.portlet.FlowHandlerAdapter.startFlow(FlowHandlerAdapter.java:235) at org.springframework.webflow.mvc.portlet.FlowHandlerAdapter.startFlow(FlowHandlerAdapter.java:228) a Does any one have a solution for this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269751#4269751 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269751 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user