That's not the the purpose of the heuristic XA example.
With this example the idea is to
a) Start and prepare one or more transactions, do not commit or roll them back yet.
b) List the transactions in prepared state.
c) Heuristically roll back or commit, via the management interface
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225361#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...