This content has been marked as final.
Show 4 replies
-
1. Re: Unable to obtain non-contextual instance
mkouba Dec 19, 2014 9:06 AM (in response to emilyj)Hi Emily,
what target container do you use? WildFly, Tomcat, Jetty, ...?
-
2. Re: Unable to obtain non-contextual instance
emilyj Dec 19, 2014 9:52 AM (in response to mkouba)Hi Martin,
I am trying to integrate Weld into WebSphere Application Server environment. We implemented our own CDIProvider by finding the right container and passing in the container (org.jboss.weld.Container) to SimpleCDI in Weld. As a side note, the function CDI.current().getBeanManager works in apps when directly invoking it. It seems it does not work for obtaining non-contextual instance. Any suggestions?
Thanks
-
3. Re: Unable to obtain non-contextual instance
emilyj Dec 23, 2014 10:02 AM (in response to emilyj)Any suggestions? Is this a bug?
-
4. Re: Unable to obtain non-contextual instance
jharting Jan 2, 2015 3:56 AM (in response to emilyj)Hi Emily,
this looks like a bug in Weld. I created https://issues.jboss.org/browse/WELD-1830 to track it.