+

Search Tips   |   Advanced Search

Enable or disable the ActivitySession service

We can specify whether or not the ActivitySession service is started automatically for an application server.

To specify whether or not the ActivitySession service is started automatically for an application server, we can use the administrative console to configure the ActivitySession Enable service at server startup property.

  1. In the navigation pane of the administrative console, click Servers > Server Types > WebSphere application servers.

  2. Click the name of the application server to configure. This displays the properties for the application server in the content pane.

  3. Click [Container Settings] Business Process Services > ActivitySession Service The ActivitySession service properties are displayed.

  4. Select or clear the Enable service at server startup property as needed:

    Selected

    The ActivitySession service is started when the application server is started. Applications that specify use of ActivitySessions in their deployment descriptors can run on the application server.

    Cleared

    [Default] The ActivitySession service is not started when the application server is started. Applications that specify use of ActivitySessions in their deployment descriptors cannot start on the application server.

    Any attempt to start an application that uses ActivitySessions is rejected and a message issued:

    WACS0043E: Error found starting an application.  application_name specified an 
    ActivitySession attribute that is not allowed when the ActivitySession service 
    is not enabled 

    If this happens during server startup, the server continues to start without the application.

  5. Click OK.

  6. Save the changes to the master configuration.

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


Related concepts

  • The ActivitySession service


    Related tasks

  • Configure the default ActivitySession timeout

  • ActivitySession service settings