Java Reference
In-Depth Information
archives; the CLI expansion facility (using the Tab key) makes this option fairly
simple:
[standalone@localhost:9999 /] deploy
c:\deployments\MyApp.war
'MyApp.war' deployed successfully.
Redeploying the application requires an additional flag to the deploy command.
Use the -f argument to force the application's redeployment:
[localhost:9999 /] deploy -f ../MyApp.war
'MyApp.war' re-deployed successfully.
Undeploying the application can be done through the undeploy command, which
takes as an argument the application that is deployed:
[localhost:9999 /] undeploy MyApp.war
'MyApp.war' undeployed successfully.
By checking the AS 7 configuration file (for example standalone.xml or do-
main.xml ), you will notice that the deployment element for your application has
been removed.
Deploying applications to a JBoss AS 7 domain
When you are deploying an application using the domain mode, you have to specify
to which server group the deployment is associated. The CLI lets you choose
between two options:
• Deploy to all server groups
• Deploy to a single server group
We will discuss these choices in two separate sections.
Search WWH ::




Custom Search