Announcement Announcement Module
No announcement yet.
booking-faces application on JBoss AS 6 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • booking-faces application on JBoss AS 6


    I have been trying to get the booking-faces (2.3.0) application working under JBoss 6 but have finally hit a problem that I cannot find an answer to.

    The application starts up and renders the first page (intro.xhtml). I then click to enter search criteria (which invokes the main webflow) but when the server looks for the resource to use for rendering the view, it fails with FileNotFoundException when attempting to load a resource as below.

    javax.faces.FacesException: Error Checking Last Modified for jndi:/localhost/booking-faces/enterSearchCriteria.xhtml

    For some reason the default view of main flow (enterSearchCriteria) is being converted to a jndi resource location.

    Can anybody help?

  • #2
    I have the same problem and have not been able to solve it, either. I did try a few more combinations, though. I downloaded the spring-webflow 2.3.0 release and ran "mvn package" on the booking-faces folder. I copied the swf-booking-faces.war file to fresh installs of Tomcat 6.0.33 and 7.0.20. It reproed in both cases. The stack trace is below.

    I also tried it with version 2.2.1 and the binary sample ( It worked fine in both cases, though I had to modify the primefaces dependency version for booking-faces 2.2.1.

    org.springframework.webflow.execution.FlowExecutio nException: Exception thrown in state 'enterSearchCriteria' of flow 'main'
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.wrap(
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.resume(
    at org.springframework.webflow.executor.FlowExecutorI mpl.resumeExecution(
    at org.springframework.webflow.mvc.servlet.FlowHandle rAdapter.handle(
    at org.springframework.faces.webflow.JsfFlowHandlerAd apter.handle(
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(
    at org.springframework.web.servlet.DispatcherServlet. doService(
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(
    at org.springframework.web.servlet.FrameworkServlet.d oGet(
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at ternalDoFilter(
    at Filter(
    at$ VirtualFilterChain.doFilter( 343)
    at FilterSecurityInterceptor.invoke(FilterSecurityInt
    at FilterSecurityInterceptor.doFilter(FilterSecurityI
    at$ VirtualFilterChain.doFilter( 355)
    at ranslationFilter.doFilter(ExceptionTranslationFilt
    at$ VirtualFilterChain.doFilter( 355)
    at nagementFilter.doFilter(SessionManagementFilter.ja va:100)
    at$ VirtualFilterChain.doFilter( 355)
    at onymousAuthenticationFilter.doFilter(AnonymousAuth
    at$ VirtualFilterChain.doFilter( 355)
    at tyContextHolderAwareRequestFilter.doFilter(Securit
    at$ VirtualFilterChain.doFilter( 355)
    at estCacheAwareFilter.doFilter(RequestCacheAwareFilt
    at$ VirtualFilterChain.doFilter( 355)
    at$ VirtualFilterChain.doFilter( 355)
    at stractAuthenticationProcessingFilter.doFilter(Abst
    at$ VirtualFilterChain.doFilter( 355)
    at gout.LogoutFilter.doFilter(
    at$ VirtualFilterChain.doFilter( 355)
    at ontextPersistenceFilter.doFilter(SecurityContextPe
    at$ VirtualFilterChain.doFilter( 355)
    at doFilter(
    at org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(
    at org.springframework.web.filter.DelegatingFilterPro xy.doFilter(
    at ternalDoFilter(
    at Filter(
    at org.springframework.web.filter.CharacterEncodingFi lter.doFilterInternal( :88)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.coyote.http11.Http11Processor.process(H
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(
    Caused by: javax.faces.FacesException: Error Checking Last Modified for jndi:/localhost/swf-booking-faces/enterSearchCriteria.xhtml
    at com.sun.faces.facelets.impl.DefaultFaceletCache._g etLastModified(
    at cess$000(
    at com.sun.faces.facelets.impl.DefaultFaceletCache$2. newInstance(
    at com.sun.faces.facelets.impl.DefaultFaceletCache$2. newInstance(
    at com.sun.faces.util.ExpiringConcurrentCache$
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu
    at a:138)
    at com.sun.faces.util.ExpiringConcurrentCache.get(Exp
    at tMetadataFacelet(
    at tMetadataFacelet(
    at com.sun.faces.facelets.impl.DefaultFaceletFactory. getMetadataFacelet(
    at com.sun.faces.facelets.impl.DefaultFaceletFactory. getMetadataFacelet(
    at eateMetadataView(
    at com.sun.faces.application.view.StateManagementStra tegyImpl.restoreView(StateManagementStrategyImpl.j ava:210)
    at com.sun.faces.application.StateManagerImpl.restore View(
    at com.sun.faces.application.view.ViewHandlingStrateg y.restoreView(
    at com.sun.faces.application.view.FaceletViewHandling Strategy.restoreView(FaceletViewHandlingStrategy.j ava:438)
    at storeView(
    at org.springframework.faces.webflow.JsfViewFactory.g etView(
    at org.springframework.webflow.engine.ViewState.resum e(
    at org.springframework.webflow.engine.Flow.resume(Flo
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.resume(
    ... 52 more
    Caused by: jndi:/localhost/swf-booking-faces/enterSearchCriteria.xhtml
    at org.apache.naming.resources.DirContextURLConnectio n.getInputStream(
    at com.sun.faces.facelets.impl.DefaultFaceletCache._g etLastModified(
    ... 73 more


    • #3
      could you please send me the pom file after you made the changes to version 2.2.1?



      • #4

        I'm sorry, it was a while ago and I don't have that code anymore.



        • #5
          same error

          Hi guys , has any one from you find a way to solve that error , i have the same error and it took from me a lot of time but with now results, i couldn't solve it , and i really need to solve it, any help ?
          Last edited by med123; May 24th, 2013, 12:55 PM.