Querying the application state using scripting



Search Tips   |   Advanced Search



Start wsadmin


### Determine if the application is running.
$AdminControl completeObjectName type=Application,name=myApplication,*


print AdminControl.completeObjectName('type=Application,name=myApplication,*')

If myApplication is running, then an MBean is created. Otherwise, the command returns nothing. If myApplication is running, the output would resemble the following


See Also

AdminControl object for scripted administration


See Also

Commands for the AdminControl object