[jboss-cvs] JBossAS SVN: r82906 - branches/Branch_4_2/varia/src/resources/services/binding.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 15 08:05:46 EST 2009


Author: dimitris at jboss.org
Date: 2009-01-15 08:05:46 -0500 (Thu, 15 Jan 2009)
New Revision: 82906

Modified:
   branches/Branch_4_2/varia/src/resources/services/binding/sample-bindings.xml
Log:
JBAS-6387, synch with the EAP settings

Modified: branches/Branch_4_2/varia/src/resources/services/binding/sample-bindings.xml
===================================================================
--- branches/Branch_4_2/varia/src/resources/services/binding/sample-bindings.xml	2009-01-15 12:59:39 UTC (rev 82905)
+++ branches/Branch_4_2/varia/src/resources/services/binding/sample-bindings.xml	2009-01-15 13:05:46 UTC (rev 82906)
@@ -37,6 +37,16 @@
    <!-- ********************************************************** -->
    <server name="ports-default">
 
+      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
+
+      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+        <delegate-config>
+           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+        </delegate-config>
+         <binding port="3873"/>
+      </service-config>
+
       <!-- ********************* jboss-service.xml ****************** -->
 
       <service-config name="jboss:service=Naming"
@@ -194,16 +204,6 @@
          <binding port="8080"/>
       </service-config>
 
-      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
-
-      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
-         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
-        <delegate-config>
-           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
-        </delegate-config>
-         <binding port="3873"/>
-      </service-config>
-
         <!-- JMXInvoker -->
       <service-config name="jboss:service=invoker,type=http,target=Naming"
          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
@@ -299,7 +299,10 @@
 
       <!-- ********************* hsqldb-ds.xml ********************** -->
 
-      <!-- Hypersonic related services when using the tcp/ip access
+      <!-- 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"
       >
@@ -420,6 +423,9 @@
                <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="validatorPingPeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingTimeout" isParam="true">5000</attribute>
+               <attribute name="registerCallbackListener">false</attribute>
                <attribute name="timeout" isParam="true">0</attribute>
                <attribute name="numberOfRetries" isParam="true">10</attribute>
                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
@@ -429,12 +435,11 @@
                <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
             </handlers>
          </config>
-        ]]></attribute>
+         ]]></attribute>
          </delegate-config>
          <binding port="4457"/>
       </service-config>
 
-
    </server>
 
    <!-- ********************************************************** -->
@@ -821,10 +826,9 @@
                <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="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>
@@ -832,6 +836,9 @@
                <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="validatorPingPeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingTimeout" isParam="true">5000</attribute>
+               <attribute name="registerCallbackListener">false</attribute>
                <attribute name="timeout" isParam="true">0</attribute>
                <attribute name="numberOfRetries" isParam="true">10</attribute>
                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
@@ -846,7 +853,6 @@
          <binding port="4557"/>
       </service-config>
 
-
    </server>
 
    <!-- ********************************************************** -->
@@ -1234,7 +1240,6 @@
                <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>
@@ -1245,6 +1250,9 @@
                <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="validatorPingPeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingTimeout" isParam="true">5000</attribute>
+               <attribute name="registerCallbackListener">false</attribute>
                <attribute name="timeout" isParam="true">0</attribute>
                <attribute name="numberOfRetries" isParam="true">10</attribute>
                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
@@ -1259,13 +1267,23 @@
          <binding port="4657"/>
       </service-config>
 
-    </server>
+   </server>
 
    <!-- ********************************************************** -->
    <!-- *                          ports-03                      * -->
    <!-- ********************************************************** -->
    <server name="ports-03">
 
+      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
+
+      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+        <delegate-config>
+           <attribute name="InvokerLocator">socket://${jboss.bind.address}:4173</attribute>
+        </delegate-config>
+         <binding port="4173"/>
+      </service-config>
+
       <!-- ********************* jboss-service.xml ****************** -->
 
       <service-config name="jboss:service=Naming"
@@ -1486,6 +1504,39 @@
         <binding port="8380" host="${jboss.bind.address}"/>
       </service-config>
 
+      <!-- ********************* remoting **************** -->
+
+       <!-- *** 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="7446" />
+       </service-config>
+
+
       <!-- ********************* hsqldb-ds.xml ********************** -->
 
       <!-- Hypersonic related services
@@ -1521,14 +1572,14 @@
 ]]>
          </xslt-config>
          </delegate-config>
-         <binding host="localhost" port="1901" />
+         <binding host="localhost" port="2001" />
       </service-config>
 
       <service-config name="jboss:service=Hypersonic"
          delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
       >
          <delegate-config portName="Port" />
-         <binding port="1901" />
+         <binding port="2001" />
       </service-config>
 
        -->
@@ -1603,7 +1654,6 @@
                <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">4757</attribute>
                <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
@@ -1614,11 +1664,14 @@
                <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="validatorPingPeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingTimeout" isParam="true">5000</attribute>
+               <attribute name="registerCallbackListener">false</attribute>
                <attribute name="timeout" isParam="true">0</attribute>
                <attribute name="numberOfRetries" isParam="true">10</attribute>
                <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
                <attribute name="callbackTimeout">10000</attribute> 
-           </invoker>
+            </invoker>
             <handlers>
                <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
             </handlers>
@@ -1628,6 +1681,6 @@
          <binding port="4757"/>
       </service-config>
 
-    </server>
+   </server>
 
 </service-bindings>




More information about the jboss-cvs-commits mailing list