Use the administrative console to start the compensation service
automatically, when the application starts, and to specify the location and
maximum size of the recovery log.
Why and when to perform this task
The compensation service must be started on an application server,
when business processes are run on that server. The compensation service is
used to manage updates that might be made in a number of transactions before
the process completes.
You can use the administrative console to view
and change properties of the compensation service for application servers.
Steps for this task
- Display the administrative console.
- In the navigation pane, click .
- On the Configuration tab, under Container Settings, click . This action displays a panel with the compensation
service properties.
- Enable service at server startup
- Specifies that, whenever the application server starts, it automatically
tries to start the compensation service.
Make sure that this check box
is selected. The compensation service must be enabled when you use business
processes. If you run your business processes on a cluster, you must enable
the compensation service for each server in the cluster.
- Recovery log directory
- Specifies the name of a directory for this server where the compensation
service stores log files for recovery. When compensation is used, the WebSphere® product
stores information that is required for compensation.
- Recovery log file size
- Specifies the maximum size, in megabytes, for compensation log files on
this application server.
- Optional: If necessary, change the compensation service
properties.
- Click OK.
- To save your configuration, click Save in
the Messages box of the administrative console window. Then click Save on
the Application Servers Save pane.