[Version 5.0.2]Assembling an application to use one-phase and two-phase commit resources in the same transaction

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 the Deployment Descriptor Editor of WebSphere Studio Application Developer or the Application Assembly Tool.

To configure an application to indicate that you accept the increased risk of an heuristic outcome, use the Application Assembly tool to complete the following steps:

Steps for this task

  1. Launch the Application Assembly Tool.
  2. Open the application EAR file.
  3. In the navigation pane, select the application
    This displays the properties notebook in the property pane.
  4. In the property pane, select the WAS Enterprise tab.
  5. Select the Accept heuristic hazard checkbox.
  6. To apply the changes and close the Application Assembly Tool, click OK. Otherwise, to apply the values but keep the property dialog open for additional edits, click Apply.
  7. To see changes reflected in your application, regenerate deployment code and re-install the deployable archive.

Related concepts
Coordinating access to 1-PC and 2-PC-capable resources within the same transaction
Related tasks
Using one-phase and two-phase commit resources in the same transaction
Related reference
Last participant support extension settings



Searchable topic ID:   tla_cfapp
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/lao/tasks/tla_cfapp.html

Library | Support | Terms of Use | Feedback