Show Table of Contents
8.3.2. Deploy an Application in a Managed Domain Using the Management CLI
Prerequisites
Procedure 8.3. Task
Run the
deploycommandFrom the Management CLI, enter thedeploycommand with the path to the application deployment. Include the--all-server-groupsparameter to deploy to all server groups.[domain@localhost:9999 /]
deploy /path/to/test-application.war --all-server-groups'test-application.war' deployed successfully.- Alternatively, define specific server groups for the deployment with the
--server-groupsparameter.[domain@localhost:9999 /]
deploy /path/to/test-application.war --server-groups server_group_1, server_group_2'test-application.war' deployed successfully.
Result
The specified application is now deployed to a server group in your managed domain.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.