IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
setEventServiceJmsAuthAlias command
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 documentation.
The product uses a Jython version that does not support Microsoft Windows 2003, Windows Vista, or Windows 7 operating systems.
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:
Use Jacl:
$AdminTask setEventServiceJmsAuthAlias{-nodeName nodename -serverName servername username -password pwd} $AdminTask setEventServiceJmsAuthAlias {-clusterName clustername -userName username -password pwd}Use Jython string:
AdminTask.setEventServiceJmsAuthAlias('[-nodeName nodename -serverName servername -userName username -password pwd]') AdminTask.setEventServiceJmsAuthAlias('[-clusterName clustername -userName username -password pwd]')Use Jython list:
AdminTask.setEventServiceJmsAuthAlias(['-nodeName', 'nodename', '-serverName', '-servername', '-userName', 'username', '-password', 'pwd']) AdminTask.setEventServiceJmsAuthAlias(['-clusterName', 'clustername', '-userName', 'username', '-password', 'pwd'])
Interactive mode example usage:
Use Jacl:
$AdminTask setEventServiceJmsAuthAlias {-interactive}Use Jython string:
AdminTask.setEventServiceJmsAuthAlias( '[-interactive]')Use Jython list:
AdminTask.setEventServiceJmsAuthAlias(['-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