Announcement Announcement Module
Collapse
No announcement yet.
Springwebflow + CDI + JSF2 on Jboss AS7 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Springwebflow + CDI + JSF2 on Jboss AS7

    Hello, i'm working on a web application using JSF2,primefaces 3.4.2,springwebflow 2.3.1,CDI,jpa and activiti 5.9 as a process engine (workflow) :
    before integrating the workflow part(activiti and it's denpendencies) to my application, everything works fine.
    but after integrating the activiti workflow and adding it's dependencies (activiti-cdi module and activiti-engine ) , the applicatin is deployed with no exception on jboss as7, once i try to access the "utilisateurSelect" view of my "utilisateur" flow i got this exception


    Caused by: javax.faces.FacesException: Error Checking Last Modified for jndi:/default-host/datapwebapp/utilisateurSelect.xhtml
    at com.sun.faces.facelets.impl.DefaultFaceletCache._g etLastModified(DefaultFaceletCache.java:175) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache.ac cess$000(DefaultFaceletCache.java:62) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache$2. newInstance(DefaultFaceletCache.java:93) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache$2. newInstance(DefaultFaceletCache.java:89) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.util.ExpiringConcurrentCache$1.call( ExpiringConcurrentCache.java:99) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [rt.jar:1.6.0_13]
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [rt.jar:1.6.0_13]
    at com.sun.faces.util.ExpiringConcurrentCache.get(Exp iringConcurrentCache.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache.ge tViewMetadataFacelet(DefaultFaceletCache.java:143) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache.ge tViewMetadataFacelet(DefaultFaceletCache.java:62) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletFactory. getMetadataFacelet(DefaultFaceletFactory.java:260) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletFactory. getMetadataFacelet(DefaultFaceletFactory.java:209) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.view.ViewMetadataImpl.cr eateMetadataView(ViewMetadataImpl.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.view.StateManagementStra tegyImpl.restoreView(StateManagementStrategyImpl.j ava:217) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.StateManagerImpl.restore View(StateManagerImpl.java:188) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.view.ViewHandlingStrateg y.restoreView(ViewHandlingStrategy.java:123) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.view.FaceletViewHandling Strategy.restoreView(FaceletViewHandlingStrategy.j ava:453) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.application.view.MultiViewHandler.re storeView(MultiViewHandler.java:142) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at javax.faces.application.ViewHandlerWrapper.restore View(ViewHandlerWrapper.java:303) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
    at org.springframework.faces.webflow.JsfViewFactory.g etView(JsfViewFactory.java:105) [spring-faces-2.3.1.RELEASE.jar:2.3.1.RELEASE]
    at org.springframework.webflow.engine.ViewState.resum e(ViewState.java:193) [spring-webflow-2.3.1.RELEASE.jar:2.3.1.RELEASE]
    at org.springframework.webflow.engine.Flow.resume(Flo w.java:545) [spring-webflow-2.3.1.RELEASE.jar:2.3.1.RELEASE]
    at org.springframework.webflow.engine.impl.FlowExecut ionImpl.resume(FlowExecutionImpl.java:258) [spring-webflow-2.3.1.RELEASE.jar:2.3.1.RELEASE]
    ... 72 more
    Caused by: java.io.FileNotFoundException
    at org.apache.naming.resources.DirContextURLConnectio n.getInputStream(DirContextURLConnection.java:369) [jbossweb-7.0.13.Final.jar:]
    at com.sun.faces.facelets.impl.DefaultFaceletCache._g etLastModified(DefaultFaceletCache.java:172) [jsf-impl-2.1.7-jbossorg-2.jar:]
    ... 94 more


    i checked the depolyment directory of my application all the files are in the right place as they were before integrating the workflow part.

    when i remove the the activiti stuff with it's dependencies the application is working fine, it took from me more than a week but i couldn't find an answer any help ?
Working...
X