Sergey Kiselev [
http://community.jboss.org/people/intr13] created the discussion
"Inject TransactionSynchronizationRegistry to stateless EJB"
To view the discussion, visit:
http://community.jboss.org/message/542289#542289
--------------------------------------------------------------
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
http://www.adam-bien.com/roller/abien/entry/how_to_pass_context_in
p/s
JBoss 5.1.0.GA
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/542289#542289]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]