Bootstrap FreeKB - IBM WebSphere - Determine if application is running using wsadmin
IBM WebSphere - Determine if application is running using wsadmin

Updated:   |  IBM WebSphere articles

If you are not familiar with (Linux) / wsadmin.bat (Windows), check out my article Getting Started with wsadmin.

Here is an example of how to list applications using wsadmin.

~]$ /opt/WebSphere/AppServer/profiles/your_profile/bin/ -lang jython -c "print AdminApp.list()"
WASX7209I: Connected to process "dmgr" on node Node01 using SOAP connector;  The type of process is: DeploymentManager


And then the following wsadmin command can be used to determine if an application is running. If no output is returned, the application is not running. If output is returned, the application is running.

~]$ /opt/WebSphere/AppServer/profiles/your_profile/bin/ -lang jython -c "print AdminControl.completeObjectName('type=Application,name=myApp01EAR,*')"


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee


Add a Comment

Please enter 830044 in the box below so that we can be sure you are a human.