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.

Why and when to perform 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:

Steps for this task

  1. Start the WebSphere Administrative console.
  2. In the navigation pane, expand Servers-> Application Servers
    This displays a list of the application servers in the content pane.
  3. In the Content pane, select the application server that you want to configure.
    This displays the properties for the application server in the content pane.
  4. In the Additional Properties table, select ActivitySession service. This displays the ActivitySession service properties in the content pane.
  5. 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
  6. Click OK.
  7. To save your configuration, click Save on the task bar of the Administrative console window.
  8. To have the changed configuration take effect, stop then restart the application server.

Related concepts
The ActivitySession service
Related tasks
Developing a J2EE application to use ActivitySessions
Using the ActivitySession service
Related reference
ActivitySession service settings



Searchable topic ID:   tas_ctime
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ass/tasks/tas_ctime.html

Library | Support | Terms of Use | Feedback