Java Reference
In-Depth Information
Deploy to all server groups
If this option is chosen, the application will be deployed to all the available server
groups. The --all-server-groups flag can be used for this purpose. For ex-
ample:
[domain@localhost:9999 /] deploy ../
application.ear --all-server-groups
Successfully deployed application.ear
If, on the other hand, you want to undeploy an application from all server groups be-
longing to a domain, you have to issue the undeploy command, as shown in the
following command:
[domain@localhost:9999 /] undeploy
application.ear --all-relevant-server-groups
Successfully undeployed application.ear
Note
You might have noticed that the undeploy command uses the --all-
relevant-server-groups instead of --all-server-groups . The reason
for this difference is that the deployment may not be enabled on all server
groups, so by using this option, you will actually undeploy it just from all the serv-
er groups in which the deployment is enabled.
Deploy to a single server group
The other option lets you perform a selective deployment of your application only on
the server groups you have indicated:
[domain@localhost:9999 /] deploy
application.ear
--server-groups=main-server-group
Successfully deployed application.ear
Search WWH ::




Custom Search