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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 15 07:51:39 EST 2009


Author: dimitris at jboss.org
Date: 2009-01-15 07:51:39 -0500 (Thu, 15 Jan 2009)
New Revision: 82904

Modified:
   branches/JBPAPP_4_2_0_GA_CP/varia/src/resources/services/binding/sample-bindings.xml
Log:
JBPAPP-996, add missing port-03 binding for remoting connector

Modified: branches/JBPAPP_4_2_0_GA_CP/varia/src/resources/services/binding/sample-bindings.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/varia/src/resources/services/binding/sample-bindings.xml	2009-01-15 12:44:04 UTC (rev 82903)
+++ branches/JBPAPP_4_2_0_GA_CP/varia/src/resources/services/binding/sample-bindings.xml	2009-01-15 12:51:39 UTC (rev 82904)
@@ -1501,6 +1501,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




More information about the jboss-cvs-commits mailing list