Network Deployment (Distributed operating systems), v8.0 > Migration and coexistence > Migrate Transactions
Interoperating transactionally between application servers
We can configure application servers so that transaction messages are sent and received between application servers at different versions of WAS. Depending on the version of the application server, you can set system properties, or use the transaction coordination authorization setting.
The transaction manager in WAS supports transactional interoperation with other transaction managers through either the CORBA Object Transaction Service (OTS) protocol, or, for JSR-109 compliant requests, the Web Services Atomic Transaction (WS-AT) protocol. Also, the transaction manager can coordinate XA resource managers and be coordinated by Java EE Connector Architecture 1.5 resource adapters.
Procedure
- To interoperate transactionally, using the OTS protocol to send requests from application servers that are WAS v5.0.2 or earlier to application servers that are v6 or later, set the following system properties on application servers that are Version 5.0.2 or earlier.
com.ibm.ejs.jts.jts.ControlSet.nativeOnly=false com.ibm.ejs.jts.jts.ControlSet.interoperabilityOnly=trueFor example, to send requests from application servers that are WAS v4.0.n to application servers that are WAS v6, set the system properties on the v4.0.n application servers.
You do not have to set these properties to receive requests on application servers that are WAS v5.0.2 or earlier from application servers that are Version 6 or later.
- When administrative security is enabled for application servers at WAS v6.0.2 or later, disable transaction coordination authorization for such servers in the following situations:
- The server interoperates transactionally with application servers at a version earlier than WAS Version 6.0.2.
- The server interoperates transactionally with non-WAS servers.
- The server interoperates transactionally with other servers and the server is not in a Common Criteria EAL4 evaluated configuration.
When administrative security is enabled, the transaction manager is configured by default for use in the Common Criteria EAL4 evaluated configuration.
The transaction coordination authorization setting controls only the transaction protocol messages between servers that are used to coordinate the completion of a transaction. It does not affect application messages or the security of the server. When transaction coordination authorization is enabled, the server verifies that the sending server is authorized to handle prepare, commit, rollback, and one-phase commit messages.
To disable transaction coordination authorization on a server, use the following steps.
- In the admin console...
Servers > Server Types > WebSphere application servers > server_name
> [Container Settings] Container Services > Transaction Service.
- Clear the Enable transaction coordination authorization check box.
- Click Apply or OK.
- Save your changes to the master configuration.
- Restart the server.
Web Services Atomic Transaction support in the application server
Move a transaction log from one server to another
Restarting an application server on a different host
Use the transaction service
Related
Common Criteria (EAL4) support
CORBA Object Transaction Service
Java EE Connector Architecture
The Java transaction service (JTS)
The Java transaction API (JTA)