I am new to Spring and is evaluating Spring Web Flow 2.0 with JSF for next project. Below is the environment.
1) Spring Web Flow 2.0
2) JBoss 4.2.3
3) JSF
4) Spring Suite Tool for development
I could deploy the WAR file without any error. When I hit the browser first screen does comes correctly but when I click on “Login” button, I get following error on browser and log file respectively. I am struggling for last 2 days but of no avail. Any help will be greatly appreciated.
Browser
HTTP Status 404 - /RND/spring/adhoc?execution=e4s1
________________________________________
type Status report
message /RND/spring/adhoc?execution=e4s1
description The requested resource (/RND/spring/adhoc?execution=e4s1) is not available.
JBoss Log File:
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] servletPath /spring
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] pathInfo /adhoc
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] URL pattern of the FacesServlet executing the current request /spring
2010-02-17 11:58:39,212 DEBUG [org.springframework.faces.webflow.FlowViewStateMan ager] No matching view in view scope
2010-02-17 11:58:39,212 DEBUG [org.springframework.faces.webflow.JsfViewFactory] Creating UIViewRoot from 'adhocPayment.xhtml'
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] Created component with component type of 'javax.faces.ViewRoot'
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] URL pattern of the FacesServlet executing the current request /spring
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] Created new view for /WEB-INF/flows/adhoc/adhocPayment.xhtml
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] Locale for this view as determined by calculateLocale en_ZA
2010-02-17 11:58:39,212 DEBUG [javax.enterprise.resource.webcontainer.jsf.applica tion] RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.engine.ViewState] Rendering + [JSFView = '/WEB-INF/flows/adhoc/adhocPayment.xhtml']
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.engine.ViewState] Flash scope = map[[empty]]
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.engine.ViewState] Messages = [DefaultMessageContext@ae39fb sourceMessages = map[[null] -> list[[empty]]]]
2010-02-17 11:58:39,228 DEBUG [org.springframework.faces.support.RequestLoggingPh aseListener] Entering JSF Phase: RENDER_RESPONSE 6
2010-02-17 11:58:39,228 DEBUG [org.springframework.faces.webflow.JsfView] Asking view handler to render view
2010-02-17 11:58:39,228 DEBUG [org.springframework.faces.webflow.JsfView] View rendering complete
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.execution.repository.i mpl.DefaultFlowExecutionRepository] Putting flow execution '[FlowExecutionImpl@f4c9c4 flow = 'adhoc', flowSessions = list[[FlowSessionImpl@ea8847 flow = 'adhoc', state = 'AdhocMain', scope = map['adhoc' -> za.co.payment.adhoc.AdHocPaymentManagedBean@1990d9 6, 'viewScope' -> map[[empty]]]]]]' into repository
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.execution.repository.i mpl.DefaultFlowExecutionRepository] Adding snapshot to group with id 1
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.conversation.impl.Sess ionBindingConversationManager] Putting conversation attribute 'scope' with value map['flashScope' -> map['messagesMemento' -> map[[empty]]]]
2010-02-17 11:58:39,228 DEBUG [org.springframework.webflow.conversation.impl.Sess ionBindingConversationManager] Unlocking conversation 1
2010-02-17 11:58:39,228 DEBUG [org.springframework.web.servlet.DispatcherServlet] Null ModelAndView returned to DispatcherServlet with name 'Spring MVC Dispatcher Servlet': assuming HandlerAdapter completed request handling
2010-02-17 11:58:39,228 DEBUG [org.springframework.web.servlet.DispatcherServlet] Successfully completed request