Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.
Use the Help object attributes or operations commands to find information on a running MBean in the server.
where:
$ | is a Jacl operator for substituting a variable name with its value |
Help | is the object that provides general help and information for running MBeans in the connected server process |
attributes | is a Help command |
MBeanObjectName | is the string representation of the MBean object name obtained in step 2 |
$Help operations MBeanObjectnameor
$Help operations MBeanObjectname operationName
Help.operations(MBeanObjectname)or
Help.operations(MBeanObjectname, operationName)
where:
$ | is a Jacl operator for substituting a variable name with its value |
Help | is the object that provides general help and information for running MBeans in the connected server process |
operations | is a Help command |
MBeanObjectname | is the string representation of the MBean object name obtained in step number 2 |
operationName | (optional) is the specified operation for which you want to obtain detailed information |
set server [$AdminControl completeObjectName type=Server,name=server1,*] $Help operations $server
server = AdminControl.completeObjectName('type=Server,name=server1,*') print Help.operations(server)
To display detailed information about the stop operation, use the following example:
Related concepts
AdminControl object for scripted administration
Help object for scripted administration
Related reference
Commands for the AdminControl object
Commands for the Help object