You can uninstall applications with the wsadmin tool and scripting.
About this task
Steps to uninstall an application follow:
Procedure
- 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 |
- Save the configuration changes. See the Saving configuration changes 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.