Configure an application server to log heuristic reporting
We can configure the transaction service for an application server to indicate whether to log that the transaction service is about to commit a one-phase commit resource. This configuration is useful when you use last participant support, when there is an increased risk that a transaction has an heuristic outcome.
To enable an application server to log "about to commit one-phase resource" events from transactions that involve a one-phase commit resource and two-phase commit resources, use the administrative console to complete the following steps:
- From the navigation pane of the administrative console, click Servers > Server types > WebSphere application servers > server_name > [Container Settings] Container Services > Transaction service. The transaction service settings for the selected application server are displayed.
- Select the Configuration tab to display the transaction-related properties defined in the configuration file.
- Click Enable logging for heuristic reporting.
- Click OK.
- Stop, then restart, the application server.
Related concepts
Coordination of access to one-phase commit and two-phase commit capable resources in the same transaction