How to undeploy an application in WebSphere

Home > Search > How-to

There are a few different ways to uninstall an application from WebSphere.

  • Using the WebSphere admin console (ISC)
  • Using wsadmin
  • Removing EAR, WAR, JAR, WAR from monitoredDeployableApps


Using the WebSphere admin console

  1. In the left panel of the WebSphere web console, expand Applications and select All applications.
  2. If the application is running, stop the application.
  3. Check the application to undeploy, and select Remove.
  4. Select OK.
  5. Select Save.

In this example, the sample_war application is removed.


Using wsadmin

The following (Linux) or wsadmn.bat (Windows) commands can be used.

# Jython
$AdminApp uninstall application1

# Jacl


Then, save the configuration to the master repository.

# Jacl


If the application is in a node that has been federated into a dmgr, synchronize the node and the dmgr.

# Jacl


Removing EAR, WAR, JAR, WAR from monitoredDeployableApps

If the application was automatically deployed using the monitoredDeployableApps directory, simply just remove the WAR, EAR, JAR, or SAR from the monitoredDeployableApps subdirectory, and the application will automatically be undeployed.

If the application is successfully removed, the following events should appear in the dmgr SystemOut.log.

ADMA5106I: Uninstallation of app_name started.
ADMA5017I: Application app_name uninstalled successfully.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

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