IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
enableEventService command
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 documentation.The product uses a Jython version that does not support Microsoft Windows 2003, Windows Vista, or Windows 7 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:
Use Jacl:
$AdminTask enableEventService {-nodeName nodename -serverName servername} $AdminTask enableEventService {-clusterName clustername}Use Jython string:
AdminTask.enableEventService('[-nodeName nodename -serverName servername]') AdminTask.enableEventService('[-clusterName clustername]')Use Jython list:
AdminTask.enableEventService(['-nodeName', 'nodename', '-serverName', '-servername']) AdminTask.enableEventService(['-clusterName', 'clustername'])
Interactive mode example usage:
Use Jacl:
$AdminTask enableEventService {-interactive}Use Jython string:
AdminTask.enableEventService('[-interactive]')Use Jython list:
AdminTask.enableEventService(['-interactive'])
Parent topic: Commands (wsadmin scripting)
Related information:
Obtaining online help using wsadmin scripting
Administrative command invocation syntax using wsadmin scripting
Use the wsadmin scripting tool
Jython script library