+

Search Tips   |   Advanced Search

ActivitySession service settings

Configure the properties of the ActivitySession service. The ActivitySession service is a unit-of-work service to coordinate one-phase resources or to extend the activation and passivation of an enterprise bean.

From the admin console, click...

        Servers > Server Types > WebSphere application servers > server > [Container Settings] Business Process Services > ActivitySession service.


Enable service at server startup

Specifies whether the application server attempts to start the ActivitySession service when the server next starts up.

Information Value
Default Cleared
Range

Cleared

The server does not try to start the ActivitySession service. If ActivitySessions are to be used in applications that run on this server, the system administrator must select this property then restart the server.

Selected

When the application server starts, it attempts to start the ActivitySession service automatically.


Default timeout

Default timeout for an activity session. A server automatically completes an activity session if a remote client has failed to complete the activity session within this time period.

The initial default timeout can be configured separately for each application server, and can be overridden programmatically by the UserActivitySession interface (setSessionTimeout).

Information Value
Data type Integer
Units Seconds
Default 300 (5 minutes)
Range -1 through 1000000000 seconds

  • -1 indicates that ActivitySessions never timeout
  • 0 indicates that the default timeout applies
  • Other values are an integer number of seconds

  • Enable or disable the ActivitySession service
  • Configure the default ActivitySession timeout for an application server