0 Replies Latest reply on Jan 10, 2011 4:09 PM by momo momo

    @EJB injection avec WELD

    momo momo Newbie

      Bonjour,

      j'ai un problème avec l'injection de mes EJB avec weld et glassfish voici le message d'erreur :

      java.lang.IllegalStateException: No bean store available for Inactive conversation context

              at org.jboss.weld.context.AbstractMapContext.destroy(AbstractMapContext.java:155)

              at org.jboss.weld.context.AbstractThreadLocalMapContext.destroy(AbstractThreadLocalMapContext.java:68)

              at org.jboss.weld.conversation.AbstractConversationManager.cleanupConversation(AbstractConversationManager.java:179)

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

              at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:113)

              at org.jboss.weld.conversation.ServletConversationManager_$$_javassist_37.cleanupConversation(ServletConversationManager_$$_javassist_37.java)

              at org.jboss.weld.jsf.WeldPhaseListener.afterRenderResponse(WeldPhaseListener.java:132)

              at org.jboss.weld.jsf.WeldPhaseListener.afterPhase(WeldPhaseListener.java:103)

              at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)

              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)

              at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)

              at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)

              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)

              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)

              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)

              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)

              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)

              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)

              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)

              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)

              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)

              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)

              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)

              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)

              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)

              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)

              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)

              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)

              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)

              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)

              at java.lang.Thread.run(Thread.java:662)