Java Reference
In-Depth Information
of fact, the console provides built-in autocomplete features and you can display the
available commands at any time by simply hitting the
Tab
key as shown in the fol-
lowing screenshot:
As you might guess, in order to deploy an application you need to issue the
deploy
shell
command. When used without arguments, the deploy command provides a
list of applications that are currently deployed:
[localhost:9999 /] deploy
ExampleApp.war
If you feed a resource archive such as
.war
to the shell, it will deploy it on the stan-
dalone server right away:
[standalone@localhost:9999 /] deploy ../
HelloWorld.war
As you can see from the preceding command line, the CLI uses the folder where
your deployments were actually launched as its initial location, which is
JBOSS_HOME/bin
by default You can, however, use absolute paths when specifying
the location of your archives; the CLI expansion facility (using the
Tab
key) makes
this option fairly simple: