Deployment in domain mode
We will start this section by saying that there is no deployments
folder.
Having said that, we will rely on the default configuration so that we can get up and running quickly.
By default, the domain mode starts the domain controller and two server instances named server-one
and server-two
. There is also an instance named server-three
, but it's not started during the boot phase.
Those server instances belong to two different server groups, named main-server-group
and other-server-group
.
Deployment using the CLI
As already described in Chapter 3, Managing EAP in Domain Mode, there is a different startup script to launch the domain mode, which is domain.sh
(domain.bat
if you are running Windows), available under the $JBOSS_HOME/bin
folder.
Without going any further, let's start the domain mode, as follows:
cd $JBOSS_HOME ./bin/domain.sh
Within your shell, you should have noticed the startup entries in the log, as follows:
... [Server:server-one] 16:25:38,641 INFO [org...