Query application state

The following examples queries for the presence of Application MBean to find out whether the application is running.

$AdminControl completeObjectName type=Application,name=myApplication,*
If myApplication is running, then there should be an MBean created for it. Otherwise, the command returns nothing. If myApplication is running, the following is the example output:

WebSphere:cell=cellname,name=myApplication,mbeanIdentifier=cells/cellname/applications/myApplication.ear/deployments/myApplication/deployment.xml#ApplicationDeployment_1,type=Application,node=nodename,Server=dmgr,process=dmgr,J2EEName=myApplication

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.