tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jeano...@gmail.com>
Subject Re: Bean not instantiated
Date Sun, 12 Jan 2014 16:19:27 GMT
There are plenty of producer example over the internet. Even in the spec
itself producing a logger is shown. There are usually also a couple of
samples with producing entity managers.

Yes let us know please.
Le 12 janv. 2014 17:16, "Caterpillar" <caterpillar86@gmail.com> a écrit :

> Il 12/01/2014 16:32, Jean-Louis MONTEIRO ha scritto:
> > Ok so the good news is that your bean is found and being managed by cdi.
> >
> > But your are trying to inject a logger which isn't managed by cdi.
> >
> > Try adding a producer, common way to do.
> Ok. Not having experience with producer, I opened a S.O. question about
> how to use it in that bean.
>
> http://stackoverflow.com/questions/21076836/logger-convert-from-inject-to-producer
> As soon I receive an answer I will do a test and I will let you know.
>
> Thank you very much.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message