Use this task to assemble an application to use one-phase and two-phase commit resources within the same transaction.
Why and when to perform this task
To enable an application to use one-phase and two-phase commit capable resources within the same transaction, you must configure the deployment attributes of the application to accept the increased risk of an heuristic outcome.
You can configure the deployment attributes of an application by using an assembly tool such as the Application Server Toolkit (AST) or Rational Web Developer.
This task description assumes that you have an EAR file for an application component, that can be deployed in WebSphere Application Server. For more details about assembling applications, see Assembling applications.
To configure an application to indicate that you accept the increased risk of an heuristic outcome, complete the following steps:
Steps for this task
For example, to change attributes of an existing application, use the import wizard to import the EAR file into the assembly tool. To start the import wizard:
What to do next
After assembling your application, use a systems management tool to deploy the EAR file onto the application server that is to run the application; for example, using the administrative console as described in Deploying and managing applications.Related concepts
Coordinating access to one-phase and two-phase commit
capable resources within the same transaction
Related tasks
Assembling applications