Starting JBoss EAP6 in the domain mode

In this section, let's have a look at the domain mode. Use the following command in the bin directory to start the EAP6 server in the domain mode:

$ ./domain.sh

We can see that the startup process is different with the standalone mode. Firstly, there are many more components loaded in the domain mode:

Started 274 of 401 services (126 services are passive or on-demand)

And in domain.sh, we can see that the startup command is also different:

eval \"$JAVA\" -D\"[Process Controller]\" $PROCESS_CONTROLLER_JAVA_OPTS \ \"-Dorg.jboss.boot.log.file=$JBOSS_LOG_DIR/process-controller.log\" \ \"-Dlogging.configuration=file:$JBOSS_CONFIG_DIR/logging.properties\" \ -jar \"$JBOSS_HOME/jboss-modules.jar\" \ -mp \"${JBOSS_MODULEPATH}\" ...

Get JBoss EAP6 High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.