Enabling or disabling the ActivitySession service

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

About this task

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.




你可能感兴趣的:(Activity)