I have 2 cmp,1 Session and 1 Mdb in my ear file. i Use a xa datasource which connects to Oracle 9.2.0.
My Mdb starts a container transaction which calls th session bean and inturn the session bean calls the cmp beans.
My logic goes like this in the session bean.
First i insert a record. then till the transaction completes i keep updating the record which was created.
my problem is if server goes down suddenly in the middle. my transaction is not getting rollbacked completly, first operation which is insert is getting commited and rest of the stuff is getting rollbacked.
i have a commit-option A for my Standard CMP 2.x in standardjboss.xml