standalone.xml和standalone-full.xml之间的区别

Muh*_*riq 42 java jboss

standalone.xml和之间有什么区别standalone-full.xml?在我们使用的场景中standalone-full.xml

Hea*_*vyE 46

  • standalone.xml:支持Java EE Web-Profile以及一些扩展,如RESTFul Web Services和对EJB3远程调用的支持
  • standalone-full.xml:支持Java EE Full-Profile和所有服务器功能,无需群集
  • standalone-ha.xml:具有群集功能的默认配置文件
  • standalone-full-ha.xml:具有群集功能的完整配置文件

答案取自:JBoss EAP 5和EAP 6之间的差异


Dev*_*vam 6

如果你配置standalone-full.xml而不是standalone.xml,那么你必须在启动JBoss服务时选择它.

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

如果你这样做,JBoss Developer Studio你应该选择standalone-full.xml而不是standalone.xml在服务器配置中.


alb*_*NET 5

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

  1. standalone.xml:这是独立服务器的默认配置文件.它包含有关独立服务器的所有信息,包括子系统,网络,部署,套接字绑定和其他可配置的详细信息.启动独立服务器时会自动使用此配置.

  2. standalone-full.xml:这是独立服务器的示例配置.它包括对每个可能的子系统的支持,除了高可用性所需的子系统.

  3. standalone-ha.xml:此示例配置文件启用所有默认子系统,并为独立服务器添加mod_cluster和JGroups子系统,以便它可以参与高可用性或负载平衡群集.

  4. standalone-full-ha.xml:这是独立服务器的示例配置.它包括对每个可能的子系统的支持,包括高可用性所需的子系统.

Messaging的服务器配置包含在独立服务器的$ EAP_HOME/standalone/configuration/standalone-full.xml$ EAP_HOME/standalone/configuration/standalone-full-ha.xml文件中.服务器配置文件中的元素包含所有JMS配置.

它说,完整配置还包括子配置:

  • standalone-full.xmlstandalone.xml
  • standalone-full-ha.xmlstandalone-ha.xml