Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer ActivitySessions > Administer applications that use ActivitySessions


Enable or disabling 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, you can use the administrative console to configure the ActivitySession Enable service at server startup property.


Procedure

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

  2. Click the name of the application server that you want 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 your changes to the master configuration.

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


The ActivitySession service
Configure the default ActivitySession timeout
Implement WebSphere enterprise applications that use ActivitySessions


Related


ActivitySession service settings

+

Search Tips   |   Advanced Search