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.
- In the navigation pane of the administrative console, click Servers > Server Types > WebSphere application servers.
- Click the name of the application server to configure. This displays the properties for the application server in the content pane.
- Click [Container Settings] Business Process Services > ActivitySession Service The ActivitySession service properties are displayed.
- 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 enabledIf this happens during server startup, the server continues to start without the application.
- Click OK.
- Save the changes to the master configuration.
- 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