Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between standalone.xml and standalone-full.xml

Tags:

java

jboss

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

like image 626
Muhammad Imran Tariq Avatar asked Oct 22 '13 17:10

Muhammad Imran Tariq


People also ask

What is the difference between standalone XML and standalone full XML?

standalone. xml: Does not contain support for messaging. standalone-full. xml: Contains support for messaging.

What is standalone XML?

The XML standalone element defines the existence of an externally-defined DTD. In the message tree it is represented by a syntax element with field type XML. standalone. The value of the XML standalone element is the value of the standalone attribute in the XML declaration.

What is HA and standalone?

HA means High Avaibility. The standalone HA will start a second server process in slave mode which will become the master when the master server process stops. Follow this answer to receive notifications.

Where can I find standalone XML?

Default configuration for a standalone server is stored in the EAP_HOME/standalone/configuration/standalone. xml file and default configuration for a managed domain is stored in the EAP_HOME/domain/configuration/domain. xml file.


Video Answer


2 Answers

  • 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

like image 84
HeavyE Avatar answered Sep 17 '22 17:09

HeavyE


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
like image 35
albertoiNET Avatar answered Sep 20 '22 17:09

albertoiNET