IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
deployEventServiceMdb command
Use the deployEventServiceMdb command to deploy the event service message driven bean onto your server.
Purpose
The deployEventServiceMdb command is a Common Event Infrastructure administrative command is available for the AdminTask object. Use this command to deploy the event service MDB to a server or cluster. 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 MDB should be deployed.
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 MDB should be deployed.
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 MDB should be deployed. You must not specify this parameter if the nodeName and serverName parameters are specified.
- - applicationName
- The name of the event service MDB application to be deployed on a server or cluster.
- - listenerPort
- The name of the listener port where the event service MDB should publish the events. The listener port must already be created. You must not specify this parameter if the activationSpec parameter is specified.
- - activationSpec
- The JNDI name of activation specification where the event service MDB should publish the events. The activation specification must already be created. You must not specify this parameter if the listenerPort parameter is specified.
- - qcfJndiName
- The JNDI name of the JMS queue connection factory object to be used by the event service MDB. You must specify this parameter if the activationSpec parameter is specified.
Sample
Batch mode example usage:
Use Jacl:
$AdminTask deployEventServiceMdb {-applicationName appname -nodeName nodename -serverName servername -listenerPort lpname}$AdminTask deployEventServiceMdb {-applicationName appname -clusterName clustername -activationSpec asjndiname -qcfJndiName qcfjndiname}Use Jython string:
AdminTask.deployEventServiceMdb('[-applicationName appname -nodeName nodename -serverName servername -listenerPort lpname]')AdminTask.deployEventServiceMdb ('[-applicationName appname -clusterName clustername -activationSpec asjndiname -qcfJndiName qcfjndiname]')Use Jython list:
AdminTask.deployEventServiceMdb(['-applicationName', 'appname', '-nodeName', 'nodename', '-serverName', '-servername', ' -listenerPort', 'lpname']) AdminTask.deployEventServiceMdb(['-applicationName', 'appname', '-clusterName', 'clustername', '-activationSpec', 'asjndiname', '-qcfJndiName', 'qcfjndiname'])
Interactive mode example usage:
Use Jacl:
$AdminTask deployEventServiceMdb {-interactive}Use Jython string:
AdminTask.deployEventServiceMdb('[-interactive]')Use Jython list:
AdminTask.deployEventServiceMdb(['-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