You can disable the event service by running an AdminTask
administrative command using the wsadmin tool.
About this task
If the event service is disabled, it does not automatically
start when the server starts.
To disable the event service using
the wsadmin tool:
Procedure
Start the wsadmin tool.
Use the AdminTask object to run the disableEventService administrative
command:
Using Jacl:
# disable event service at server scope
$AdminTask disableEventService { -nodeName node1 -serverName server1 }
# disable event service at cluster scope
$AdminTask disableEventService { -clusterName cluster1 }
Using Jython:
# disable event service at server scope
AdminTask.disableEventService('[ -nodeName node1 -serverName server1 ]')
# disable event service at cluster scope
AdminTask.disableEventService('[ -clusterName cluster1 ]')
The parameters of the disableEventService command are
as follows:
nodeName
The name of the node where the event service should be disabled.
This is an optional parameter; the default value is the current node.
If you specify a node name, you must also specify a server name. Do
not specify a node if you are disabling the event service in a cluster.
serverName
The name of the server where the event service should be disabled.
This parameter is required if you specify a node name. Do not specify
a server name if you are disabling the event service in a cluster.
clusterName
The name of the cluster where the event service should be disabled.
This parameter is required if you are disabling the event service
in a cluster.