sorry don't follow you.

Quartz jobs are not managed object, only internals.

SessionContext should be propagated from where? from jobs? same note applies
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/12/16 hwaastad <[email protected]>:
> OK,
> i've read some of the discussions on the dev list. Interesting.
>
> BTW,
> I realized that Injection (@EJB/@Inject) does not work in Quartz jobs so I
> have to lookup my ejb's.
> But my next problem is that my service EJB's (which are called by the job)
> are protected by @rolesallowed.
>
> I've tried do let my jobs be stateless but it seems that sessioncontext is
> not progated.
>
> Is there a workaround for this issue? If not, I probably have to look into
> redesigning my lookups (adding credentials props etc)
>
> br hw
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/TomEE-and-persistent-timers-tp4666750p4666776.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to