WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Command line to retrieve application/ear status

    Posted 05/18/12 08:58 AM

    Hi All
    Can someone tell me if its possible to list from the server side (command line) without the WAS GUI CONSOLE to obtain the 'status' of the applications - started/stopped etc


    The wsadmin--> '$AdminApp list' only responds with the application name (wiithout the STATUS)


    the status of interest is shown on the attached WAS GUI CONSOLE picture
     



  • 2.  Command line to retrieve application/ear status

    Posted 05/18/12 01:47 PM
    Hi raf95,

      Yes you can query the application status



    • Using Jacl:
      $AdminControl completeObjectName type=Application,name=myApplication,*


    • Using Jython:

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







      pic.dhe.ibm.com/infocenter/wasinfo/v6r0/...

      hope this helps,


    regards