Advertisement
Guest User

jboss

a guest
Jul 27th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 64.94 KB | None | 0 0
  1. <!--
  2.    $Id: sample-bindings.xml 75719 2008-07-11 20:16:03Z clebert.suconic@jboss.com $
  3.  
  4.    A sample configuration for the binding service which defines different
  5.    port configurations (ports-default, ports-01, ports-02) for running multiple
  6.    JBoss instances in parallel on the same machine.
  7.  
  8.    The actual port configuration can be selected within the jboss-service.xml
  9.    file via ServiceBindingManager attribute ServerName.
  10.  
  11.    The following sample e.g. selects the jboss-default port configuration
  12.  
  13.    <mbean code="org.jboss.services.binding.ServiceBindingManager"
  14.           name="jboss.system:service=ServiceBindingManager">
  15.       <attribute name="ServerName">ports-default</attribute>
  16.       <attribute name="StoreURL">file:../server/port-bindings.xml</attribute>
  17.       <attribute name="StoreFactoryClassName">
  18.          org.jboss.services.binding.XMLServicesStoreFactory
  19.       </attribute>
  20.    </mbean>
  21.  
  22.    For running a second server instance you have to change the port
  23.    bindings of that instance by specifing an alternative port binding
  24.    configuration in the jboss-service.xml of the second server, e.g.
  25.  
  26.    <attribute name="ServerName">ports-01</attribute>
  27.  
  28.    Additional documentation for running multiple JBoss instances on the
  29.    same machine can be found at http://www.jboss.com/products/jbossas/docs
  30.    in the offical JBoss Application Server Guide in chapter
  31.    "MBean Service Miscellany - Services Binding Management"
  32. -->
  33. <service-bindings>
  34.  
  35.    <!-- ********************************************************** -->
  36.    <!-- *                        1_LIMS                          * -->
  37.    <!-- ********************************************************** -->
  38.    <server name="1_LIMS">
  39.  
  40.       <!-- ********************* jboss-service.xml ****************** -->
  41.  
  42.       <service-config name="jboss:service=Naming"
  43.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  44.          >
  45.          <delegate-config portName="Port" hostName="BindAddress">
  46.             <attribute name="RmiPort">1098</attribute>
  47.          </delegate-config>
  48.          <binding port="1099" host="${jboss.bind.address}"/>
  49.       </service-config>
  50.  
  51.  
  52.       <service-config name="jboss:service=WebService"
  53.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  54.          >
  55.          <delegate-config portName="Port"/>
  56.          <binding port="8081"/>
  57.       </service-config>
  58.  
  59.  
  60.       <service-config name="jboss:service=invoker,type=jrmp"
  61.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  62.          >
  63.          <delegate-config portName="RMIObjectPort"/>
  64.          <binding port="4444"/>
  65.       </service-config>
  66.  
  67.       <service-config name="jboss:service=invoker,type=pooled"
  68.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  69.          >
  70.          <delegate-config portName="ServerBindPort"/>
  71.          <binding port="4445"/>
  72.       </service-config>
  73.  
  74.  
  75.       <!-- ********************* cluster-service.xml **************** -->
  76.  
  77.       <service-config name="jboss:service=HAJNDI"
  78.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  79.          <delegate-config portName="Port" hostName="BindAddress">
  80.             <attribute name="RmiPort">1101</attribute>
  81.          </delegate-config>
  82.          <binding port="1100" host="${jboss.bind.address}"/>
  83.       </service-config>
  84.  
  85.       <service-config name="jboss:service=invoker,type=jrmpha"
  86.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  87.          <delegate-config portName="RMIObjectPort"/>
  88.          <binding port="4444"/>
  89.       </service-config>
  90.  
  91.       <service-config name="jboss:service=invoker,type=pooledha"
  92.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  93.          <delegate-config portName="ServerBindPort"/>
  94.          <binding port="4448"/>
  95.       </service-config>
  96.  
  97.       <!-- ********************* iiop-service.xml ****************** -->
  98.  
  99.       <service-config name="jboss:service=CorbaORB"
  100.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  101.          >
  102.          <delegate-config portName="Port"/>
  103.          <binding port="3528"/>
  104.       </service-config>
  105.  
  106.  
  107.       <!-- ********************* jmx-rmi-adaptor.sar **************** -->
  108.  
  109.       <service-config name="jboss.jmx:type=Connector,name=RMI"
  110.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  111.          >
  112.          <delegate-config portName="RMIObjectPort"/>
  113.          <binding port="19001"/>
  114.       </service-config>
  115.  
  116.  
  117.       <!-- ********************* snmp-adaptor.sar ****************** -->
  118.  
  119.       <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
  120.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  121.          >
  122.          <delegate-config portName="Port"/>
  123.          <binding port="1162"/>
  124.       </service-config>
  125.  
  126.       <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
  127.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  128.          >
  129.          <delegate-config portName="Port"/>
  130.          <binding port="1161"/>
  131.       </service-config>
  132.  
  133.  
  134.       <!-- ********************* jbossmq-service.xml **************** -->
  135.  
  136.       <!-- JMS related services -->
  137.       <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
  138.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  139.          >
  140.          <delegate-config portName="ServerBindPort"/>
  141.          <binding port="8093"/>
  142.       </service-config>
  143.  
  144.  
  145.       <!-- ********************* jbossmq-httpil.sar **************** -->
  146.       <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
  147.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  148.          >
  149.          <delegate-config portName="URLPort"/>
  150.          <binding port="8181"/>
  151.       </service-config>
  152.  
  153.       <!-- ********************* hajndi-jms-ds.xml **************** -->
  154.  
  155.       <!-- The JMS provider loader -->
  156.       <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
  157.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  158.          <!--
  159.               MAKE SURE java.naming.provider.url
  160.               PORT IS SAME AS HA-JNDI ABOVE !!!
  161.          -->
  162.          <delegate-config>
  163.             <attribute name="Properties"><![CDATA[
  164.                 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  165.                 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  166.                 java.naming.provider.url=${jboss.bind.address:localhost}:1100
  167.                 jnp.disableDiscovery=false
  168.                 jnp.partitionName=${jboss.partition.name:DefaultPartition}
  169.                 jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  170.                 jnp.discoveryPort=1102
  171.                 jnp.discoveryTTL=16
  172.                 jnp.discoveryTimeout=5000
  173.                 jnp.maxRetries=1
  174.            ]]>
  175.            </attribute>
  176.         </delegate-config>
  177.         <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
  178.             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
  179.        <binding port="1100"/>
  180.      </service-config>
  181.  
  182.      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
  183.      <!-- EJBInvoker -->
  184.      <service-config name="jboss:service=invoker,type=http"
  185.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  186.         >
  187.         <delegate-config>
  188.            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
  189.        </delegate-config>
  190.         <!--
  191.            MUST BE THE SAME AS
  192.            TOMCAT HTTP CONNECTOR BELOW !!!
  193.             -->
  194.         <binding port="8181"/>
  195.      </service-config>
  196.  
  197.      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
  198.  
  199.      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
  200.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  201.        <delegate-config>
  202.           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
  203.        </delegate-config>
  204.         <binding port="3873"/>
  205.      </service-config>
  206.  
  207.        <!-- JMXInvoker -->
  208.      <service-config name="jboss:service=invoker,type=http,target=Naming"
  209.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  210.         >
  211.         <delegate-config>
  212.            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
  213.        </delegate-config>
  214.         <!--
  215.            MUST BE THE SAME AS
  216.            TOMCAT HTTP CONNECTOR BELOW !!!
  217.             -->
  218.         <binding port="8181"/>
  219.      </service-config>
  220.  
  221.        <!-- readonly JMXInvoker -->
  222.      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
  223.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  224.         >
  225.         <delegate-config>
  226.            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
  227.        </delegate-config>
  228.         <!--
  229.            MUST BE THE SAME AS
  230.            TOMCAT HTTP CONNECTOR BELOW !!!
  231.             -->
  232.         <binding port="8181"/>
  233.      </service-config>
  234.  
  235.    <!-- **************** httpha-invoker.sar*************** -->
  236.      <!-- EJBInvokerHA -->
  237.      <service-config name="jboss:service=invoker,type=httpHA"
  238.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  239.         >
  240.         <delegate-config>
  241.            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
  242.        </delegate-config>
  243.         <binding port="8181"/>
  244.      </service-config>
  245.  
  246.      <!-- JMXInvokerHA -->
  247.      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
  248.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  249.         >
  250.         <delegate-config>
  251.            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
  252.        </delegate-config>
  253.         <binding port="8181"/>
  254.      </service-config>
  255.  
  256.  
  257.    <!-- ********************* jboss-ws4ee.sar **************** -->
  258.  
  259.      <!-- Web Service related services -->
  260.      <service-config name="jboss.ws4ee:service=AxisService"
  261.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  262.         >
  263.        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
  264.        <binding port="8181" host="${jboss.bind.address}"/>
  265.      </service-config>
  266.  
  267.      <!-- ********************* remoting **************** -->
  268.  
  269.       <!-- *** remoting connector *** -->
  270.       <service-config name="jboss.remoting:service=Connector,transport=socket"
  271.          delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
  272.          <delegate-config>
  273.             <xslt-config configName="Configuration"><![CDATA[
  274.               <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  275.  
  276.                  <xsl:output method="xml" />
  277.                  <xsl:param name="port"/>
  278.  
  279.                  <xsl:template match="/">
  280.                     <xsl:apply-templates/>
  281.                  </xsl:template>
  282.  
  283.                  <xsl:template match="attribute[@name='serverBindPort']">
  284.                     <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
  285.                  </xsl:template>
  286.  
  287.                  <xsl:template match="*|@*">
  288.                     <xsl:copy>
  289.                        <xsl:apply-templates select="@*|node()"/>
  290.                     </xsl:copy>
  291.                  </xsl:template>
  292.               </xsl:stylesheet>
  293.          ]]>
  294.          </xslt-config>
  295.          </delegate-config>
  296.          <binding port="4446" />
  297.       </service-config>
  298.  
  299.  
  300.      <!-- ********************* hsqldb-ds.xml ********************** -->
  301.  
  302.      <!-- Hypersonic related services when using the tcp/ip access
  303.      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
  304.         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
  305.      >
  306.         <delegate-config>
  307.         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
  308. <xsl:stylesheet
  309.      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  310.  
  311.  <xsl:output method="xml" />
  312.  <xsl:param name="host"/>
  313.  <xsl:param name="port"/>
  314.  
  315.  <xsl:template match="/">
  316.    <xsl:apply-templates/>
  317.  </xsl:template>
  318.  
  319.  <xsl:template match="config-property[@name='ConnectionURL']">
  320.    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
  321.  </xsl:template>
  322.  
  323.  <xsl:template match="*|@*">
  324.    <xsl:copy>
  325.      <xsl:apply-templates select="@*|node()"/>
  326.    </xsl:copy>
  327.  </xsl:template>
  328. </xsl:stylesheet>
  329. ]]>
  330.         </xslt-config>
  331.         </delegate-config>
  332.         <binding host="localhost" port="1701" />
  333.      </service-config>
  334.  
  335.      <service-config name="jboss:service=Hypersonic"
  336.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  337.      >
  338.         <delegate-config portName="Port" />
  339.         <binding port="1701" />
  340.      </service-config>
  341.      -->
  342.  
  343.  
  344.      <!-- ********************* tomcat ********************** -->
  345.  
  346.      <service-config name="jboss.web:service=WebServer"
  347.         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
  348.         >
  349.         <delegate-config>
  350.            <xslt-config configName="ConfigFile"><![CDATA[
  351.   <xsl:stylesheet
  352.         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  353.  
  354.     <xsl:output method="xml" />
  355.     <xsl:param name="port"/>
  356.  
  357.     <xsl:variable name="portAJP" select="$port - 71"/>
  358.     <xsl:variable name="portHttps" select="$port + 363"/>
  359.  
  360.     <xsl:template match="/">
  361.       <xsl:apply-templates/>
  362.     </xsl:template>
  363.  
  364.      <xsl:template match = "Connector">
  365.         <Connector>
  366.            <xsl:for-each select="@*">
  367.            <xsl:choose>
  368.               <xsl:when test="(name() = 'port' and . = '8181')">
  369.                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
  370.               </xsl:when>
  371.               <xsl:when test="(name() = 'port' and . = '8009')">
  372.                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
  373.               </xsl:when>
  374.               <xsl:when test="(name() = 'redirectPort')">
  375.                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
  376.               </xsl:when>
  377.               <xsl:when test="(name() = 'port' and . = '8443')">
  378.                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
  379.               </xsl:when>
  380.               <xsl:otherwise>
  381.                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
  382.               </xsl:otherwise>
  383.            </xsl:choose>
  384.            </xsl:for-each>
  385.            <xsl:apply-templates/>
  386.         </Connector>
  387.      </xsl:template>
  388.  
  389.     <xsl:template match="*|@*">
  390.       <xsl:copy>
  391.         <xsl:apply-templates select="@*|node()"/>
  392.       </xsl:copy>
  393.     </xsl:template>
  394.   </xsl:stylesheet>
  395.   ]]>
  396.            </xslt-config>
  397.         </delegate-config>
  398.         <binding port="8181"/>
  399.      </service-config>
  400.  
  401.      <!-- ********************* jboss messaging ********************** -->
  402.  
  403.      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
  404.                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  405.         <delegate-config>
  406.            <attribute name="Configuration"><![CDATA[
  407.         <config>
  408.            <invoker transport="bisocket">
  409.               <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  410.               <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  411.               <attribute name="dataType" isParam="true">jms</attribute>
  412.               <attribute name="socket.check_connection" isParam="true">false</attribute>              
  413.               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  414.               <attribute name="serverBindPort">4457</attribute>
  415.               <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
  416.               <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
  417.               <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  418.               <attribute name="pingFrequency" isParam="true">214748364</attribute>
  419.               <attribute name="pingWindowFactor" isParam="true">10</attribute>
  420.               <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  421.               <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
  422.               <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  423.               <attribute name="timeout" isParam="true">0</attribute>
  424.               <attribute name="numberOfRetries" isParam="true">10</attribute>
  425.               <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
  426.               <attribute name="callbackTimeout">10000</attribute>
  427.            </invoker>
  428.            <handlers>
  429.               <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  430.            </handlers>
  431.         </config>
  432.        ]]></attribute>
  433.         </delegate-config>
  434.         <binding port="4457"/>
  435.      </service-config>
  436.  
  437.  
  438.   </server>
  439.  
  440.   <!-- ********************************************************** -->
  441.   <!-- *                          ports-01                      * -->
  442.   <!-- ********************************************************** -->
  443.   <server name="ports-01">
  444.  
  445.      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
  446.  
  447.      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
  448.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  449.        <delegate-config>
  450.           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3973</attribute>
  451.        </delegate-config>
  452.         <binding port="3973"/>
  453.      </service-config>
  454.  
  455.      <!-- ********************* jboss-service.xml ****************** -->
  456.  
  457.      <service-config name="jboss:service=Naming"
  458.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  459.         >
  460.         <delegate-config portName="Port" hostName="BindAddress">
  461.            <attribute name="RmiPort">1198</attribute>
  462.         </delegate-config>
  463.         <binding port="1199" host="${jboss.bind.address}"/>
  464.      </service-config>
  465.  
  466.  
  467.      <service-config name="jboss:service=WebService"
  468.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  469.         >
  470.         <delegate-config portName="Port"/>
  471.         <binding port="8183"/>
  472.      </service-config>
  473.  
  474.  
  475.      <service-config name="jboss:service=invoker,type=jrmp"
  476.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  477.         >
  478.         <delegate-config portName="RMIObjectPort"/>
  479.         <binding port="4544"/>
  480.      </service-config>
  481.  
  482.  
  483.      <service-config name="jboss:service=invoker,type=pooled"
  484.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  485.         >
  486.         <delegate-config portName="ServerBindPort"/>
  487.         <binding port="4545"/>
  488.      </service-config>
  489.  
  490.  
  491.      <!-- ********************* cluster-service.xml **************** -->
  492.  
  493.      <service-config name="jboss:service=HAJNDI"
  494.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  495.         <delegate-config portName="Port" hostName="BindAddress">
  496.            <attribute name="RmiPort">1201</attribute>
  497.         </delegate-config>
  498.         <binding port="1200" host="${jboss.bind.address}"/>
  499.      </service-config>
  500.  
  501.      <service-config name="jboss:service=invoker,type=jrmpha"
  502.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  503.         <delegate-config portName="RMIObjectPort"/>
  504.         <binding port="4544"/>
  505.      </service-config>
  506.  
  507.      <service-config name="jboss:service=invoker,type=pooledha"
  508.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  509.         <delegate-config portName="ServerBindPort"/>
  510.         <binding port="4548"/>
  511.      </service-config>
  512.  
  513.      <!-- ********************* iiop-service.xml ****************** -->
  514.  
  515.      <service-config name="jboss:service=CorbaORB"
  516.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  517.         >
  518.         <delegate-config portName="Port"/>
  519.         <binding port="3628"/>
  520.      </service-config>
  521.  
  522.  
  523.      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
  524.  
  525.      <service-config name="jboss.jmx:type=Connector,name=RMI"
  526.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  527.         >
  528.         <delegate-config portName="RMIObjectPort"/>
  529.         <binding port="19101"/>
  530.      </service-config>
  531.  
  532.  
  533.      <!-- ********************* snmp-adaptor.sar ****************** -->
  534.  
  535.      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
  536.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  537.         >
  538.         <delegate-config portName="Port"/>
  539.         <binding port="1262"/>
  540.      </service-config>
  541.  
  542.      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
  543.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  544.         >
  545.         <delegate-config portName="Port"/>
  546.         <binding port="1261"/>
  547.      </service-config>
  548.  
  549.  
  550.      <!-- ********************* jbossmq-service.xml **************** -->
  551.  
  552.      <!-- JMS related services -->
  553.      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
  554.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  555.         >
  556.         <delegate-config portName="ServerBindPort"/>
  557.         <binding port="8193"/>
  558.      </service-config>
  559.  
  560.  
  561.      <!-- ********************* jbossmq-httpil.sar **************** -->
  562.      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
  563.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  564.         >
  565.         <delegate-config portName="URLPort"/>
  566.         <binding port="8180"/>
  567.      </service-config>
  568.  
  569.      <!-- ********************* hajndi-jms-ds.xml **************** -->
  570.  
  571.      <!-- The JMS provider loader -->
  572.      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
  573.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  574.         <!--
  575.              MAKE SURE java.naming.provider.url
  576.              PORT IS SAME AS HA-JNDI ABOVE !!!
  577.         -->
  578.         <delegate-config>
  579.            <attribute name="Properties"><![CDATA[
  580.                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  581.                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  582.                java.naming.provider.url=${jboss.bind.address:localhost}:1200
  583.                jnp.disableDiscovery=false
  584.                jnp.partitionName=${jboss.partition.name:DefaultPartition}
  585.                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  586.                jnp.discoveryPort=1102
  587.                jnp.discoveryTTL=16
  588.                jnp.discoveryTimeout=5000
  589.                jnp.maxRetries=1
  590.           ]]>
  591.           </attribute>
  592.        </delegate-config>
  593.        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
  594.              BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
  595.         <binding port="1200"/>
  596.       </service-config>
  597.  
  598.       <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
  599.       <!-- EJBInvoker -->
  600.       <service-config name="jboss:service=invoker,type=http"
  601.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  602.          >
  603.          <delegate-config>
  604.             <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
  605.         </delegate-config>
  606.          <!--
  607.             MUST BE THE SAME AS
  608.             TOMCAT HTTP CONNECTOR BELOW !!!
  609.              -->
  610.          <binding port="8180"/>
  611.       </service-config>
  612.  
  613.         <!-- JMXInvoker -->
  614.       <service-config name="jboss:service=invoker,type=http,target=Naming"
  615.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  616.          >
  617.          <delegate-config>
  618.             <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
  619.         </delegate-config>
  620.          <!--
  621.             MUST BE THE SAME AS
  622.             TOMCAT HTTP CONNECTOR BELOW !!!
  623.              -->
  624.          <binding port="8180"/>
  625.       </service-config>
  626.  
  627.         <!-- readonly JMXInvoker -->
  628.       <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
  629.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  630.          >
  631.          <delegate-config>
  632.             <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
  633.         </delegate-config>
  634.          <!--
  635.             MUST BE THE SAME AS
  636.             TOMCAT HTTP CONNECTOR BELOW !!!
  637.              -->
  638.          <binding port="8180"/>
  639.       </service-config>
  640.  
  641.     <!-- **************** httpha-invoker.sar*************** -->
  642.       <!-- EJBInvokerHA -->
  643.       <service-config name="jboss:service=invoker,type=httpHA"
  644.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  645.          >
  646.          <delegate-config>
  647.             <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
  648.         </delegate-config>
  649.          <binding port="8180"/>
  650.       </service-config>
  651.  
  652.       <!-- JMXInvokerHA -->
  653.       <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
  654.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  655.          >
  656.          <delegate-config>
  657.             <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
  658.         </delegate-config>
  659.          <binding port="8180"/>
  660.       </service-config>
  661.  
  662.  
  663.  
  664.  
  665.       <!-- ********************* jboss-ws4ee.sar **************** -->
  666.  
  667.       <!-- Web Service related services -->
  668.       <service-config name="jboss.ws4ee:service=AxisService"
  669.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  670.          >
  671.         <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
  672.         <binding port="8180" host="${jboss.bind.address}"/>
  673.       </service-config>
  674.  
  675.       <!-- ********************* remoting **************** -->
  676.  
  677.        <!-- *** remoting connector *** -->
  678.        <service-config name="jboss.remoting:service=Connector,transport=socket"
  679.           delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
  680.           <delegate-config>
  681.              <xslt-config configName="Configuration"><![CDATA[
  682.                <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  683.  
  684.                   <xsl:output method="xml" />
  685.                   <xsl:param name="port"/>
  686.  
  687.                   <xsl:template match="/">
  688.                      <xsl:apply-templates/>
  689.                   </xsl:template>
  690.  
  691.                   <xsl:template match="attribute[@name='serverBindPort']">
  692.                      <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
  693.                   </xsl:template>
  694.  
  695.                   <xsl:template match="*|@*">
  696.                      <xsl:copy>
  697.                         <xsl:apply-templates select="@*|node()"/>
  698.                      </xsl:copy>
  699.                   </xsl:template>
  700.                </xsl:stylesheet>
  701.           ]]>
  702.           </xslt-config>
  703.           </delegate-config>
  704.           <binding port="5446" />
  705.        </service-config>
  706.  
  707.       <!-- ********************* hsqldb-ds.xml ********************** -->
  708.  
  709.       <!-- Hypersonic related services
  710.  
  711.             Only if using TCP setup (local file setup by default)
  712.  
  713.       <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
  714.          delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
  715.       >
  716.          <delegate-config>
  717.          <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
  718. <xsl:stylesheet
  719.       xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  720.  
  721.   <xsl:output method="xml" />
  722.   <xsl:param name="host"/>
  723.   <xsl:param name="port"/>
  724.  
  725.   <xsl:template match="/">
  726.     <xsl:apply-templates/>
  727.   </xsl:template>
  728.  
  729.   <xsl:template match="config-property[@name='ConnectionURL']">
  730.     <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
  731.   </xsl:template>
  732.  
  733.   <xsl:template match="*|@*">
  734.     <xsl:copy>
  735.       <xsl:apply-templates select="@*|node()"/>
  736.     </xsl:copy>
  737.   </xsl:template>
  738. </xsl:stylesheet>
  739. ]]>
  740.          </xslt-config>
  741.          </delegate-config>
  742.          <binding host="localhost" port="1801" />
  743.       </service-config>
  744.  
  745.       <service-config name="jboss:service=Hypersonic"
  746.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  747.       >
  748.          <delegate-config portName="Port" />
  749.          <binding port="1801" />
  750.       </service-config>
  751.  
  752.       -->
  753.  
  754.  
  755.       <!-- ********************* tomcat ********************** -->
  756.  
  757.       <service-config name="jboss.web:service=WebServer"
  758.          delegateClass="org.jboss.services.binding.XSLTFileDelegate"
  759.          >
  760.          <delegate-config>
  761.             <xslt-config configName="ConfigFile"><![CDATA[
  762.    <xsl:stylesheet
  763.          xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  764.  
  765.      <xsl:output method="xml" />
  766.      <xsl:param name="port"/>
  767.  
  768.      <xsl:variable name="portAJP" select="$port - 71"/>
  769.      <xsl:variable name="portHttps" select="$port + 363"/>
  770.  
  771.      <xsl:template match="/">
  772.        <xsl:apply-templates/>
  773.      </xsl:template>
  774.  
  775.       <xsl:template match = "Connector">
  776.          <Connector>
  777.             <xsl:for-each select="@*">
  778.             <xsl:choose>
  779.                <xsl:when test="(name() = 'port' and . = '8181')">
  780.                   <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
  781.                </xsl:when>
  782.                <xsl:when test="(name() = 'port' and . = '8009')">
  783.                   <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
  784.                </xsl:when>
  785.                <xsl:when test="(name() = 'redirectPort')">
  786.                   <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
  787.                </xsl:when>
  788.                <xsl:when test="(name() = 'port' and . = '8443')">
  789.                   <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
  790.                </xsl:when>
  791.                <xsl:otherwise>
  792.                   <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
  793.                </xsl:otherwise>
  794.             </xsl:choose>
  795.             </xsl:for-each>
  796.             <xsl:apply-templates/>
  797.          </Connector>
  798.       </xsl:template>
  799.  
  800.      <xsl:template match="*|@*">
  801.        <xsl:copy>
  802.          <xsl:apply-templates select="@*|node()"/>
  803.        </xsl:copy>
  804.      </xsl:template>
  805.    </xsl:stylesheet>
  806.    ]]>
  807.             </xslt-config>
  808.          </delegate-config>
  809.          <binding port="8180"/>
  810.       </service-config>
  811.  
  812.       <!-- ********************* jboss messaging ********************** -->
  813.  
  814.       <service-config name="jboss.messaging:service=Connector,transport=bisocket"
  815.                       delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  816.          <delegate-config>
  817.             <attribute name="Configuration"><![CDATA[
  818.          <config>
  819.             <invoker transport="bisocket">
  820.                <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  821.                <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  822.                <attribute name="dataType" isParam="true">jms</attribute>
  823.                <attribute name="socket.check_connection" isParam="true">false</attribute>
  824.                <attribute name="timeout" isParam="true">0</attribute>
  825.                <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  826.                <attribute name="serverBindPort">4557</attribute>
  827.               <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
  828.                <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
  829.                <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  830.                <attribute name="pingFrequency" isParam="true">214748364</attribute>
  831.                <attribute name="pingWindowFactor" isParam="true">10</attribute>
  832.                <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  833.                <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
  834.                <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  835.                <attribute name="timeout" isParam="true">0</attribute>
  836.                <attribute name="numberOfRetries" isParam="true">10</attribute>
  837.                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
  838.                <attribute name="callbackTimeout">10000</attribute>
  839.             </invoker>
  840.             <handlers>
  841.                <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  842.             </handlers>
  843.          </config>
  844.          ]]></attribute>
  845.          </delegate-config>
  846.          <binding port="4557"/>
  847.       </service-config>
  848.  
  849.  
  850.    </server>
  851.  
  852.    <!-- ********************************************************** -->
  853.    <!-- *                          ports-02                      * -->
  854.    <!-- ********************************************************** -->
  855.    <server name="ports-02">
  856.  
  857.       <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
  858.  
  859.       <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
  860.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  861.         <delegate-config>
  862.            <attribute name="InvokerLocator">socket://${jboss.bind.address}:4073</attribute>
  863.         </delegate-config>
  864.          <binding port="4073"/>
  865.       </service-config>
  866.  
  867.       <!-- ********************* jboss-service.xml ****************** -->
  868.  
  869.       <service-config name="jboss:service=Naming"
  870.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  871.          >
  872.          <delegate-config portName="Port" hostName="BindAddress">
  873.             <attribute name="RmiPort">1298</attribute>
  874.          </delegate-config>
  875.          <binding port="1299" host="${jboss.bind.address}"/>
  876.       </service-config>
  877.  
  878.  
  879.       <service-config name="jboss:service=WebService"
  880.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  881.          >
  882.          <delegate-config portName="Port"/>
  883.          <binding port="8283"/>
  884.       </service-config>
  885.  
  886.  
  887.       <service-config name="jboss:service=invoker,type=jrmp"
  888.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  889.          >
  890.          <delegate-config portName="RMIObjectPort"/>
  891.          <binding port="4644"/>
  892.       </service-config>
  893.  
  894.  
  895.       <service-config name="jboss:service=invoker,type=pooled"
  896.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  897.          >
  898.          <delegate-config portName="ServerBindPort"/>
  899.          <binding port="4645"/>
  900.       </service-config>
  901.  
  902.  
  903.       <!-- ********************* cluster-service.xml **************** -->
  904.  
  905.       <service-config name="jboss:service=HAJNDI"
  906.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  907.          <delegate-config portName="Port" hostName="BindAddress">
  908.             <attribute name="RmiPort">1301</attribute>
  909.          </delegate-config>
  910.          <binding port="1300" host="${jboss.bind.address}"/>
  911.       </service-config>
  912.  
  913.       <service-config name="jboss:service=invoker,type=jrmpha"
  914.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  915.          <delegate-config portName="RMIObjectPort"/>
  916.          <binding port="4644"/>
  917.       </service-config>
  918.  
  919.       <service-config name="jboss:service=invoker,type=pooledha"
  920.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  921.          <delegate-config portName="ServerBindPort"/>
  922.          <binding port="4648"/>
  923.       </service-config>
  924.  
  925.       <!-- ********************* iiop-service.xml ****************** -->
  926.  
  927.       <service-config name="jboss:service=CorbaORB"
  928.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  929.          >
  930.          <delegate-config portName="Port"/>
  931.          <binding port="3728"/>
  932.       </service-config>
  933.  
  934.  
  935.       <!-- ********************* jmx-rmi-adaptor.sar **************** -->
  936.  
  937.       <service-config name="jboss.jmx:type=Connector,name=RMI"
  938.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  939.          >
  940.          <delegate-config portName="RMIObjectPort"/>
  941.          <binding port="19201"/>
  942.       </service-config>
  943.  
  944.  
  945.       <!-- ********************* snmp-adaptor.sar ****************** -->
  946.  
  947.       <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
  948.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  949.          >
  950.          <delegate-config portName="Port"/>
  951.          <binding port="1362"/>
  952.       </service-config>
  953.  
  954.       <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
  955.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  956.          >
  957.          <delegate-config portName="Port"/>
  958.          <binding port="1361"/>
  959.       </service-config>
  960.  
  961.  
  962.       <!-- ********************* jbossmq-service.xml **************** -->
  963.  
  964.       <!-- JMS related services -->
  965.       <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
  966.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  967.          >
  968.          <delegate-config portName="ServerBindPort"/>
  969.          <binding port="8293"/>
  970.       </service-config>
  971.  
  972.  
  973.       <!-- ********************* jbossmq-httpil.sar **************** -->
  974.       <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
  975.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  976.          >
  977.          <delegate-config portName="URLPort"/>
  978.          <binding port="8280"/>
  979.       </service-config>
  980.  
  981.       <!-- ********************* hajndi-jms-ds.xml **************** -->
  982.  
  983.       <!-- The JMS provider loader -->
  984.       <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
  985.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  986.          <!--
  987.               MAKE SURE java.naming.provider.url
  988.               PORT IS SAME AS HA-JNDI ABOVE !!!
  989.          -->
  990.          <delegate-config>
  991.             <attribute name="Properties"><![CDATA[
  992.                 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  993.                 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  994.                 java.naming.provider.url=${jboss.bind.address:localhost}:1300
  995.                 jnp.disableDiscovery=false
  996.                 jnp.partitionName=${jboss.partition.name:DefaultPartition}
  997.                 jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  998.                 jnp.discoveryPort=1102
  999.                 jnp.discoveryTTL=16
  1000.                 jnp.discoveryTimeout=5000
  1001.                 jnp.maxRetries=1
  1002.            ]]>
  1003.            </attribute>
  1004.         </delegate-config>
  1005.         <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
  1006.             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
  1007.        <binding port="1300"/>
  1008.      </service-config>
  1009.  
  1010.      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
  1011.      <!-- EJBInvoker -->
  1012.      <service-config name="jboss:service=invoker,type=http"
  1013.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1014.         >
  1015.         <delegate-config>
  1016.            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
  1017.        </delegate-config>
  1018.         <!--
  1019.            MUST BE THE SAME AS
  1020.            TOMCAT HTTP CONNECTOR BELOW !!!
  1021.             -->
  1022.         <binding port="8280"/>
  1023.      </service-config>
  1024.  
  1025.        <!-- JMXInvoker -->
  1026.      <service-config name="jboss:service=invoker,type=http,target=Naming"
  1027.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1028.         >
  1029.         <delegate-config>
  1030.            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
  1031.        </delegate-config>
  1032.         <!--
  1033.            MUST BE THE SAME AS
  1034.            TOMCAT HTTP CONNECTOR BELOW !!!
  1035.             -->
  1036.         <binding port="8280"/>
  1037.      </service-config>
  1038.  
  1039.        <!-- readonly JMXInvoker -->
  1040.      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
  1041.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1042.         >
  1043.         <delegate-config>
  1044.            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
  1045.        </delegate-config>
  1046.         <!--
  1047.            MUST BE THE SAME AS
  1048.            TOMCAT HTTP CONNECTOR BELOW !!!
  1049.             -->
  1050.         <binding port="8280"/>
  1051.      </service-config>
  1052.  
  1053.    <!-- **************** httpha-invoker.sar*************** -->
  1054.      <!-- EJBInvokerHA -->
  1055.      <service-config name="jboss:service=invoker,type=httpHA"
  1056.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1057.         >
  1058.         <delegate-config>
  1059.            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
  1060.        </delegate-config>
  1061.         <binding port="8280"/>
  1062.      </service-config>
  1063.  
  1064.      <!-- JMXInvokerHA -->
  1065.      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
  1066.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1067.         >
  1068.         <delegate-config>
  1069.            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
  1070.        </delegate-config>
  1071.         <binding port="8280"/>
  1072.      </service-config>
  1073.  
  1074.  
  1075.  
  1076.  
  1077.      <!-- ********************* jboss-ws4ee.sar **************** -->
  1078.  
  1079.      <!-- Web Service related services -->
  1080.      <service-config name="jboss.ws4ee:service=AxisService"
  1081.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1082.         >
  1083.        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
  1084.        <binding port="8280" host="${jboss.bind.address}"/>
  1085.      </service-config>
  1086.  
  1087.      <!-- ********************* remoting **************** -->
  1088.  
  1089.       <!-- *** remoting connector *** -->
  1090.       <service-config name="jboss.remoting:service=Connector,transport=socket"
  1091.          delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
  1092.          <delegate-config>
  1093.             <xslt-config configName="Configuration"><![CDATA[
  1094.               <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  1095.  
  1096.                  <xsl:output method="xml" />
  1097.                  <xsl:param name="port"/>
  1098.  
  1099.                  <xsl:template match="/">
  1100.                     <xsl:apply-templates/>
  1101.                  </xsl:template>
  1102.  
  1103.                  <xsl:template match="attribute[@name='serverBindPort']">
  1104.                     <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
  1105.                  </xsl:template>
  1106.  
  1107.                  <xsl:template match="*|@*">
  1108.                     <xsl:copy>
  1109.                        <xsl:apply-templates select="@*|node()"/>
  1110.                     </xsl:copy>
  1111.                  </xsl:template>
  1112.               </xsl:stylesheet>
  1113.          ]]>
  1114.          </xslt-config>
  1115.          </delegate-config>
  1116.          <binding port="6446" />
  1117.       </service-config>
  1118.  
  1119.  
  1120.      <!-- ********************* hsqldb-ds.xml ********************** -->
  1121.  
  1122.      <!-- Hypersonic related services
  1123.  
  1124.            Only if using TCP setup (local file setup by default)
  1125.  
  1126.      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
  1127.         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
  1128.      >
  1129.         <delegate-config>
  1130.         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
  1131. <xsl:stylesheet
  1132.      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  1133.  
  1134.  <xsl:output method="xml" />
  1135.  <xsl:param name="host"/>
  1136.  <xsl:param name="port"/>
  1137.  
  1138.  <xsl:template match="/">
  1139.    <xsl:apply-templates/>
  1140.  </xsl:template>
  1141.  
  1142.  <xsl:template match="config-property[@name='ConnectionURL']">
  1143.    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
  1144.  </xsl:template>
  1145.  
  1146.  <xsl:template match="*|@*">
  1147.    <xsl:copy>
  1148.      <xsl:apply-templates select="@*|node()"/>
  1149.    </xsl:copy>
  1150.  </xsl:template>
  1151. </xsl:stylesheet>
  1152. ]]>
  1153.         </xslt-config>
  1154.         </delegate-config>
  1155.         <binding host="localhost" port="1901" />
  1156.      </service-config>
  1157.  
  1158.      <service-config name="jboss:service=Hypersonic"
  1159.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1160.      >
  1161.         <delegate-config portName="Port" />
  1162.         <binding port="1901" />
  1163.      </service-config>
  1164.  
  1165.       -->
  1166.  
  1167.  
  1168.      <!-- ********************* tomcat ***************** -->
  1169.  
  1170.      <service-config name="jboss.web:service=WebServer"
  1171.         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
  1172.         >
  1173.         <delegate-config>
  1174.            <xslt-config configName="ConfigFile"><![CDATA[
  1175.   <xsl:stylesheet
  1176.         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  1177.  
  1178.     <xsl:output method="xml" />
  1179.     <xsl:param name="port"/>
  1180.  
  1181.     <xsl:variable name="portAJP" select="$port - 71"/>
  1182.     <xsl:variable name="portHttps" select="$port + 363"/>
  1183.  
  1184.     <xsl:template match="/">
  1185.       <xsl:apply-templates/>
  1186.     </xsl:template>
  1187.  
  1188.      <xsl:template match = "Connector">
  1189.         <Connector>
  1190.            <xsl:for-each select="@*">
  1191.            <xsl:choose>
  1192.               <xsl:when test="(name() = 'port' and . = '8181')">
  1193.                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
  1194.               </xsl:when>
  1195.               <xsl:when test="(name() = 'port' and . = '8009')">
  1196.                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
  1197.               </xsl:when>
  1198.               <xsl:when test="(name() = 'redirectPort')">
  1199.                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
  1200.               </xsl:when>
  1201.               <xsl:when test="(name() = 'port' and . = '8443')">
  1202.                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
  1203.               </xsl:when>
  1204.               <xsl:otherwise>
  1205.                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
  1206.               </xsl:otherwise>
  1207.            </xsl:choose>
  1208.            </xsl:for-each>
  1209.            <xsl:apply-templates/>
  1210.         </Connector>
  1211.      </xsl:template>
  1212.  
  1213.     <xsl:template match="*|@*">
  1214.       <xsl:copy>
  1215.         <xsl:apply-templates select="@*|node()"/>
  1216.       </xsl:copy>
  1217.     </xsl:template>
  1218.   </xsl:stylesheet>
  1219.   ]]>
  1220.            </xslt-config>
  1221.         </delegate-config>
  1222.         <binding port="8280"/>
  1223.      </service-config>
  1224.  
  1225.      <!-- ********************* jboss messaging ********************** -->
  1226.  
  1227.      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
  1228.                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1229.         <delegate-config>
  1230.            <attribute name="Configuration"><![CDATA[
  1231.         <config>
  1232.            <invoker transport="bisocket">
  1233.               <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  1234.               <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  1235.               <attribute name="dataType" isParam="true">jms</attribute>
  1236.               <attribute name="socket.check_connection" isParam="true">false</attribute>
  1237.               <attribute name="timeout" isParam="true">0</attribute>
  1238.               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  1239.               <attribute name="serverBindPort">4657</attribute>
  1240.               <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
  1241.               <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
  1242.               <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  1243.               <attribute name="pingFrequency" isParam="true">214748364</attribute>
  1244.               <attribute name="pingWindowFactor" isParam="true">10</attribute>
  1245.               <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  1246.               <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
  1247.               <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  1248.               <attribute name="timeout" isParam="true">0</attribute>
  1249.               <attribute name="numberOfRetries" isParam="true">10</attribute>
  1250.               <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
  1251.               <attribute name="callbackTimeout">10000</attribute>
  1252.            </invoker>
  1253.            <handlers>
  1254.               <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  1255.            </handlers>
  1256.         </config>
  1257.         ]]></attribute>
  1258.         </delegate-config>
  1259.         <binding port="4657"/>
  1260.      </service-config>
  1261.  
  1262.    </server>
  1263.  
  1264.   <!-- ********************************************************** -->
  1265.   <!-- *                          ports-03                      * -->
  1266.   <!-- ********************************************************** -->
  1267.   <server name="ports-03">
  1268.  
  1269.      <!-- ********************* jboss-service.xml ****************** -->
  1270.  
  1271.      <service-config name="jboss:service=Naming"
  1272.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1273.         >
  1274.         <delegate-config portName="Port" hostName="BindAddress">
  1275.            <attribute name="RmiPort">1398</attribute>
  1276.         </delegate-config>
  1277.         <binding port="1399" host="${jboss.bind.address}"/>
  1278.      </service-config>
  1279.  
  1280.  
  1281.      <service-config name="jboss:service=WebService"
  1282.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1283.         >
  1284.         <delegate-config portName="Port"/>
  1285.         <binding port="8383"/>
  1286.      </service-config>
  1287.  
  1288.  
  1289.      <service-config name="jboss:service=invoker,type=jrmp"
  1290.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1291.         >
  1292.         <delegate-config portName="RMIObjectPort"/>
  1293.         <binding port="4744"/>
  1294.      </service-config>
  1295.  
  1296.  
  1297.      <service-config name="jboss:service=invoker,type=pooled"
  1298.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1299.         >
  1300.         <delegate-config portName="ServerBindPort"/>
  1301.         <binding port="4745"/>
  1302.      </service-config>
  1303.  
  1304.  
  1305.      <!-- ********************* cluster-service.xml **************** -->
  1306.  
  1307.      <service-config name="jboss:service=HAJNDI"
  1308.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1309.         <delegate-config portName="Port" hostName="BindAddress">
  1310.            <attribute name="RmiPort">1401</attribute>
  1311.         </delegate-config>
  1312.         <binding port="1400" host="${jboss.bind.address}"/>
  1313.      </service-config>
  1314.  
  1315.      <service-config name="jboss:service=invoker,type=jrmpha"
  1316.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1317.         <delegate-config portName="RMIObjectPort"/>
  1318.         <binding port="4744"/>
  1319.      </service-config>
  1320.  
  1321.      <service-config name="jboss:service=invoker,type=pooledha"
  1322.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1323.         <delegate-config portName="ServerBindPort"/>
  1324.         <binding port="4748"/>
  1325.      </service-config>
  1326.  
  1327.      <!-- ********************* iiop-service.xml ****************** -->
  1328.  
  1329.      <service-config name="jboss:service=CorbaORB"
  1330.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1331.         >
  1332.         <delegate-config portName="Port"/>
  1333.         <binding port="3828"/>
  1334.      </service-config>
  1335.  
  1336.  
  1337.      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
  1338.  
  1339.      <service-config name="jboss.jmx:type=Connector,name=RMI"
  1340.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1341.         >
  1342.         <delegate-config portName="RMIObjectPort"/>
  1343.         <binding port="19301"/>
  1344.      </service-config>
  1345.  
  1346.  
  1347.      <!-- ********************* snmp-adaptor.sar ****************** -->
  1348.  
  1349.      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
  1350.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1351.         >
  1352.         <delegate-config portName="Port"/>
  1353.         <binding port="1462"/>
  1354.      </service-config>
  1355.  
  1356.      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
  1357.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1358.         >
  1359.         <delegate-config portName="Port"/>
  1360.         <binding port="1461"/>
  1361.      </service-config>
  1362.  
  1363.  
  1364.      <!-- ********************* jbossmq-service.xml **************** -->
  1365.  
  1366.      <!-- JMS related services -->
  1367.      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
  1368.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1369.         >
  1370.         <delegate-config portName="ServerBindPort"/>
  1371.         <binding port="8393"/>
  1372.      </service-config>
  1373.  
  1374.  
  1375.      <!-- ********************* jbossmq-httpil.sar **************** -->
  1376.      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
  1377.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1378.         >
  1379.         <delegate-config portName="URLPort"/>
  1380.         <binding port="8380"/>
  1381.      </service-config>
  1382.  
  1383.      <!-- ********************* hajndi-jms-ds.xml **************** -->
  1384.  
  1385.      <!-- The JMS provider loader -->
  1386.      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
  1387.         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1388.         <!--
  1389.              MAKE SURE java.naming.provider.url
  1390.              PORT IS SAME AS HA-JNDI ABOVE !!!
  1391.         -->
  1392.         <delegate-config>
  1393.            <attribute name="Properties"><![CDATA[
  1394.                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  1395.                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  1396.                java.naming.provider.url=${jboss.bind.address:localhost}:1400
  1397.                jnp.disableDiscovery=false
  1398.                jnp.partitionName=${jboss.partition.name:DefaultPartition}
  1399.                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  1400.                jnp.discoveryPort=1102
  1401.                jnp.discoveryTTL=16
  1402.                jnp.discoveryTimeout=5000
  1403.                jnp.maxRetries=1
  1404.           ]]>
  1405.           </attribute>
  1406.        </delegate-config>
  1407.        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
  1408.              BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
  1409.         <binding port="1400"/>
  1410.       </service-config>
  1411.  
  1412.       <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
  1413.       <!-- EJBInvoker -->
  1414.       <service-config name="jboss:service=invoker,type=http"
  1415.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1416.          >
  1417.          <delegate-config>
  1418.             <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
  1419.         </delegate-config>
  1420.          <!--
  1421.             MUST BE THE SAME AS
  1422.             TOMCAT HTTP CONNECTOR BELOW !!!
  1423.              -->
  1424.          <binding port="8380"/>
  1425.       </service-config>
  1426.  
  1427.         <!-- JMXInvoker -->
  1428.       <service-config name="jboss:service=invoker,type=http,target=Naming"
  1429.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1430.          >
  1431.          <delegate-config>
  1432.             <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
  1433.         </delegate-config>
  1434.          <!--
  1435.             MUST BE THE SAME AS
  1436.             TOMCAT HTTP CONNECTOR BELOW !!!
  1437.              -->
  1438.          <binding port="8380"/>
  1439.       </service-config>
  1440.  
  1441.         <!-- readonly JMXInvoker -->
  1442.       <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
  1443.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1444.          >
  1445.          <delegate-config>
  1446.             <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
  1447.         </delegate-config>
  1448.          <!--
  1449.             MUST BE THE SAME AS
  1450.             TOMCAT HTTP CONNECTOR BELOW !!!
  1451.              -->
  1452.          <binding port="8380"/>
  1453.       </service-config>
  1454.  
  1455.     <!-- **************** httpha-invoker.sar*************** -->
  1456.       <!-- EJBInvokerHA -->
  1457.       <service-config name="jboss:service=invoker,type=httpHA"
  1458.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1459.          >
  1460.          <delegate-config>
  1461.             <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
  1462.         </delegate-config>
  1463.          <binding port="8380"/>
  1464.       </service-config>
  1465.  
  1466.       <!-- JMXInvokerHA -->
  1467.       <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
  1468.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1469.          >
  1470.          <delegate-config>
  1471.             <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
  1472.         </delegate-config>
  1473.          <binding port="8380"/>
  1474.       </service-config>
  1475.  
  1476.  
  1477.  
  1478.  
  1479.       <!-- ********************* jboss-ws4ee.sar **************** -->
  1480.  
  1481.       <!-- Web Service related services -->
  1482.       <service-config name="jboss.ws4ee:service=AxisService"
  1483.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1484.          >
  1485.         <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
  1486.         <binding port="8380" host="${jboss.bind.address}"/>
  1487.       </service-config>
  1488.  
  1489.       <!-- ********************* hsqldb-ds.xml ********************** -->
  1490.  
  1491.       <!-- Hypersonic related services
  1492.  
  1493.             Only if using TCP setup (local file setup by default)
  1494.  
  1495.       <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
  1496.          delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
  1497.       >
  1498.          <delegate-config>
  1499.          <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
  1500. <xsl:stylesheet
  1501.       xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  1502.  
  1503.   <xsl:output method="xml" />
  1504.   <xsl:param name="host"/>
  1505.   <xsl:param name="port"/>
  1506.  
  1507.   <xsl:template match="/">
  1508.     <xsl:apply-templates/>
  1509.   </xsl:template>
  1510.  
  1511.   <xsl:template match="config-property[@name='ConnectionURL']">
  1512.     <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
  1513.   </xsl:template>
  1514.  
  1515.   <xsl:template match="*|@*">
  1516.     <xsl:copy>
  1517.       <xsl:apply-templates select="@*|node()"/>
  1518.     </xsl:copy>
  1519.   </xsl:template>
  1520. </xsl:stylesheet>
  1521. ]]>
  1522.          </xslt-config>
  1523.          </delegate-config>
  1524.          <binding host="localhost" port="1901" />
  1525.       </service-config>
  1526.  
  1527.       <service-config name="jboss:service=Hypersonic"
  1528.          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
  1529.       >
  1530.          <delegate-config portName="Port" />
  1531.          <binding port="1901" />
  1532.       </service-config>
  1533.  
  1534.        -->
  1535.  
  1536.  
  1537.       <!-- ********************* tomcat ********************** -->
  1538.  
  1539.       <service-config name="jboss.web:service=WebServer"
  1540.          delegateClass="org.jboss.services.binding.XSLTFileDelegate"
  1541.          >
  1542.          <delegate-config>
  1543.             <xslt-config configName="ConfigFile"><![CDATA[
  1544.    <xsl:stylesheet
  1545.          xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
  1546.  
  1547.      <xsl:output method="xml" />
  1548.      <xsl:param name="port"/>
  1549.  
  1550.      <xsl:variable name="portAJP" select="$port - 71"/>
  1551.      <xsl:variable name="portHttps" select="$port + 363"/>
  1552.  
  1553.      <xsl:template match="/">
  1554.        <xsl:apply-templates/>
  1555.      </xsl:template>
  1556.  
  1557.       <xsl:template match = "Connector">
  1558.          <Connector>
  1559.             <xsl:for-each select="@*">
  1560.             <xsl:choose>
  1561.                <xsl:when test="(name() = 'port' and . = '8181')">
  1562.                   <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
  1563.                </xsl:when>
  1564.                <xsl:when test="(name() = 'port' and . = '8009')">
  1565.                   <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
  1566.                </xsl:when>
  1567.                <xsl:when test="(name() = 'redirectPort')">
  1568.                   <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
  1569.                </xsl:when>
  1570.                <xsl:when test="(name() = 'port' and . = '8443')">
  1571.                   <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
  1572.                </xsl:when>
  1573.                <xsl:otherwise>
  1574.                   <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
  1575.                </xsl:otherwise>
  1576.             </xsl:choose>
  1577.             </xsl:for-each>
  1578.             <xsl:apply-templates/>
  1579.          </Connector>
  1580.       </xsl:template>
  1581.  
  1582.      <xsl:template match="*|@*">
  1583.        <xsl:copy>
  1584.          <xsl:apply-templates select="@*|node()"/>
  1585.        </xsl:copy>
  1586.      </xsl:template>
  1587.    </xsl:stylesheet>
  1588.    ]]>
  1589.             </xslt-config>
  1590.          </delegate-config>
  1591.          <binding port="8380"/>
  1592.       </service-config>
  1593.  
  1594.       <!-- ********************* jboss messaging ********************** -->
  1595.  
  1596.       <service-config name="jboss.messaging:service=Connector,transport=bisocket"
  1597.                       delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
  1598.          <delegate-config>
  1599.             <attribute name="Configuration"><![CDATA[
  1600.          <config>
  1601.             <invoker transport="bisocket">
  1602.                <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  1603.                <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
  1604.                <attribute name="dataType" isParam="true">jms</attribute>
  1605.                <attribute name="socket.check_connection" isParam="true">false</attribute>
  1606.                <attribute name="timeout" isParam="true">0</attribute>
  1607.                <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  1608.                <attribute name="serverBindPort">4757</attribute>
  1609.                <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
  1610.                <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
  1611.                <attribute name="numberOfCallRetries" isParam="true">1</attribute>
  1612.                <attribute name="pingFrequency" isParam="true">214748364</attribute>
  1613.                <attribute name="pingWindowFactor" isParam="true">10</attribute>
  1614.                <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute>
  1615.                <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
  1616.                <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
  1617.                <attribute name="timeout" isParam="true">0</attribute>
  1618.                <attribute name="numberOfRetries" isParam="true">10</attribute>
  1619.                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
  1620.                <attribute name="callbackTimeout">10000</attribute>
  1621.            </invoker>
  1622.             <handlers>
  1623.                <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
  1624.             </handlers>
  1625.          </config>
  1626.          ]]></attribute>
  1627.          </delegate-config>
  1628.          <binding port="4757"/>
  1629.       </service-config>
  1630.  
  1631.     </server>
  1632.  
  1633. </service-bindings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement