jboss standalone.xml学习
2014-10-28 17:39
330 查看
jboss中有model的概念
根据其development guide的解释:
A Module is a logical grouping of classes used for class loading and dependency management. JBoss
Enterprise Application Platform 6 identifies two different types of modules, sometimes called static and
dynamic modules.
Static Modules
Static Modules are predefined in the EAP_HOME/m odules/
jboss提供的api都被定义成model,放在这个modules目录下
All the application server provided APIs are provided as static modules, including the Java EE
APIs as well as other APIs such as JBoss Logging.
Dynamic Modules
Dynamic Modules are created and loaded by the application server for each JAR or WAR
deployment
也就是说我们部署的jar包和war包,jboss都加载为module
所有这些module只有需要的时候再加载
standalone.xml可以指定server时需要加载哪些model
并且对每个model都可以定义一个subsystem元素来指定其属性
另外 standalone.xml中也可以定义socket-binding-group元素,指定 端口对应关系。
例如如果我们已经定义了
<http-interface security-realm="ManagementRealm">
<socket-binding http="management-http"/>(绑定management-http)
</http-interface>
那么我们在socket-binding-group中可以具体定义management-http绑定哪个端口
<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
默认的话jboss web console的端口为9990
企业版 jboss是没有jboss jmx console的
根据其development guide的解释:
A Module is a logical grouping of classes used for class loading and dependency management. JBoss
Enterprise Application Platform 6 identifies two different types of modules, sometimes called static and
dynamic modules.
Static Modules
Static Modules are predefined in the EAP_HOME/m odules/
jboss提供的api都被定义成model,放在这个modules目录下
All the application server provided APIs are provided as static modules, including the Java EE
APIs as well as other APIs such as JBoss Logging.
Dynamic Modules
Dynamic Modules are created and loaded by the application server for each JAR or WAR
deployment
也就是说我们部署的jar包和war包,jboss都加载为module
所有这些module只有需要的时候再加载
standalone.xml可以指定server时需要加载哪些model
并且对每个model都可以定义一个subsystem元素来指定其属性
另外 standalone.xml中也可以定义socket-binding-group元素,指定 端口对应关系。
例如如果我们已经定义了
<http-interface security-realm="ManagementRealm">
<socket-binding http="management-http"/>(绑定management-http)
</http-interface>
那么我们在socket-binding-group中可以具体定义management-http绑定哪个端口
<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
默认的话jboss web console的端口为9990
企业版 jboss是没有jboss jmx console的
相关文章推荐
- jboss:在standalone.xml中设置系统属性(system-properties)
- 关于 XML standalone 的解释
- 关于 XML standalone 的解释
- XmlDeclaration.Standalone 属性
- spark standalone深入学习-核心概念\启动过程\服务down掉说明
- cxf .jar 包 冲突 setXmlStandalone(Z)V
- JBoss AS 7中Domain Mode 和 Standalone Mode
- XML 头声明和standalone="yes"属性介绍
- 用dom4j实现XML的遍历,增加namespace, 设置standalone="yes" 等操作
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- java.lang.AbstractMethodError: gnu.xml.dom.DomDocument.getXmlStandalone()Z
- AbstractMethodError:DocumentImpl.getXmlStandalone()Z
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- Spark学习(三)---Spark Standalone Mode说明及参数配置详解
- cxf .jar 包 冲突 setXmlStandalone(Z)V
- Spark学习之13:Standalone HA
- 在XML standalone属性和viewstate中碰到的两个问题
- xml standalone
- Spark学习笔记之-Spark Standalone(环境搭建)
- 【Spark学习】Apache Spark部署之Standalone Mode