Java Reference
In-Depth Information
[standalone@localhost:9999 /] deploy
c:\deployments\HelloWorld.war
HelloWorld.war' deployed successfully.
As it is, the application is deployed and activated so that the user can access it. If
you want to just perform the deployment of the application and defer the activation
to a later time, you have to add the --disabled switch:
[standalone@localhost:9999 /] deploy ../
HelloWorld.war --disabled
HelloWorld.war' deployed successfully.
In order to activate the application, simply issue another deploy command without
the --disabled switch:
[standalone@localhost:9999 /] deploy --name=
HelloWorld.war
HelloWorld.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 ../HelloWorld.war
HelloWorld.war' re-deployed successfully.
Undeploying the application can be done with the undeploy command, which takes
as an argument the application that is deployed:
[localhost:9999 /] undeploy HelloWorld.war
HelloWorld.war' undeployed successfully.
Deploying applications to a domain
Deploying applications when running in the domain mode is slightly different from
doing the same in the standalone mode. The difference boils down to the fact that
Search WWH ::




Custom Search