Did you add cdi modules? And is the jndi entry bound: java:comp/BeanManager?
(and not java:comp/env/BeanManager)

Using OWB 1.5 can also solve it since they have a fallback using
CDI.current()


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-05-07 14:46 GMT+02:00 [email protected] <[email protected]>:

>  On 07/05/2015 14:29, [email protected] wrote:
>
> On 07/05/2015 14:07, [email protected] wrote:
>
> On 07/05/2015 12:49, Romain Manni-Bucau wrote:
>
>
> There is a system property to use cdi when the impl is not weld for
> jersey. Did you set it?
>
>  Nope, but I will look for it. :-)
>
> Well, I found the property
>
>     com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager
>
> that should be set to true when using OWB.
>
> But I did not find this property in 2.17 sources...
>
> Still looking... :-)
>
> If I understand right, Jersey 2.17 is using HK2.
>
> So, I need to figure how to telle HK2 to use OWB...
>
> Any help welcomed. :-)
>
> Ludovic
>
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Reply via email to