10.3.3. Undeploy an Application in a Standalone Server Using the Management CLI
Prerequisites
Procedure 10.5. Undeploy an Application in a Standalone Server
By default the
undeploy command will undeploy and delete the deployment content from a standalone instance of JBoss EAP. To retain the deployment content, add the parameter --keep-content.
Run the
undeploycommandTo undeploy the application and delete the deployment content, enter the Management CLIundeploycommand with the filename of the application deployment.[standalone@localhost:9999 /]
undeploy test-application.warTo undeploy the application, but retain the deployment content, enter the Management CLIundeploycommand with the filename of the application deployment and the parameter--keep-content.[standalone@localhost:9999 /]
undeploy test-application.war--keep-content
Result
The specified application is now undeployed. Note that the undeploy command does not produce any output to the Management CLI if it is successful.