How do I determine if an application is running using wsadmin Jython script?

后端 未结 4 1074
小鲜肉
小鲜肉 2020-12-15 12:32

I can get a list of instlled applications but how do I get the status using Jython?

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 13:10

    The following IBM documentation should help:

    • WAS InfoCenter: Querying the application state using wsadmin scripting

    • IBM Technote: Listing enterprise application status using wsadmin script

    To summarize, if the application is running on an application server, an Application MBean will be registered. In order to determine if the application is running, you can query for the presence of these MBeans.

提交回复
热议问题