Atomikos Forum

Transaction supported scenario

Hi,
We use Jboss as application server and Atomikos Transaction Essentials. We have one transaction in which we use 2 XAResources.Each XAResource performs 1 operation, after this the transaction should commit (or rollback).
We have a clustered environment for Jboss.
We want to support the following scenario:
1) Transaction starts on Jboss instance1 and enlists first XAResource, performs operation1, delists the XAResource.
2) Jboss server is shut down.
3) We want that the transaction is continued on another machine with Jboss instance2. Here we want to enlist second XAResource, perform operation2, delist the XAResource and commit/rollback.
4) In case the Jboss server is not shutdown, the entire transaction should be done on that instance (both operation1 and operation2).

Is the following scenario supported by Atomikos?
What are the requirement to achieve such a thing?

Thanks in advance,
Paul Palacean
Paul Palacean Send private email
Friday, September 19, 2008
 
 
Hi,

If I understood your use case properly, this is not possible.

When a database detects that a connection has been closed / dropped, any non-prepared work must be rolled back, as per XA spec.

Ludovic
Ludovic Orban Send private email
Friday, September 19, 2008
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics