Hi can you reproduce it and share the sample?
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/4/11 buyboy <[email protected]> > hello everybody! > > I have got a small problem with injection DataSource :) > > when I added Resource in my context.xml I have got this text = > > WebBeans context with scope type annotation @RequestScoped does not exist > within current thread > > viewId=/index.xhtml > > location=C:\Users\ПК\Documents\NetBeansProjects\tomee-003\build\web\index.xhtml > phaseId=RESTORE_VIEW(1) > > Caused by: > 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:351) > > If I remove this resource from context.xml = my problem disappears > > why? > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/ContextNotActiveException-WebBeans-context-with-scope-tp4662165.html > Sent from the OpenEJB Dev mailing list archive at Nabble.com. >
