Managing JBoss cartridges using the management web interface and CLI
JBoss provides three different ways to manage the server: a web interface, a command-line client, and the XML configuration files. In this recipe, you will learn how to deploy WAR files to your JBoss cartridge using the web management interface and JBoss CLI.
Getting ready
To complete this recipe, you will need to have the JBoss application server binary on your local machine. This is required to connect with the JBoss cartridge using jboss-cli
. Download the JBoss AS7 binary from the official website at http://www.jboss.org/jbossas/downloads. Extract the ZIP file, and you will find the jboss-cli
script in the bin
folder.
In this recipe, we will use the jobstore
application that we created in the Creating and deploying Java EE 6 applications using the JBoss EAP and PostgreSQL 9.2 cartridges recipe.
How to do it…
Perform the following steps:
Open a new command-line terminal, and navigate to the directory where the
jobstore
application...