Operating Systems: i5/OS
Personalize the table of contents and search results
Configure a server to use business activity support
Business activity support provides compensation for activities
such as sending an e-mail, which can be difficult or impossible to roll back
atomically. With this compensation, applications on disparate systems can
coordinate activities that are more loosely coupled than atomic transactions.
To use the business activity support first enable it on each server
that you plan to use.
Overview
If you have an application component that uses the business activity
support, enable the support on each server that runs the application.
Procedure
- In the administrative console, click Servers
> Application servers > server_name >
[Container Settings] Container Services > Compensation
Service.
- Select the Enable service at server startup check
box.
- If required, modify the compensation handler retry interval and
limit. These values control the frequency with which the CompensationHandler
handler compensate and close methods
are retried, when either throw a RetryCompensationHandlerException exception,
and the number of times that these methods are retried.
- Save your changes to the master configuration.
- Repeat the previous steps for each server that you plan to use.
- Restart all the servers for the changes to take effect.
Results
The business activity support is enabled for the application server.
Verify a successful enablement by checking for the message, CWSCP0005I:
The Compensation service started successfully. in the SystemOut.log file
for the relevant server.
What to do next
Deploy the business-activity-enabled application to the server.
Note:
Applications can exploit the business activity support only if you deploy
them to a WebSphere Application Server V6.1 server. Applications cannot
use the business activity support if you deploy them to a cluster that includes
WebSphere Application Server V6.0.x servers.
}
Compensation service settings
Related concepts
Web Services Business Activity support in WebSphere Application Server
Transaction compensation and business activity support
Related tasks
Creating an application that uses the business activity
support
Using the transaction service
Related Reference
Business activity API
|