Check the following:
(i) that you are registering the resource with the transaction.
(ii) that if this is a distributed transaction, you are propagating the transaction context.
I double checked and all tasks are done:
-in AccountResource.getResource() method I perform:
"RecoveryCoordinator recoverycoordinator = OTSManager .get_current().get_control().get_coordinator().register_resource(ref);" where ref is the Resource object wraping AccoutResource object which implements org.omg.CosTransactions.ResourcePOA.
Account object inherits from CosTransactions::TransactionalObject and on the client side I use implicit Transaction Context Prropagation.
Property com.arjuna.ats.jts.contextPropMode has default value INTERPOSITION.
These are default examples that ship with the JBossTS, and I havent changed no code except injecting my throw exception hooks mentioned previously, so am I missing something here?
Thanks in advance
Did you solve your problem? If not, I'll take a look in the next few days.
Actually I have not but I have written my new example from scratch and it works just fine and methods of my implementation of ResourcePOA do get called, while ones in the examples do not.
OK, as long as you've managed to get past this point.