8.3.2. Deploy an Application in a Managed Domain Using the Management CLI

Procedure 8.3. Task

  • Run the deploy command

    From the Management CLI, enter the deploy command with the path to the application deployment. Include the --all-server-groups parameter 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-groups parameter.
      [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.