Use the undeploy subcommand in remote mode to uninstall a deployed application or module and remove it from the repository. To reinstate the component, you must deploy the component again using the deploy subcommand.
Ensure that the server is running.
Remote commands require a running server.
Obtain the exact name of the application or module you are undeploying.
To list deployed applications or modules, use the list-applications(1) subcommand. If you do not specify a type, all deployed applications and modules are listed. For example, valid types can be web, ejb, connector, application, jruby, and webservice.
To see the status of deployed components, use the show-component-status(1) subcommand.
Undeploy the application or module by using the undeploy(1) subcommand.
Information about the options and properties of the subcommand is included in this help page.
This example lists all applications of type web.
asadmin> list-applications --type web hellojsp <web> Command list-applications executed successfully. |
This example uninstalls the hellojsp application.
asadmin> undeploy hellojsp hellojsp <web> Command undeploy executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help undeploy at the command line.