[jboss-user] [Datasource Configuration] - Re: How more than one XA Datasources participate in one container managed transaction ?
Wolf-Dieter Fink
do-not-reply at jboss.com
Wed Dec 12 08:36:28 EST 2012
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&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121212/a43776b6/attachment-0001.html
More information about the jboss-user
mailing list