Default ActivitySession timeout for an application server

 

+

Search Tips   |   Advanced Search

 

Overview

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 Administrative console.

  2. In the navigation pane, click...

    Servers | Application Servers | appservername | Container Settings | Business Process Services | ActivitySession Service

  3. Set the ActivitySession timeout property to the default timeout as an integer number of seconds.

    -1 ActivitySessions never timeout
    0 The default timeout, 300 seconds, applies

    Other values are an integer number of seconds

  4. Click OK.

  5. Save your changes to the master configuration.

  6. To have the changed configuration take effect, stop then restart the application server.

 

Related Tasks

Developing a J2EE application to use an ActivitySession