57

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

4

3 回答 3

58
  • 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

于 2014-05-16T18:23:03.303 回答
10

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.

于 2015-07-13T11:21:34.770 回答
10

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
于 2017-07-21T08:05:46.873 回答