HI
I'm getting a ContextNotActiveException in my GF container. I think this
has to do with 'No valid EE environment' which I got previously. My
question is how do I associate my container with a EE environment? My
container is not a Java EE container; however the application deployed
to my container is packaged as a WAR.
Any pointers appreciated.
TIA
Regards
Chuk
SEVERE: org.jboss.weld.context.ContextNotActiveException: WELD-001303 No
active contexts for scope type javax.enterprise.context.RequestScoped
at
org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:664)
at
org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:77)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
at
com.acme.xmpp.org$jboss$weld$bean-web-ManagedBean-com$acme$xmpp$MessageHandler$$kenai$jabberwocky$framework$annotation$From(value={jid}@{domain}${resource})@com$kenai$jabberwocky$framework$annotation$To(value={toJID})@com$kenai$jabberwocky$framework$annotation$message$Message(value=)@javax$enterprise$context$RequestScoped()${com$acme$xmpp$MessageHandler$jid$_at_javax$inject$Inject()@javax$inject$Named(value=Kh3WlVlpFG_jid)$$com$acme$xmpp$MessageHandler$resource$_at_javax$inject$Inject()@javax$inject$Named(value=wtTv3VlpFG_resource)$$com$acme$xmpp$MessageHandler$shouldFail$_at_javax$inject$Inject()@javax$inject$Named(value=fred)$$com$acme$xmpp$MessageHandler$strBody$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value=)@javax$inject$Inject()$$com$acme$xmpp$MessageHandler$toJID$_at_javax$inject$Inject()@javax$inject$Named(value=JIL2KVlpFG_toJID)$$com$acme$xmpp$MessageHandler$devNull$_at_com$kenai$jabberwocky$framework$annotation$Order(value=1)@com$kenai$jabberwocky$framework$ann
otation$message$Body(value=?OTR${anything})$()$com$acme$xmpp$MessageHandler$handleMessage$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value={anything})$()$com$acme$xmpp$MessageHandler$init$_at_javax$annotation$PostConstruct()$()$com$acme$xmpp$MessageHandler$preInvoke$_at_javax$inject$Inject()$(java$lang$String$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value=)$)$com$acme$xmpp$MessageHandler$com$acme$xmpp$MessageHandler$_at_javax$inject$Inject()$(java$lang$String$_at_javax$inject$Named(value=nT5zPVlpFG_domain)$)$}_$$_WeldClientProxy.toString(org$jboss$weld$bean-web-ManagedBean-com$acme$xmpp$MessageHandler$_at_com$kenai$jabberwocky$framework$annotation$From(value={jid}@{domain}${resource})@com$kenai$jabberwocky$framework$annotation$To(value={toJID})@com$kenai$jabberwocky$framework$annotation$message$Message(value=)@javax$enterprise$context$RequestScoped()${com$acme$xmpp$MessageHandler$jid$_at_javax$inject$Inject()@javax$inject$Named(value=Kh3WlVlpFG_jid)$$com$acme$xmpp
$MessageHandler$resource$_at_javax$inject$Inject()@javax$inject$Named(value=wtTv3VlpFG_resource)$$com$acme$xmpp$MessageHandler$shouldFail$_at_javax$inject$Inject()@javax$inject$Named(value=fred)$$com$acme$xmpp$MessageHandler$strBody$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value=)@javax$inject$Inject()$$com$acme$xmpp$MessageHandler$toJID$_at_javax$inject$Inject()@javax$inject$Named(value=JIL2KVlpFG_toJID)$$com$acme$xmpp$MessageHandler$devNull$_at_com$kenai$jabberwocky$framework$annotation$Order(value=1)@com$kenai$jabberwocky$framework$annotation$message$Body(value=?OTR${anything})$()$com$acme$xmpp$MessageHandler$handleMessage$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value={anything})$()$com$acme$xmpp$MessageHandler$init$_at_javax$annotation$PostConstruct()$()$com$acme$xmpp$MessageHandler$preInvoke$_at_javax$inject$Inject()$(java$lang$String$_at_com$kenai$jabberwocky$framework$annotation$message$Body(value=)$)$com$acme$xmpp$MessageHandler$com$acme$xmpp$MessageHandle
r$_at_javax$inject$Inject()$(java$lang$String$_at_javax$inject$Named(value=nT5zPVlpFG_domain)$)$}_$$_WeldClientProxy.java)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at
com.kenai.jabberwocky.framework.inject.spi.CDIUtils.getInstance(CDIUtils.java:103)
at
com.kenai.jabberwocky.framework.core.CDIComponentProvider.resolveInstance(CDIComponentProvider.java:57)
--
Within a computer natural language is unnatural.