Uninstalling applications with the wsadmin tool

You can uninstall applications with the wsadmin tool and scripting.

Before you begin

Before starting this task, the wsadmin tool must be running. See Starting the wsadmin scripting client for more information.

About this task

Steps to uninstall an application follow:

Procedure

  1. Uninstall the application:

    Specify the name of the application you want to uninstall, not the name of the Enterprise ARchive (EAR) file.

    • Using Jacl:
      $AdminApp uninstall application1
    • Using Jython:
      AdminApp.uninstall('application1')
    where:
    $ is a Jacl operator for substituting a variable name with its value
    AdminApp is an object supporting application objects management
    uninstall is an AdminApp command
    application1 is the name of the application to uninstall
  2. Save the configuration changes. See the Saving configuration changes with the wsadmin tool article for more information.
  3. In a network deployment environment only, synchronize the node. See the Synchronizing nodes with the wsadmin tool article for more information.

Results

Uninstalling an application removes it from the WebSphere Application Server configuration and from all the servers that the application was installed on. The application binaries (EAR file contents) are deleted from the installation directory. This occurs when the configuration is saved for single server WebSphere Application Server editions or when the configuration changes are synchronized from deployment manager to the individual nodes for network deployment configurations.
Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 2:56:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=txml_uninstall
File name: txml_uninstall.html