I finally solved it! It seems that the @Observes(during =
TransactionPhase.AFTER_COMPLETION) annotation was causing the issue.
Removing the parameter and leaving simply @Observes did the trick for me.

I don't know really why, but the problem, perhaps, is related to
transactional behaviour implied in TransactionPhase.AFTER_COMPLETION. The
default behaviour of the method after removing that is non-transactional
(see documentation).



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Injection-data-not-found-in-JNDI-context-when-injecting-TimerService-via-Resource-tp4668149p4668160.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to