Use the setEventServiceJmsAuthAlias command
to set or update the JMS authentication alias associated with the
event service on your server.
Purpose
The setEventServiceJmsAuthAlias command
is a Common Event Infrastructure administrative
command is available for the AdminTask object. Use this command to
update the authentication alias used by the event service JMS objects
on a server or cluster. If the JMS authentication alias does not exist,
it is created. For more information about the AdminTask object, see
the WebSphere® Application Server
Network Deployment, version 6.1 documentation.
Parameters
- - nodeName
- The name of the node where the event service JMS authentication
alias should be updated. 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 JMS authentication
alias should be updated. If this parameter is specified, then the serverName parameter
must be specified. You must not specify this parameter if the clusterName parameter
is specified.
- - clusterName
- The name of the cluster where the event service JMS authentication
alias should be updated. You must not specify this parameter if the nodeName and serverName parameters
are specified.
- - userName
- The name of the user to be used in the update of the event service
JMS authentication alias on a server or cluster.
Important: You must specify a valid user
ID; this field cannot be empty.
- - password
- The password of the user to be used in the update of the event
service JMS authentication alias on a server or cluster.
Important: You must specify a valid password;
this field cannot be empty.
Sample
Batch mode example usage:
Using Jacl:
$AdminTask setEventServiceJmsAuthAlias{-nodeName nodename
-serverName servername username -password pwd}
$AdminTask setEventServiceJmsAuthAlias {-clusterName clustername
-userName username -password pwd}
Using Jython string:
AdminTask.setEventServiceJmsAuthAlias('[-nodeName nodename
-serverName servername -userName username -password pwd]')
AdminTask.setEventServiceJmsAuthAlias('[-clusterName clustername
-userName username -password pwd]')
Using Jython list:
AdminTask.setEventServiceJmsAuthAlias(['-nodeName', 'nodename',
'-serverName', '-servername', '-userName', 'username', '-password', 'pwd'])
AdminTask.setEventServiceJmsAuthAlias(['-clusterName',
'clustername', '-userName', 'username', '-password', 'pwd'])
Interactive mode example usage:
Using Jacl:
$AdminTask setEventServiceJmsAuthAlias {-interactive}
Using Jython string:
AdminTask.setEventServiceJmsAuthAlias( '[-interactive]')
Using Jython list:
AdminTask.setEventServiceJmsAuthAlias(['-interactive'])