WAS v8.5 > Administer applications and their environment > Welcome to administering Transactions > Administer the transaction serviceRemove entries from the transaction partner log
We can remove entries from the transaction partner log file. To do this, set the REMOVE_PARTNER_LOG_ENTRY custom property for the transaction service on the server that owns the partner log.
As part of the transaction recovery process, the partner log is checked to establish which resources are needed. To remove certain entries from the partner log, such as a resource that no longer exists, set this custom property on the application server that owns the transaction partner log containing the entries to remove.
The REMOVE_PARTNER_LOG_ENTRY custom property is effective only when both of the following situations apply.
- The application server is started in recovery mode.
- The application server has no transactions that currently require recovery. We can establish this by checking the SystemOut.log file.
IBM recommends using the HPEL log and trace infrastructure. With HPEL, one views logs using the LogViewer command-line tool in PROFILE/bin.
- In the dmgr console, click Servers > Server Types > WebSphere application servers > server_name > [Container Settings] Container Services > Transaction Service > [Additional Properties] Custom Properties.
- Click New.
- Type REMOVE_PARTNER_LOG_ENTRY in the Name field, and in the Value field, type one or more comma-delimited integer recovery IDs to be removed.
- Click Apply or OK.
- Save your changes to the master configuration.
- Restart the server in recovery mode.
Related
Restart an application server in recovery mode
Manage transaction logging for optimum server availability
Troubleshoot applications with HPEL
Reference:
Transaction service custom properties