Use the enableEventService command to
enable the event service on your server.
Purpose
The
enableEventService command
is a
Common Event Infrastructure administrative
command is available for the AdminTask object. Use this command to
enable the event service to be started after the next restart of the
server(s) designated by the nodeName, serverName, or clusterName parameters.
For more information about the AdminTask object, see the
WebSphere® Application Server
Network Deployment, version 6.1 documentation.
Note: The product uses a Jython version that does not support Microsoft® Windows® 2003 or Windows Vista operating systems.
DITA
Parameters
- - nodeName
- The name of the node where the event service should be enabled.
If this parameter is specified, then the serverName parameter
must be specified. You must not specify this parameter if the clusterName parameter
is specified.
- - serverName
- The name of the server where the event service should be enabled.
You must specify this parameter if the nodeName parameter
is specified. You must not specify this parameter if the clusterName parameter
is specified.
- - clusterName
- The name of the cluster where the event service should be enabled.
You must not specify this parameter if the nodeName and serverName parameters
are specified.
Sample
Batch mode example usage:
Using Jacl:
$AdminTask enableEventService {-nodeName nodename
-serverName servername}
$AdminTask enableEventService {-clusterName clustername}
Using Jython string:
AdminTask.enableEventService('[-nodeName nodename
-serverName servername]')
AdminTask.enableEventService('[-clusterName clustername]')
Using Jython list:
AdminTask.enableEventService(['-nodeName', 'nodename',
'-serverName', '-servername'])
AdminTask.enableEventService(['-clusterName', 'clustername'])
Interactive mode example usage:
Using Jacl:
$AdminTask enableEventService {-interactive}
Using Jython string:
AdminTask.enableEventService('[-interactive]')
Using Jython list:
AdminTask.enableEventService(['-interactive'])