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.

Reply via email to