Configuring the default ActivitySession timeout for an application server

Use this task to configure the default ActivitySession timeout for an application server, after which any started ActivitySessions are completed automatically by the ActivitySession service.

About this task

The ActivitySession timeout is used to reset any ActivitySession whose remote client has failed to complete the ActivitySession in a timely fashion. The initial default timeout can be configured separately for each application server, and can be overridden programmatically by the setSessionTimeout method of the UserActivitySession interface. If an ActivitySession that contains a transaction reaches the timeout, the transaction's timeout is accelerated so that it is timed out (and rolled back) immediately before the ActivitySession is reset.

To configure the default ActivitySession timeout for an application server, use the WebSphere Administrative console to complete the following steps:

Procedure

  1. Start the WebSphere Administrative console.
  2. In the navigation pane, click Servers > Application Servers This displays a list of the application servers in the content pane.
  3. In the Content pane, click the name of the application server that you want to configure. This displays the properties for the application server in the content pane.
  4. Under Container Settings, click Business Process Services > ActivitySession Service This displays the ActivitySession service properties in the content pane.
  5. Ensure that the Enable service at server startup check box is selected. You must enable the service for the timeout to have an effect.
  6. Set the ActivitySession timeout property to the default timeout as an integer number of seconds.
    • -1 indicates that ActivitySessions never timeout
    • 0 indicates that the default timeout, 300 seconds, applies
    • Other values are an integer number of seconds
  7. Click OK.
  8. Save your changes to the master configuration.
  9. To have the changed configuration take effect, stop then restart the application server.



In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 7:21:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-dist&topic=tas_ctime
File name: tas_ctime.html