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
- In the navigation pane of the administrative console, click .
- Click the name of the application server that you want
to configure. This displays the properties for the
application server in the content pane.
- Click 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 enabled
If this happens during server startup,
the server continues to start without the application.
- Click OK.
- Save your changes to the master configuration.
- To have the changed configuration take effect, stop then
restart the application server.