I am trying inject TransactionSynchronizationRegistry to stateless EJB:
@Resource
protected TransactionSynchronizationRegistry transactionSynchronizationRegistry;
but unfortunately there is throws an error:
Caused by: java.lang.RuntimeException: mapped-name is required for
test.BaseService/transactionSynchronizationRegistry of deployment BaseService
Also in JNDI not contain TransactionSynchronizationRegistry with name - "java:comp/TransactionSynchronizationRegistry".
Why might that be? Any ideas? JBoss non compatable JTA1.1?
I am using sample code from: http://www.adam-bien.com/roller/abien/entry/how_to_pass_context_in
p/s
JBoss 5.1.0.GA