Uninstall applications with the wsadmin tool

 

+

Search Tips   |   Advanced Search

 

 

You can uninstall applications with the wsadmin tool and scripting. Before starting this task, the wsadmin tool must be running.

 

Overview

Steps to uninstall an application follow:

 

Procedure

  1. Uninstall the application:

    Name of the application you want to uninstall, not the name of the EAR file.

    • Use Jacl:

      $AdminApp uninstall application1

    • Use Jython:

      AdminApp.uninstall('application1')

    where:

    $ Jacl operator for substituting a variable name with its value
    AdminApp object supporting application objects management
    uninstall AdminApp command
    application1 name of the application to uninstall

  2. Save the configuration changes.

  3. In a network deployment environment only, synchronize the node.

 

Results

Uninstall an application removes it from the WAS 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 WAS editions or when the configuration changes are synchronized from deployment manager to the individual nodes for network deployment configurations.