Hello; Maybe i have found a solution. Indeed, it seems to work by adding this filter :
<filter> <filter-name>springRequestContextFilter </filter-name> <filter-class>org.springframework.web.filter.RequestContextFilter </filter-class> </filter> <filter-mapping> <filter-name>springRequestContextFilter </filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> Le 6 août 2009 11:51, Sébastien Foubert <sebastien.foub...@gmail.com> a écrit : > Hello, > > I'm using myfaces-orchestra-core 1.3.1 myfaces-orchestra-core15 1.0 and on > JBoss 4.2.3 > when i start the server and at each request on the server that did'nt > initialize a conversation, i got this stacktrace > > *11:40:41,168 ERROR [PhaseListenerManager] Exception in PhaseListener > RENDER_RESPONSE(6) beforePhase. > java.lang.IllegalArgumentException: Orchestra was unable to create an > instance of bean with name 'AccessScopeManager'. Ensure that JSF variable > resolution uses your dependency injection (DI) framework (eg Spring's > DelegatingVariableResolver is in your faces-config.xml file) and the > standard Orchestra configuration beans are defined (eg by using <import > resource="classpath*:/META-INF/spring-orchestra-init.xml" />). > at > org.apache.myfaces.orchestra.conversation.AccessScopeManager.getInstance(AccessScopeManager.java:98) > at > org.apache.myfaces.orchestra.conversation.jsf.AccessScopePhaseListener.doBeforeRenderResponse(AccessScopePhaseListener.java:163) > at > org.apache.myfaces.orchestra.conversation.jsf.AccessScopePhaseListener.beforePhase(AccessScopePhaseListener.java:119) > at > org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:73) > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:134) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) > at > org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:315) > at > org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:243) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) > at > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) > at > org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) > at java.lang.Thread.run(Thread.java:595) > 11:40:49,670 ERROR [PhaseListenerManager] Exception in PhaseListener > RENDER_RESPONSE(6) beforeP* > > But if i deploy the ear after the start of the server there is no error and > conversation works normally > Have you an idea ? > > Thks > > -- > PGP : 0x73E6EF22 > -- PGP : 0x73E6EF22