9.3.2. Deploy an Application in a Managed Domain Using the Management CLI
Prerequisites
Procedure 9.3. Deploy an Application in a Managed Domain
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- 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
Note that a successful deploy does not produce any output to the CLI.
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.