[jboss-cvs] JBossAS SVN: r77031 - in trunk: testsuite/src/etc/cluster-harness/conf and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 13 15:52:24 EDT 2008
Author: bstansberry at jboss.com
Date: 2008-08-13 15:52:24 -0400 (Wed, 13 Aug 2008)
New Revision: 77031
Removed:
trunk/testsuite/src/etc/cluster-test/
trunk/testsuite/src/resources/cluster/http/cluster-bindings.xml
trunk/testsuite/src/resources/cluster/http/jboss-service.xml
trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG.filter
trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG_2.filter
trunk/varia/src/etc/binding-service.xml
trunk/varia/src/resources/services/binding/sample-bindings.xml
trunk/varia/src/resources/services/binding/services-binding.dtd
Modified:
trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench1.xml
trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench2.xml
Log:
[JBAS-5192] Clean up leftover stuff related to old SBM impl
Modified: trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench1.xml
===================================================================
--- trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench1.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench1.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -119,37 +119,6 @@
</mbean>
<!-- ==================================================================== -->
- <!-- Service Binding -->
- <!-- ==================================================================== -->
-
- <!-- Automatically activated when generatting the clustering environment -->
- <!-- @TESTSUITE_CLUSTER_CONFIG@ -->
-
- <!--
- | Binding service manager for port/host mapping. This is a sample
- | config that demonstrates a JBoss instances with a server name 'jboss1'
- | loading its bindings from an XML file using the ServicesStoreFactory
- | implementation returned by the XMLServicesStoreFactory.
- |
- | ServerName: The unique name assigned to a JBoss server instance for
- | lookup purposes. This allows a single ServicesStore to handle mulitiple
- | JBoss servers.
- |
- | StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
- | during initialization that specifies how to connect to the bindings store.
- | StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
- | implementation to create to obtain the ServicesStore instance.
- -->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-default</attribute>
- <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-
- <!-- ==================================================================== -->
<!-- Class Loading -->
<!-- ==================================================================== -->
Modified: trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench2.xml
===================================================================
--- trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench2.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/testsuite/src/etc/cluster-harness/conf/jboss-service-bench2.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -119,39 +119,6 @@
</mbean>
<!-- ==================================================================== -->
- <!-- Service Binding -->
- <!-- ==================================================================== -->
-
- <!-- Automatically activated when generatting the clustering environment -->
- <!-- @TESTSUITE_CLUSTER_CONFIG@ -->
-
- <!--
- | Binding service manager for port/host mapping. This is a sample
- | config that demonstrates a JBoss instances with a server name 'jboss1'
- | loading its bindings from an XML file using the ServicesStoreFactory
- | implementation returned by the XMLServicesStoreFactory.
- |
- | ServerName: The unique name assigned to a JBoss server instance for
- | lookup purposes. This allows a single ServicesStore to handle mulitiple
- | JBoss servers.
- |
- | StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
- | during initialization that specifies how to connect to the bindings store.
- | StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
- | implementation to create to obtain the ServicesStore instance.
- -->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-01</attribute>
- <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-
-
-
- <!-- ==================================================================== -->
<!-- Class Loading -->
<!-- ==================================================================== -->
Deleted: trunk/testsuite/src/resources/cluster/http/cluster-bindings.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/cluster-bindings.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/testsuite/src/resources/cluster/http/cluster-bindings.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,813 +0,0 @@
-<!-- A sample configuration for the binding service which defines different
-port configurations ( ports-default, ports-01, ports-02 ) for running multiple
-JBoss instances in parallel on the same machine.
-
-The actual port configuration can be selected within the jboss-
-service.xml file via ServiceBindingManager attribute ServerName.
-
-The following sample e.g. selects the jboss-default port configuration
-
-<mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-default</attribute>
- <attribute name="StoreURL">file:../server/port-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
-</mbean>
-
-For running a second server instance you have to change the port
-bindings of that instance by specifing an alternative port binding
-configuration in the jboss-service.xml of the second server, e.g.
-
-<attribute name="ServerName">ports-01</attribute>
-
-REMARK: Additional documentation for running multiple JBoss instances
-on the same machine can be found in the offical JBoss3.x book
-in chapter "MBean Service Miscellany - Services Binding Management" !
- -->
-
-<service-bindings>
-
- <!-- ********************************************************** -->
- <!-- * ports-default * -->
- <!-- ********************************************************** -->
- <server name="ports-default">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1098</attribute>
- </delegate-config>
- <binding port="1099" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8083"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4444"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1100"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4445"/>
- </service-config>
-
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3528"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19001"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1162"/>
- </service-config>
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8093"/>
- </service-config>
-
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services when using the tcp/ip access
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1701" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1701" />
- </service-config>
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat.sar *****************
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
--->
-
- </server>
-
-
- <!-- ********************************************************** -->
- <!-- * ports-01 * -->
- <!-- ********************************************************** -->
- <server name="ports-01">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1198</attribute>
- </delegate-config>
- <binding port="1199" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8183"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4544"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1200"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4545"/>
- </service-config>
-
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3628"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19101"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1262"/>
- </service-config>
-
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8193"/>
- </service-config>
-
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services
-
- Only if using TCP setup (local file setup by default)
-
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1801" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1801" />
- </service-config>
-
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8180"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat41.sar *****************
-
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8180" />
- </service-config>
- -->
-
- </server>
-
-
- <!-- ********************************************************** -->
- <!-- * ports-02 * -->
- <!-- ********************************************************** -->
- <server name="ports-02">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1298</attribute>
- </delegate-config>
- <binding port="1299" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8283"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4644"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1300"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4645"/>
- </service-config>
-
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3728"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19201"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1362"/>
- </service-config>
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8293"/>
- </service-config>
-
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services
-
- Only if using TCP setup (local file setup by default)
-
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1901" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1901" />
- </service-config>
-
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8280"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat.sar *****************
-
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8280" />
- </service-config>
- -->
-
- </server>
-
-</service-bindings>
Deleted: trunk/testsuite/src/resources/cluster/http/jboss-service.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/jboss-service.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/testsuite/src/resources/cluster/http/jboss-service.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,353 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<!-- ===================================================================== -->
-<!-- JBoss Server Configuration -->
-<!-- ===================================================================== -->
-
-<server>
-
- <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
- can be restricted to specific jars by specifying them in the archives
- attribute.
- -->
- <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
-
- <!-- ==================================================================== -->
- <!-- JSR-77 Single JBoss Server Management Domain -->
- <!-- ==================================================================== -->
- <mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
- name="jboss.management.local:j2eeType=J2EEDomain,name=Manager">
- <attribute name="MainDeployer">jboss.system:service=MainDeployer</attribute>
- <attribute name="SARDeployer">jboss.system:service=ServiceDeployer</attribute>
- <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
- <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
- <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
- <attribute name="CMDeployer">jboss.jca:service=ConnectionFactoryDeployer</attribute>
- <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
- <attribute name="MailService">jboss:service=Mail</attribute>
- <attribute name="JMSService">jboss.mq:service=DestinationManager</attribute>
- <attribute name="JNDIService">jboss:service=Naming</attribute>
- <attribute name="JTAService">jboss:service=TransactionManager</attribute>
- <attribute name="UserTransactionService">jboss:service=ClientUserTransaction</attribute>
- <attribute name="RMI_IIOPService">jboss:service=CorbaORB</attribute>
- </mbean>
-
- <!-- Preload all custom editors for VMs that don't use the thread
- context class loader when searching for PropertyEditors. Uncomment
- if your JDK 1.3.0 VM fails to find JBoss PropertyEditors.
- <mbean code="org.jboss.varia.property.PropertyEditorManagerService"
- name="jboss:type=Service,name=BootstrapEditors">
- <attribute name="BootstrapEditors">
- java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
- java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
- java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
- java.util.Date=org.jboss.util.propertyeditor.DateEditor
- java.io.File=org.jboss.util.propertyeditor.FileEditor
- java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
- java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
- javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor
- java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
- [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
- java.net.URL=org.jboss.util.propertyeditor.URLEditor
- </attribute>
- </mbean>
- -->
-
- <!-- ==================================================================== -->
- <!-- Log4j Initialization -->
- <!-- ==================================================================== -->
-
- <mbean code="org.jboss.logging.Log4jService"
- name="jboss.system:type=Log4jService,service=Logging">
- <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
- <!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
- this needs to be set to avoid a possible deadlock on exception at the
- appender level. See bug#696819.
- -->
- <attribute name="Log4jQuietMode">true</attribute>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- JBoss RMI Classloader - only install when available -->
- <!-- ==================================================================== -->
- <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
- name="jboss.rmi:type=RMIClassLoader">
- <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
- <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Service Binding -->
- <!-- ==================================================================== -->
-
- <!-- Automatically activated when generatting the clustering environment -->
- <!-- @TESTSUITE_CLUSTER_CONFIG@ -->
-
- <!--
- | Binding service manager for port/host mapping. This is a sample
- | config that demonstrates a JBoss instances with a server name 'jboss1'
- | loading its bindings from an XML file using the ServicesStoreFactory
- | implementation returned by the XMLServicesStoreFactory.
- |
- | ServerName: The unique name assigned to a JBoss server instance for
- | lookup purposes. This allows a single ServicesStore to handle mulitiple
- | JBoss servers.
- |
- | StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
- | during initialization that specifies how to connect to the bindings store.
- | StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
- | implementation to create to obtain the ServicesStore instance.
-
- -->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-01</attribute>
- <attribute name="StoreURL">../cluster-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Class Loading -->
- <!-- ==================================================================== -->
-
- <mbean code="org.jboss.web.WebService"
- name="jboss:service=WebService">
- <attribute name="Port">8083</attribute>
- <!-- Should resources and non-EJB classes be downloadable -->
- <attribute name="DownloadServerClasses">true</attribute>
- <attribute name="Host">${jboss.bind.address}</attribute>
- <attribute name="BindAddress">${jboss.bind.address}</attribute>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- JNDI -->
- <!-- ==================================================================== -->
-
- <mbean code="org.jboss.naming.NamingService"
- name="jboss:service=Naming">
- <!-- The listening port for the bootstrap JNP service. Set this to -1
- to run the NamingService without the JNP invoker listening port.
- -->
- <attribute name="Port">1099</attribute>
- <!-- The bootstrap JNP server bind address. This also sets the default
- RMI service bind address. Empty == all addresses
- -->
- <attribute name="BindAddress">${jboss.bind.address}</attribute>
- <!-- The port of the RMI naming service, 0 == anonymous -->
- <attribute name="RmiPort">1098</attribute>
- <!-- The RMI service bind address. Empty == all addresses
- -->
- <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
- </mbean>
-
- <mbean code="org.jboss.naming.JNDIView"
- name="jboss:service=JNDIView"
- xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Security -->
- <!-- ==================================================================== -->
-
- <mbean code="org.jboss.security.plugins.SecurityConfig"
- name="jboss.security:service=SecurityConfig">
- <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
- </mbean>
- <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
- name="jboss.security:service=XMLLoginConfig">
- <attribute name="ConfigResource">login-config.xml</attribute>
- </mbean>
-
- <!-- JAAS security manager and realm mapping -->
- <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
- name="jboss.security:service=JaasSecurityManager">
- <attribute name="SecurityManagerClassName">
- org.jboss.security.plugins.JaasSecurityManager
- </attribute>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Transactions -->
- <!-- ==================================================================== -->
-
- <!-- JBossTS JTA -->
- <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
- name="jboss:service=TransactionManager">
- <attribute name="TransactionTimeout">300</attribute>
- <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
- </mbean>
-
- <!--
- | UserTransaction support.
- -->
- <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
- name="jboss:service=ClientUserTransaction"
- xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
- <depends>
- <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
- name="jboss:service=proxyFactory,target=ClientUserTransactionFactory">
- <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
- <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
- <attribute name="JndiName">UserTransactionSessionFactory</attribute>
- <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute>
- <attribute name="ClientInterceptors">
- <interceptors>
- <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
- <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
- </interceptors>
- </attribute>
- <depends>jboss:service=invoker,type=jrmp</depends>
- </mbean>
- </depends>
- <depends optional-attribute-name="TxProxyName">
- <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
- name="jboss:service=proxyFactory,target=ClientUserTransaction">
- <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
- <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
- <attribute name="JndiName"></attribute>
- <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute>
- <attribute name="ClientInterceptors">
- <interceptors>
- <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
- <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
- </interceptors>
- </attribute>
- <depends>jboss:service=invoker,type=jrmp</depends>
- </mbean>
- </depends>
-
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Invokers to the JMX node -->
- <!-- ==================================================================== -->
-
- <!-- RMI/JRMP invoker -->
- <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
- name="jboss:service=invoker,type=jrmp">
- <attribute name="RMIObjectPort">4444</attribute>
- <attribute name="ServerAddress">${jboss.bind.address}</attribute>
- <!--
- <attribute name="RMIClientSocketFactory">custom</attribute>
- <attribute name="RMIServerSocketFactory">custom</attribute>
- <attribute name="SecurityDomain">ssl-domain-name</attribute>
- -->
-
- <depends>jboss:service=TransactionManager</depends>
- </mbean>
-
- <mbean code="org.jboss.invocation.local.LocalInvoker"
- name="jboss:service=invoker,type=local">
-
- <depends>jboss:service=TransactionManager</depends>
- </mbean>
-
- <mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
- name="jboss:service=invoker,type=pooled">
- <attribute name="NumAcceptThreads">1</attribute>
- <attribute name="MaxPoolSize">300</attribute>
- <attribute name="ClientMaxPoolSize">300</attribute>
- <attribute name="SocketTimeout">60000</attribute>
- <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
- <attribute name="ServerBindPort">4445</attribute>
- <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
- <attribute name="ClientConnectPort">0</attribute>
- <attribute name="EnableTcpNoDelay">false</attribute>
-
- <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
- </mbean>
-
- <!-- ==================================================================== -->
- <!-- Deployment Scanning -->
- <!-- ==================================================================== -->
-
- <!-- An mbean for hot deployment/undeployment of archives.
- -->
- <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
- name="jboss.deployment:type=DeploymentScanner,flavor=URL">
-
- <!-- Uncomment (and comment/remove version below) to enable usage of the
- DeploymentCache
- <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
- -->
- <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
-
- <!-- The URLComparator can be used to specify a deployment ordering
- for deployments found in a scanned directory. The class specified
- must be an implementation of java.util.Comparator, it must be able
- to compare two URL objects, and it must have a no-arg constructor.
- Two deployment comparators are shipped with JBoss:
- - org.jboss.deployment.DeploymentSorter
- Sorts by file extension, as follows:
- "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
- "*"
- - org.jboss.deployment.scanner.PrefixDeploymentSorter
- If the name portion of the url begins with 1 or more digits, those
- digits are converted to an int (ignoring leading zeroes), and
- files are deployed in that order. Files that do not start with
- any digits will be deployed first, and they will be sorted by
- extension as above with DeploymentSorter.
- -->
- <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
- <!--
- <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
- -->
-
- <!-- The Filter specifies a java.io.FileFilter for scanned
- directories. Any file not accepted by this filter will not be
- deployed. The org.jboss.deployment.scanner.DeploymentFilter
- rejects the following patterns:
- "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK",
- "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state",
- ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS",
- "TAGS", "core", "tags"
- -->
- <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
-
- <attribute name="ScanPeriod">5000</attribute>
-
- <!-- URLs are comma separated and resolve relative to the server home URL
- unless the given path is absolute. If the URL ends in "/" it is
- considered a collection and scanned, otherwise it is simply deployed;
- this follows RFC2518 convention and allows discrimination between
- collections and directories that are simply unpacked archives.
-
- URLs may be local (file:) or remote (http:). Scanning is supported
- for remote URLs but unpacked deployment units are not.
-
- Example URLs:
- deploy/
- scans ${jboss.server.url}/deploy/, which is local or remote
- depending on the URL used to boot the server
- ${jboss.server.home}/deploy/
- scans ${jboss.server.home)/deploy, which is always local
- file:/var/opt/myapp.ear
- deploy myapp.ear from a local location
- file:/var/opt/apps/
- scans the specified directory
- http://www.test.com/netboot/myapp.ear
- deploys myapp.ear from a remote location
- http://www.test.com/netboot/apps/
- scans the specified WebDAV location
- -->
- <attribute name="URLs">
- deploy/
- </attribute>
-
- <!-- Indicates if the scanner should recursively scan directories that
- contain no "." in their names. This can be used to group applications
- and services that must be deployed and that have the same
- logical function in the same directory i.e.
- deploy/JMX/
- deploy/JMS/
- ...
- -->
- <attribute name="RecursiveSearch">True</attribute>
-
- </mbean>
-
-</server>
Deleted: trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG.filter
===================================================================
--- trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG.filter 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG.filter 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,10 +0,0 @@
--->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-01</attribute>
- <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-<!--
\ No newline at end of file
Deleted: trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG_2.filter
===================================================================
--- trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG_2.filter 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/varia/src/etc/TESTSUITE_CLUSTER_CONFIG_2.filter 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,10 +0,0 @@
--->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-02</attribute>
- <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-<!--
\ No newline at end of file
Deleted: trunk/varia/src/etc/binding-service.xml
===================================================================
--- trunk/varia/src/etc/binding-service.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/varia/src/etc/binding-service.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id$ -->
-
-<server>
-
- <!-- ServiceBindingManager configuration. This is a service that provides
- binding mappings of service (host,port) pairs to allow multiple instances
- of JBoss to be run on a server.
-
- Typically you will add this configuration to the core jboss-services.xml
- descriptor rather than deploying this as a seperate mbean so that it
- may be available for use by other mbeans during their configuration.
-
- Note that the JMX object name given below must be used
- as the ServiceConfigurator currently has this hard coded.
- -->
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <!--
- Attribute: ServerName (mandatory)
- Descr: Points to the 'server' block in the config file (servicebindings.xml)
- which should be used for lookup requests to this service. This enables
- the deployer/installer to have multiple port configurations from which
- to choose.
- -->
- <attribute name="ServerName">default</attribute>
-
- <!-- Attribute: StoreURL
- Descr: URL for the config store to use. The format of the config
- store URL contents depends on the type of ServicesStore implementation
- being used. Change this to your bindings configuration location
- file: and http: URL protocols have been tested.
- -->
- <attribute name="StoreURL">file:/etc/jboss-bindings.xml</attribute>
-
- <!-- The ServicesStoreFactory interface implementation. This factory
- creates an XML document based read-only store.
- -->
- <attribute name="StoreFactoryClassName">org.jboss.services.binding.XMLServicesStoreFactory</attribute>
-
- </mbean>
-</server>
-
Deleted: trunk/varia/src/resources/services/binding/sample-bindings.xml
===================================================================
--- trunk/varia/src/resources/services/binding/sample-bindings.xml 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/varia/src/resources/services/binding/sample-bindings.xml 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,1370 +0,0 @@
-<!--
- $Id$
-
- A sample configuration for the binding service which defines different
- port configurations (ports-default, ports-01, ports-02) for running multiple
- JBoss instances in parallel on the same machine.
-
- The actual port configuration can be selected within the jboss-service.xml
- file via ServiceBindingManager attribute ServerName.
-
- The following sample e.g. selects the jboss-default port configuration
-
- <mbean code="org.jboss.services.binding.ServiceBindingManager"
- name="jboss.system:service=ServiceBindingManager">
- <attribute name="ServerName">ports-default</attribute>
- <attribute name="StoreURL">file:../server/port-bindings.xml</attribute>
- <attribute name="StoreFactoryClassName">
- org.jboss.services.binding.XMLServicesStoreFactory
- </attribute>
- </mbean>
-
- For running a second server instance you have to change the port
- bindings of that instance by specifing an alternative port binding
- configuration in the jboss-service.xml of the second server, e.g.
-
- <attribute name="ServerName">ports-01</attribute>
-
- Additional documentation for running multiple JBoss instances on the
- same machine can be found at http://www.jboss.com/products/jbossas/docs
- in the offical JBoss Application Server Guide in chapter
- "MBean Service Miscellany - Services Binding Management"
--->
-<service-bindings>
-
- <!-- ********************************************************** -->
- <!-- * ports-default * -->
- <!-- ********************************************************** -->
- <server name="ports-default">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1098</attribute>
- </delegate-config>
- <binding port="1099" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8083"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4444"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="Port">
- <attribute name="RmiPort">1101</attribute>
- </delegate-config>
- <binding port="1100"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4445"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=pooledha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="ServerBindPort"/>
- <binding port="4448"/>
- </service-config>
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3528"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19001"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1162"/>
- </service-config>
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1161"/>
- </service-config>
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8093"/>
- </service-config>
-
- <service-config name="jboss.mq:service=InvocationLayer,type=OIL"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8090"/>
- </service-config>
-
-
- <!-- ********************* jbossmq-httpil.sar **************** -->
- <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="URLPort"/>
- <binding port="8080"/>
- </service-config>
-
- <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
- <!-- EJBInvoker -->
- <service-config name="jboss:service=invoker,type=http"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8080"/>
- </service-config>
-
- <!-- JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8080"/>
- </service-config>
-
- <!-- readonly JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8080"/>
- </service-config>
-
- <!-- **************** httpha-invoker.sar*************** -->
- <!-- EJBInvokerHA -->
- <service-config name="jboss:service=invoker,type=httpHA"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
-
- <!-- JMXInvokerHA -->
- <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
-
-
- <!-- ********************* jbossws.sar **************** -->
-
- <!-- Web Service related services -->
- <service-config name="jboss.ws:service=ServiceEndpointManager"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="WebServicePort" hostName="WebServiceHost">
- <attribute name="WebServiceSecurePort">8443</attribute>
- </delegate-config>
- <binding port="8080" host="${jboss.bind.address}"/>
- </service-config>
-
- <!-- ********************* remoting **************** -->
-
- <service-config name="jboss.remoting:service=JMXConnectorServer,protocol=rmi"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RegistryPort" hostName="BindAddress"/>
- <binding port="1090" host="${jboss.bind.address}"/>
- </service-config>
-
- <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="InvokerLocator">socket://0.0.0.0:3873</attribute>
- </delegate-config>
- </service-config>
-
- <!-- *** remoting connector *** -->
- <service-config name="jboss.remoting:service=Connector,transport=socket"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
- <delegate-config>
- <xslt-config configName="Configuration"><![CDATA[
- <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="attribute[@name='serverBindPort']">
- <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="4446" />
- </service-config>
-
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services when using the tcp/ip access
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1701" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1701" />
- </service-config>
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat.sar *****************
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8080"/>
- </service-config>
--->
-
- <!-- ********************* jboss messaging ********************** -->
-
- <service-config name="jboss.messaging:service=Connector,transport=bisocket"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="Configuration"><![CDATA[
- <config>
- <invoker transport="bisocket">
- <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="dataType" isParam="true">jms</attribute>
- <attribute name="socket.check_connection" isParam="true">false</attribute>
- <attribute name="timeout" isParam="true">0</attribute>
- <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
- <attribute name="serverBindPort">4457</attribute>
- <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
- <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
- <attribute name="numberOfCallRetries" isParam="true">1</attribute>
- <attribute name="pingFrequency" isParam="true">214748364</attribute>
- <attribute name="pingWindowFactor" isParam="true">10</attribute>
- <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
- <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
- <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
- <attribute name="numberOfRetries" isParam="true">10</attribute>
- <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
- <attribute name="callbackTimeout">10000</attribute>
- </invoker>
- <handlers>
- <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
- </handlers>
- </config>
- ]]></attribute>
- </delegate-config>
- <binding port="4457"/>
- </service-config>
-
- </server>
-
-
- <!-- ********************************************************** -->
- <!-- * ports-01 * -->
- <!-- ********************************************************** -->
- <server name="ports-01">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1198</attribute>
- </delegate-config>
- <binding port="1199" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8183"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4544"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="Port">
- <attribute name="RmiPort">1201</attribute>
- </delegate-config>
- <binding port="1200"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4545"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=pooledha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="ServerBindPort"/>
- <binding port="4548"/>
- </service-config>
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3628"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19101"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1262"/>
- </service-config>
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1261"/>
- </service-config>
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8193"/>
- </service-config>
-
- <service-config name="jboss.mq:service=InvocationLayer,type=OIL"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8190"/>
- </service-config>
-
-
- <!-- ********************* jbossmq-httpil.sar **************** -->
- <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="URLPort"/>
- <binding port="8180"/>
- </service-config>
-
- <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
- <!-- EJBInvoker -->
- <service-config name="jboss:service=invoker,type=http"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8180"/>
- </service-config>
-
- <!-- JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8180"/>
- </service-config>
-
- <!-- readonly JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8180"/>
- </service-config>
-
- <!-- **************** httpha-invoker.sar*************** -->
- <!-- EJBInvokerHA -->
- <service-config name="jboss:service=invoker,type=httpHA"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8180"/>
- </service-config>
-
- <!-- JMXInvokerHA -->
- <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8180"/>
- </service-config>
-
-
-
- <!-- ********************* jbossws.sar **************** -->
-
- <!-- Web Service related services -->
- <service-config name="jboss.ws:service=ServiceEndpointManager"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="WebServicePort" hostName="WebServiceHost">
- <attribute name="WebServiceSecurePort">8543</attribute>
- </delegate-config>
- <binding port="8180" host="${jboss.bind.address}"/>
- </service-config>
-
- <!-- ********************* remoting **************** -->
-
- <service-config name="jboss.remoting:service=JMXConnectorServer,protocol=rmi"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RegistryPort" hostName="BindAddress"/>
- <binding port="1190" host="${jboss.bind.address}"/>
- </service-config>
-
- <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="InvokerLocator">socket://0.0.0.0:3973</attribute>
- </delegate-config>
- </service-config>
-
- <!-- *** remoting connector *** -->
- <service-config name="jboss.remoting:service=Connector,transport=socket"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
- <delegate-config>
- <xslt-config configName="Configuration"><![CDATA[
- <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="attribute[@name='serverBindPort']">
- <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="5446" />
- </service-config>
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services
-
- Only if using TCP setup (local file setup by default)
-
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1801" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1801" />
- </service-config>
-
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8180"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat41.sar *****************
-
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8180" />
- </service-config>
- -->
-
- <!-- ********************* jboss messaging ********************** -->
-
- <service-config name="jboss.messaging:service=Connector,transport=bisocket"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="Configuration"><![CDATA[
- <config>
- <invoker transport="bisocket">
- <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="dataType" isParam="true">jms</attribute>
- <attribute name="socket.check_connection" isParam="true">false</attribute>
- <attribute name="timeout" isParam="true">0</attribute>
- <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
- <attribute name="serverBindPort">4557</attribute>
- <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
- <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
- <attribute name="numberOfCallRetries" isParam="true">1</attribute>
- <attribute name="pingFrequency" isParam="true">214748364</attribute>
- <attribute name="pingWindowFactor" isParam="true">10</attribute>
- <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
- <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
- <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
- <attribute name="numberOfRetries" isParam="true">10</attribute>
- <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
- <attribute name="callbackTimeout">10000</attribute>
- </invoker>
- <handlers>
- <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
- </handlers>
- </config>
- ]]></attribute>
- </delegate-config>
- <binding port="4557"/>
- </service-config>
-
- </server>
-
-
- <!-- ********************************************************** -->
- <!-- * ports-02 * -->
- <!-- ********************************************************** -->
- <server name="ports-02">
-
- <!-- ********************* jboss-service.xml ****************** -->
-
- <service-config name="jboss:service=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" hostName="BindAddress">
- <attribute name="RmiPort">1298</attribute>
- </delegate-config>
- <binding port="1299" host="${jboss.bind.address}"/>
- </service-config>
-
-
- <service-config name="jboss:service=WebService"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="8283"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=jrmp"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4644"/>
- </service-config>
-
-
- <service-config name="jboss:service=invoker,type=pooled"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <!-- don't care for now -->
- <binding port="0"/>
- </service-config>
-
- <!-- ********************* cluster-service.xml **************** -->
-
- <service-config name="jboss:service=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="Port">
- <attribute name="RmiPort">1301</attribute>
- </delegate-config>
- <binding port="1300"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=jrmpha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RMIObjectPort"/>
- <binding port="4645"/>
- </service-config>
-
- <service-config name="jboss:service=invoker,type=pooledha"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="ServerBindPort"/>
- <binding port="4648"/>
- </service-config>
-
- <!-- ********************* iiop-service.xml ****************** -->
-
- <service-config name="jboss:service=CorbaORB"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="3728"/>
- </service-config>
-
-
- <!-- ********************* jmx-rmi-adaptor.sar **************** -->
-
- <service-config name="jboss.jmx:type=Connector,name=RMI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="RMIObjectPort"/>
- <binding port="19201"/>
- </service-config>
-
-
- <!-- ********************* snmp-adaptor.sar ****************** -->
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1362"/>
- </service-config>
-
- <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port"/>
- <binding port="1361"/>
- </service-config>
-
- <!-- ********************* jbossmq-service.xml **************** -->
-
- <!-- JMS related services -->
- <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8293"/>
- </service-config>
-
- <service-config name="jboss.mq:service=InvocationLayer,type=OIL"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="ServerBindPort"/>
- <binding port="8290"/>
- </service-config>
-
-
- <!-- ********************* jbossmq-httpil.sar **************** -->
- <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="URLPort"/>
- <binding port="8280"/>
- </service-config>
-
- <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
- <!-- EJBInvoker -->
- <service-config name="jboss:service=invoker,type=http"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8280"/>
- </service-config>
-
- <!-- JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8280"/>
- </service-config>
-
- <!-- readonly JMXInvoker -->
- <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
- </delegate-config>
- <!--
- MUST BE THE SAME AS
- TOMCAT HTTP CONNECTOR BELOW !!!
- -->
- <binding port="8280"/>
- </service-config>
-
- <!-- **************** httpha-invoker.sar*************** -->
- <!-- EJBInvokerHA -->
- <service-config name="jboss:service=invoker,type=httpHA"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8280"/>
- </service-config>
-
- <!-- JMXInvokerHA -->
- <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config>
- <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
- </delegate-config>
- <binding port="8280"/>
- </service-config>
-
-
- <!-- ********************* jbossws.sar **************** -->
-
- <!-- Web Service related services -->
- <service-config name="jboss.ws:service=ServiceEndpointManager"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="WebServicePort" hostName="WebServiceHost">
- <attribute name="WebServiceSecurePort">8643</attribute>
- </delegate-config>
- <binding port="8280" host="${jboss.bind.address}"/>
- </service-config>
-
- <!-- ********************* remoting **************** -->
-
- <service-config name="jboss.remoting:service=JMXConnectorServer,protocol=rmi"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config portName="RegistryPort" hostName="BindAddress"/>
- <binding port="1290" host="${jboss.bind.address}"/>
- </service-config>
-
- <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="InvokerLocator">socket://0.0.0.0:4073</attribute>
- </delegate-config>
- </service-config>
-
- <!-- *** remoting connector *** -->
- <service-config name="jboss.remoting:service=Connector,transport=socket"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
- <delegate-config>
- <xslt-config configName="Configuration"><![CDATA[
- <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="attribute[@name='serverBindPort']">
- <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="6446" />
- </service-config>
-
-
- <!-- ********************* hsqldb-ds.xml ********************** -->
-
- <!-- Hypersonic related services
-
- Only if using TCP setup (local file setup by default)
-
- <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
-<xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="host"/>
- <xsl:param name="port"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="config-property[@name='ConnectionURL']">
- <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-</xsl:stylesheet>
-]]>
- </xslt-config>
- </delegate-config>
- <binding host="localhost" port="1901" />
- </service-config>
-
- <service-config name="jboss:service=Hypersonic"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
- >
- <delegate-config portName="Port" />
- <binding port="1901" />
- </service-config>
-
- -->
-
- <!-- jbossweb-tomcat50.sar -->
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTFileDelegate"
- >
- <delegate-config>
- <xslt-config configName="ConfigFile"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8280"/>
- </service-config>
-
- <!-- ********************* jbossweb-tomcat.sar *****************
-
- <service-config name="jboss.web:service=WebServer"
- delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
- >
- <delegate-config>
- <xslt-config configName="Config"><![CDATA[
- <xsl:stylesheet
- xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
-
- <xsl:output method="xml" />
- <xsl:param name="port"/>
-
- <xsl:variable name="portAJP" select="$port - 71"/>
- <xsl:variable name="portHttps" select="$port + 363"/>
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match = "Connector">
- <Connector>
- <xsl:for-each select="@*">
- <xsl:choose>
- <xsl:when test="(name() = 'port' and . = '8080')">
- <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8009')">
- <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'redirectPort')">
- <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:when test="(name() = 'port' and . = '8443')">
- <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:apply-templates/>
- </Connector>
- </xsl:template>
-
- <xsl:template match="*|@*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
- ]]>
- </xslt-config>
- </delegate-config>
- <binding port="8280" />
- </service-config>
- -->
-
- <!-- ********************* jboss messaging ********************** -->
-
- <service-config name="jboss.messaging:service=Connector,transport=bisocket"
- delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
- <delegate-config>
- <attribute name="Configuration"><![CDATA[
- <config>
- <invoker transport="bisocket">
- <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
- <attribute name="dataType" isParam="true">jms</attribute>
- <attribute name="socket.check_connection" isParam="true">false</attribute>
- <attribute name="timeout" isParam="true">0</attribute>
- <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
- <attribute name="serverBindPort">4657</attribute>
- <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
- <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
- <attribute name="numberOfCallRetries" isParam="true">1</attribute>
- <attribute name="pingFrequency" isParam="true">214748364</attribute>
- <attribute name="pingWindowFactor" isParam="true">10</attribute>
- <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
- <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
- <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
- <attribute name="numberOfRetries" isParam="true">10</attribute>
- <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
- <attribute name="callbackTimeout">10000</attribute>
- </invoker>
- <handlers>
- <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
- </handlers>
- </config>
- ]]></attribute>
- </delegate-config>
- <binding port="4657"/>
- </service-config>
-
- </server>
-
-</service-bindings>
Deleted: trunk/varia/src/resources/services/binding/services-binding.dtd
===================================================================
--- trunk/varia/src/resources/services/binding/services-binding.dtd 2008-08-13 19:48:26 UTC (rev 77030)
+++ trunk/varia/src/resources/services/binding/services-binding.dtd 2008-08-13 19:52:24 UTC (rev 77031)
@@ -1,43 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' ?>
-
-<!-- The service binding configuration file DTD read by the
-org.jboss.services.binding.XMLServicesStore class.
--->
-<!-- The service-bindings element is the root of the configuration document. It
-contains one or more server elements.
--->
-<!ELEMENT service-bindings (server+)>
-
-<!-- The server element specifies a collection of service configurations for a
-given server instance.
--->
-<!ELEMENT server (service-config+)>
-
-<!-- The name attribute gives the unique server name.
--->
-<!ATTLIST server name CDATA #REQUIRED>
-
-<!-- The service-config element specifies one or more mbean service
-host,port bindings.
--->
-<!ELEMENT service-config (delegate-config? , binding+)>
-
-<!ATTLIST service-config name CDATA #REQUIRED
- delegateClass CDATA "org.jboss.services.binding.AttributeMappingDelegate" >
-
-<!-- A binding element defines a hostname and port to use for a service
--->
-<!ELEMENT binding EMPTY>
-
-<!ATTLIST binding name CDATA #IMPLIED
- host CDATA #IMPLIED
- port CDATA "0" >
-
-<!-- A delegate-config element contains an arbitrary XML fragment that is
-used by the class specified via the delegateClass attribute of the
-service-config element.
--->
-<!ELEMENT delegate-config ANY>
-
-<!ATTLIST delegate-config hostName CDATA #IMPLIED
- portName CDATA #IMPLIED >
More information about the jboss-cvs-commits
mailing list