Hi, just tested like it:
svn co ...examples/webapps/moviefun mvn clean install cd app mvn tomee:run i went to http://localhost:8080/moviefun/ and all was fine PS: i used trunk and tomee plugin is available in version 1.0.0-SNAPSHOT on apache snapshot repo (add this plugin repo: https://repository.apache.org/content/repositories/snapshots/) - Romain 2012/5/31 Jeremy Aubert <[email protected]> > Hello, > > I am trying to deploy the Moviefun application. This is what I did: > > 1. I downloaded TomEE+ > 2. svn checkout moviefun > 3. mvn build install (I had to change the maven-tomee-plugin version. > 1.0.0-SNAPSHOT does not exist) > 4. I copied the war from moviefun/app/target/moviefun.**war to > TomEE+/webapps/moviefun.war > 5. TomEE/bin/catalina.sh start > > The application starts. The Setup works. The JSP works but the JSF does > not. Here are the errors: > > " WebBeans context with scope type annotation @RequestScoped does not > exist within current thread" > > |javax.enterprise.context.**ContextNotActiveException: WebBeans context > with scope type annotation @RequestScoped does not exist within current > thread > at org.apache.webbeans.container.**BeanManagerImpl.getContext(** > BeanManagerImpl.java:342) > at org.apache.webbeans.intercept.**NormalScopedBeanInterceptorHan** > dler.getContextualInstance(**NormalScopedBeanInterceptorHan** > dler.java:148) > at org.apache.webbeans.intercept.**NormalScopedBeanInterceptorHan** > dler.invoke(**NormalScopedBeanInterceptorHan**dler.java:119) > at org.apache.webbeans.**conversation.ConversationImpl_** > $$_javassist_0.isTransient(**ConversationImpl_$$_javassist_**0.java) > at org.apache.webbeans.jsf.**WebBeansPhaseListener.**beforePhase(** > WebBeansPhaseListener.java:**103) > at org.apache.myfaces.lifecycle.**PhaseListenerManager.** > informPhaseListenersBefore(**PhaseListenerManager.java:77) > at org.apache.myfaces.lifecycle.**LifecycleImpl.executePhase(** > LifecycleImpl.java:158) > at org.apache.myfaces.lifecycle.**LifecycleImpl.execute(** > LifecycleImpl.java:117) > at javax.faces.webapp.**FacesServlet.service(** > FacesServlet.java:197) > at org.apache.catalina.core.**ApplicationFilterChain.** > internalDoFilter(**ApplicationFilterChain.java:**305) > at org.apache.catalina.core.**ApplicationFilterChain.**doFilter(** > ApplicationFilterChain.java:**210) > at org.apache.catalina.core.**StandardWrapperValve.invoke(** > StandardWrapperValve.java:225) > at org.apache.catalina.core.**StandardContextValve.invoke(** > StandardContextValve.java:169) > at org.apache.catalina.**authenticator.**AuthenticatorBase.invoke(* > *AuthenticatorBase.java:472) > at org.apache.catalina.core.**StandardHostValve.invoke(** > StandardHostValve.java:168) > at org.apache.catalina.valves.**ErrorReportValve.invoke(** > ErrorReportValve.java:98) > at org.apache.catalina.valves.**AccessLogValve.invoke(** > AccessLogValve.java:927) > at org.apache.catalina.core.**StandardEngineValve.invoke(** > StandardEngineValve.java:118) > at org.apache.catalina.connector.**CoyoteAdapter.service(** > CoyoteAdapter.java:407) > at org.apache.coyote.http11.**AbstractHttp11Processor.**process(** > AbstractHttp11Processor.java:**999) > at org.apache.coyote.**AbstractProtocol$** > AbstractConnectionHandler.**process(AbstractProtocol.java:**565) > at org.apache.tomcat.util.net.**JIoEndpoint$SocketProcessor.** > run(JIoEndpoint.java:307) > at java.util.concurrent.**ThreadPoolExecutor.runWorker(** > ThreadPoolExecutor.java:1110) > at java.util.concurrent.**ThreadPoolExecutor$Worker.run(** > ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.**java:722)| > > Please, could you help me? > > Thank you, > Jeremy > >
