This topic applies only on the z/OS operating system.

InFlight work and presumed abort mode

Presumed abort mode is activated when a failure occurs before a distributed transaction starts to commit.

If you have a distributed transaction that spans several servers, transactional locks may be held by resource managers involved in that work. When a failure occurs before that distributed transaction has started to commit, WebSphere Application Server for z/OS and the resource managers go into presumed abort mode. In this mode, the resource managers abort (rollback) the transaction.
Example: A common case of this is when you have a server B Web client that is driving a session bean in the same server. That session bean has executed work against entity beans in servers C and D. All of the servers are involved in the same distributed, global transaction. Suddenly, server B fails while the session bean is InFlight (meaning it hadn't started to commit yet). Servers C and D are waiting for more work or the start of the two-phase commit protocol, but, while in this state, the transactional locks may still be held by the resource managers. So, the server roles are as follows: After the timeout occurs, because the session bean is InFlight at the time of the failure, WebSphere Application Server rolls back the transaction branch.

When local resource managers are involved, RRS ensures that they are called to perform presumed abort processing. When doing recovery, RRS works with the resource managers to ensure that the recovery is done properly. When a failure occurs while work is InFlight, RRS directs the resource managers involved in the local UR to rollback.

WebSphere Application Server for z/OS always assumes that there is recovery to do. Every time a server comes up, it does something different depending in which mode it is running:



Related tasks
Restarting an application server in recovery mode
Concept topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 10:03:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-zos&topic=cprrinflight
File name: cprr_inflight.html