title: How to get current application state from wsadmin console for WebSphere 7.0
body: <p>folks,</p>
  
  <p>How I can get current status for application deployed on websphere (such as started/stopped)? I know, that I can use <code>AdminControl.completeObjectName('type=Application,name=myApplication,*')</code> 
  but if I just invoked start it is very much likely that following command will return nothing since app is not in running state yet. Same way, when I just invoked stop I want to display that app is actually stopped so that I won't change anything while app is still running. Any ideas how I can do this? Thanks.</p>