forget is used to signal that a resource manager can throw away state relating to
heuristically resolved transactions. For example, if you provide a management tool that
allows transactions to be manually forced to commit or rollback, you need to remember the
outcome and tell the transaction manager about it if asked. You can only throw away that
knowledge when told to forget.
end(TMFAIL);
commit();
is indeed an error on the part of the transaction manager. The commit should probably
respond XA_RBROLLBACK if it's being polite, although XAER_PROTO would also be
reasonable if it wants to signal that it's pissed of at being mistreated :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219634#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...