Querying the application state using scripting

 

+

Search Tips   |   Advanced Search

 

Overview

Start wsadmin

Jacl

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

Jython

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