Re: Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish

Trond Arild Lode Tobiassen Heidelberg

Turns out I needed to use InitialContext for my application. At least going from JUnit testst or from netty callback methods. Making them session beans and trying to inject (@Resource) does not work. I successfully used injection inside an MDB so everything is ok.

On 24.08.2017 14:40, Yamini Kalyandurga wrote:
Hi Trond,

Can you please try on GlassFish 5.0?

It would help if you can share a reproducer.


Join to automatically receive all group messages.