Difference between standalone.xml and standalone-f

2020-05-16 15:32发布

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

标签: java jboss
3条回答
【Aperson】
2楼-- · 2020-05-16 15:46

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.

查看更多
Rolldiameter
3楼-- · 2020-05-16 15:56
  • 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

查看更多
狗以群分
4楼-- · 2020-05-16 15:58

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
查看更多
登录 后发表回答