Wolf-Dieter Fink [
https://community.jboss.org/people/wdfink] created the discussion
"Re: How more than one XA Datasources participate in one container managed
transaction ?"
To view the discussion, visit:
https://community.jboss.org/message/783076#783076
--------------------------------------------------------------
You should clarify what you mean by distributed transaction.
If the transaction use different JCA connections inside the server the only thing is to
have all such resources handle XA (two phase commits) correct.
Also a client can initiate the Tx if it is using the same server (you need transaction
stickyness in this case).
If you mean that the Tx span different server instances, i.e. two EJB's on different
servers you need to have a JTS configuration instead of the (default) JTA. There are
scripts in the docs directory to change the configuration.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/783076#783076]
Start a new discussion in Datasource Configuration at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]