Difference between standalone.xml and standalone-full.xml

JavaJboss

Java Problem Overview


What is the Difference between standalone.xml and standalone-full.xml. In what scenarios we use standalone-full.xml

Java Solutions


Solution 1 - Java

  • standalone.xml: Support of Java EE Web-Profile plus some extensions like RESTFul Web Services and support for EJB3 remote invocations
  • standalone-full.xml: Support of Java EE Full-Profile and all server capabilities without clustering
  • standalone-ha.xml: Default profile with clustering capabilities
  • standalone-full-ha.xml: Full profile with clustering capabilities

Answer taken from: The Differences Between JBoss EAP 5 and EAP 6

Solution 2 - Java

From RHELSM (https://access.redhat.com/solutions/1136103)

  1. standalone.xml: This is the default configuration file for a standalone server. It contains all information about the standalone server, including subsystems, networking, deployments, socket bindings, and other configurable details. This configuration is used automatically when you start your standalone server.

  2. standalone-full.xml: This is an example configuration for a standalone server. It includes support for every possible subsystem except for those required for high availability.

  3. standalone-ha.xml: This example configuration file enables all of the default subsystems and adds the mod_cluster and JGroups subsystems for a standalone server, so that it can participate in a high-availability or load-balancing cluster.

  4. standalone-full-ha.xml: This is an example configuration for a standalone server. It includes support for every possible subsystem, including those required for high availability.

The server configuration for Messaging is contained in the $EAP_HOME/standalone/configuration/standalone-full.xml or $EAP_HOME/standalone/configuration/standalone-full-ha.xml file for standalone servers. The element in the server configuration file contains all JMS configuration.

It says, full config also include sub config:

  • standalone-full.xml has standalone.xml
  • standalone-full-ha.xml has standalone-ha.xml

Solution 3 - Java

If you configured standalone-full.xml instead of standalone.xml,- then you have to choose it while you start JBoss service.

./standalone.sh -c standalone-full.xml

If you do it in JBoss Developer Studio then you should choose standalone-full.xml instead of standalone.xml in the Server Config.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMuhammad Imran TariqView Question on Stackoverflow
Solution 1 - JavaHeavyEView Answer on Stackoverflow
Solution 2 - JavaalbertoiNETView Answer on Stackoverflow
Solution 3 - JavaDev Anand SadasivamView Answer on Stackoverflow