Modified Paths:
--------------
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/commands/Docs-Generate.xml
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/lib/antlib.xml
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/application-policy-content.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/datasource-content-AtgOracleXaSchema.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/type.xml
Added Paths:
-----------
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/prepare.xml
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/commands/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/lib/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/lib/command.xml
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/objects/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/templates/
controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/type.xml
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/bindings.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/jboss-log4j.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/jboss-service.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/login-config.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/run.conf.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/deploy/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/deploy/jboss-web.deployer/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/deploy/jboss-web.deployer/META-INF/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/deploy/jboss-web.deployer/server.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/bindingservice.beans/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/bindingservice.beans/META-INF/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/jboss-log4j.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/jboss-service.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/login-config.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/conf/run.conf.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/deploy/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/deploy/jbossweb.sar/
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/deploy/jbossweb.sar/server.xml.template
controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-5.0.0.GA/server/default/deploy/transaction-jboss-beans.xml.template
Added: controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/prepare.xml
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/prepare.xml (rev 0)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/prepare.xml 2011-12-01 18:08:13 UTC (rev 2305)
@@ -0,0 +1,6 @@
+<!-- called by prepare -->
+<project name="prepare" default="execute">
+ <target name="execute">
+ <delete dir="${opts.installroot}/${opts.base}"/>
+ </target>
+</project>
Property changes on: controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/bin/prepare.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/lib/command.xml
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/lib/command.xml (rev 0)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/lib/command.xml 2011-12-01 18:08:13 UTC (rev 2305)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!--
+Module: Deployment
+Revision: $Revision: 8652 $
+-->
+<project default="execute">
+ <import file="${modules.dir}/Deployment/lib/command.xml"/>
+</project>
Added: controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/type.xml
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/type.xml (rev 0)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgEarTgz/type.xml 2011-12-01 18:08:13 UTC (rev 2305)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+This document is used to define one or more Types.
+For reference, see: http://wiki.controltier.org/wiki/Type-v10.xml
+-->
+<types
+ xmlns:module="http://open.controltier.com/base/Modules#"
+ xmlns:type="http://open.controltier.com/base/Types#"
+ xmlns:cmd="http://open.controltier.com/base/Modules/Commands#">
+
+ <!-- The type element defines a Type and command module. -->
+ <type
+ name="AtgEarTgz"
+ role="concrete"
+ uniqueInstances="true">
+
+ <!-- description of the Type -->
+ <description>Tarball of JBoss Ear</description>
+
+ <supertype>
+ <!-- supertype/typereference: defines the supertype of the Type -->
+ <typereference name="tgz"/>
+ </supertype>
+
+ <command-settings>
+ <!-- command-settings: properties of the command module -->
+ <!-- See Wiki: -->
+ <!-- http://wiki.controltier.org/wiki/Type-v10.xml#command-settings -->
+ <notification notify="false"/>
+ <template-directory></template-directory>
+ <dependency-view parents="false" children="true" proximity="1"/>
+ <logger name="AtgEarTgz"/>
+ </command-settings>
+
+
+ <attributes>
+ <!-- Define attributes of the Type here -->
+ <!-- See Wiki: -->
+ <!-- http://wiki.controltier.org/wiki/Type-v10.xml#attributes -->
+ <attribute-default name="package-prepare-script" value="${modules.dir}/${entity.type}/bin/prepare.xml"/>
+ </attributes>
+
+ <constraints>
+ <!-- Define constraints of the Type here -->
+ <!-- See Wiki: -->
+ <!-- http://wiki.controltier.org/wiki/Type-v10.xml#constraints -->
+
+ </constraints>
+
+ <commands>
+ <!-- Define commands here -->
+ <!-- See the Documentation on the ControlTier Wiki: -->
+ <!-- http://wiki.controltier.org/wiki/Type-v10.xml#commands -->
+
+ </commands>
+
+ </type>
+
+ <!--
+ Multiple <type> elements are allowed.
+ -->
+</types>
Modified: controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/commands/Docs-Generate.xml
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/commands/Docs-Generate.xml 2011-10-07 22:24:00 UTC (rev 2304)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/commands/Docs-Generate.xml 2011-12-01 18:08:13 UTC (rev 2305)
@@ -88,21 +88,7 @@
<filter token="ajpEnableLookups" value="${opts.ajpEnableLookups}"/>
<filter token="additionalValves" value="${opts.additionalValves}"/>
</filterset>
- </copy>
- <!-- Generate "localconfig/atg/dynamo/Configuration.properties" : -->
- <mkdir dir="${entity.attribute.atgLocalConfig}/atg/dynamo"/>
- <if>
- <isset property="entity.attribute.atgRmiPort"/>
- <then>
- <echo file="${entity.attribute.atgLocalConfig}/atg/dynamo/Configuration.properties">rmiPort=${entity.attribute.atgRmiPort}${line.separator}</echo>
- </then>
- </if>
- <if>
- <isset property="entity.attribute.atgAdminPort"/>
- <then>
- <echo file="${entity.attribute.atgLocalConfig}/atg/dynamo/Configuration.properties" append="true">adminPort=${entity.attribute.atgAdminPort}${line.separator}</echo>
- </then>
- </if>
+ </copy>
</target>
<target name="-post-opts" depends="-getopts">
<property-expand override="true" property="opts.atg_data_dir" input="${opts.atg_data_dir}"/>
Modified: controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/lib/antlib.xml
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/lib/antlib.xml 2011-10-07 22:24:00 UTC (rev 2304)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/lib/antlib.xml 2011-12-01 18:08:13 UTC (rev 2305)
@@ -19,20 +19,41 @@
<attribute name="resultproperty"/>
<sequential>
<var name="@{resultproperty}" unset="true"/>
- <java fork="true"
- failonerror="true"
- outputproperty="@{resultproperty}"
- classpath="@{jbosshome}/lib/jboss-common.jar:@{jbosshome}/lib/jboss-jmx.jar:@{jbossbase}/lib/jbosssx.jar:@{jbossbase}/lib/jboss-jca.jar"
- classname="org.jboss.resource.security.SecureIdentityLoginModule">
- <arg line="@{input}"/>
- <redirector>
- <outputfilterchain>
- <tokenfilter>
- <containsregex pattern="^Encoded password: *(.*)$" replace="\1"/>
- </tokenfilter>
- </outputfilterchain>
- </redirector>
- </java>
+ <if>
+ <equals arg1="${entity.attribute.jboss_version}" arg2="5.0.0.GA"/>
+ <then>
+ <java fork="true"
+ failonerror="true"
+ outputproperty="@{resultproperty}"
+ classpath="@{jbosshome}/client/jboss-logging-spi.jar:@{jbosshome}/common/lib/jbosssx.jar"
+ classname="org.jboss.resource.security.SecureIdentityLoginModule">
+ <arg line="@{input}"/>
+ <redirector>
+ <outputfilterchain>
+ <tokenfilter>
+ <containsregex pattern="^Encoded password: *(.*)$" replace="\1"/>
+ </tokenfilter>
+ </outputfilterchain>
+ </redirector>
+ </java>
+ </then>
+ <else>
+ <java fork="true"
+ failonerror="true"
+ outputproperty="@{resultproperty}"
+ classpath="@{jbosshome}/lib/jboss-common.jar:@{jbosshome}/lib/jboss-jmx.jar:@{jbossbase}/lib/jbosssx.jar:@{jbossbase}/lib/jboss-jca.jar"
+ classname="org.jboss.resource.security.SecureIdentityLoginModule">
+ <arg line="@{input}"/>
+ <redirector>
+ <outputfilterchain>
+ <tokenfilter>
+ <containsregex pattern="^Encoded password: *(.*)$" replace="\1"/>
+ </tokenfilter>
+ </outputfilterchain>
+ </redirector>
+ </java>
+ </else>
+ </if>
</sequential>
</macrodef>
</antlib>
Modified: controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/application-policy-content.xml.template
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/application-policy-content.xml.template 2011-10-07 22:24:00 UTC (rev 2304)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/application-policy-content.xml.template 2011-12-01 18:08:13 UTC (rev 2305)
@@ -3,7 +3,7 @@
<login-module code="org.jboss.resource.security.SecureIdentityLoginModule" flag="required">
<module-option name="username">@SCHEMAUSERNAME@</module-option>
<module-option name="password">@SCHEMAPASSWORD_ENCRYPTED@</module-option>
- <module-option name="managedConnectionFactoryName">jboss.jca:name=@DATASOURCENAME@,service=LocalTxCM</module-option>
+ <module-option name="managedConnectionFactoryName">jboss.jca:name=@DATASOURCENAME@,service=XATxCM</module-option>
</login-module>
</authentication>
</application-policy>
Modified: controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/datasource-content-AtgOracleXaSchema.xml.template
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/datasource-content-AtgOracleXaSchema.xml.template 2011-10-07 22:24:00 UTC (rev 2304)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/datasource/datasource-content-AtgOracleXaSchema.xml.template 2011-12-01 18:08:13 UTC (rev 2305)
@@ -9,8 +9,7 @@
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<xa-datasource-class>@RDBDRIVER@</xa-datasource-class>
<xa-datasource-property name="URL">@RDBCONNECTION@</xa-datasource-property>
- <xa-datasource-property name="User">@SCHEMAUSERNAME@</xa-datasource-property>
- <xa-datasource-property name="Password">@SCHEMAPASSWORD@</xa-datasource-property>
+ <security-domain>@DATASOURCENAME@</security-domain>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
Added: controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/bindings.xml.template
===================================================================
--- controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/bindings.xml.template (rev 0)
+++ controltier/branches/controltier-3-4-support/atg/modules/AtgJBossServer/templates/jboss-4.3.0.GA/server/default/conf/bindings.xml.template 2011-12-01 18:08:13 UTC (rev 2305)
@@ -0,0 +1,8658 @@
+<!--
+ $Id: sample-bindings.xml 71725 2008-04-04 15:44:18Z clebert...@jboss.com $
+
+ 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">
+
+ <!-- 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"
+ 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"/>
+ <binding port="4445"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1101</attribute>
+ </delegate-config>
+ <binding port="1100" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4444"/>
+ </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>
+
+
+ <!-- ********************* 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>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1100
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1100"/>
+ </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>
+
+
+ <!-- ********************* jboss-ws4ee.sar **************** -->
+
+ <!-- Web Service related services -->
+ <service-config name="jboss.ws4ee:service=AxisService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+ <binding port="8080" 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="4446" />
+ </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="1701" />
+ </service-config>
+
+ <service-config name="jboss:service=Hypersonic"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" />
+ <binding port="1701" />
+ </service-config>
+ -->
+
+
+ <!-- ********************* tomcat ********************** -->
+
+ <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>
+
+ <!-- ********************* 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="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="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>
+ <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">
+
+ <!-- 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}:3973</attribute>
+ </delegate-config>
+ <binding port="3973"/>
+ </service-config>
+
+ <!-- ********************* 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"/>
+ <binding port="4545"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1201</attribute>
+ </delegate-config>
+ <binding port="1200" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4544"/>
+ </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>
+
+
+ <!-- ********************* 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>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1200
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1200"/>
+ </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>
+
+
+
+
+ <!-- ********************* jboss-ws4ee.sar **************** -->
+
+ <!-- Web Service related services -->
+ <service-config name="jboss.ws4ee:service=AxisService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+ <binding port="8180" 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="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>
+
+ -->
+
+
+ <!-- ********************* tomcat ********************** -->
+
+ <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>
+
+ <!-- ********************* 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="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="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>
+ <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">
+
+ <!-- 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}:4073</attribute>
+ </delegate-config>
+ <binding port="4073"/>
+ </service-config>
+
+ <!-- ********************* 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"/>
+ <binding port="4645"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1301</attribute>
+ </delegate-config>
+ <binding port="1300" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4644"/>
+ </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>
+
+
+ <!-- ********************* 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>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1300
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1300"/>
+ </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>
+
+
+
+
+ <!-- ********************* jboss-ws4ee.sar **************** -->
+
+ <!-- Web Service related services -->
+ <service-config name="jboss.ws4ee:service=AxisService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+ <binding port="8280" 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="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>
+
+ -->
+
+
+ <!-- ********************* tomcat ***************** -->
+
+ <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>
+
+ <!-- ********************* 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="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="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>
+ <handlers>
+ <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+ </handlers>
+ </config>
+ ]]></attribute>
+ </delegate-config>
+ <binding port="4657"/>
+ </service-config>
+
+ </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"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1398</attribute>
+ </delegate-config>
+ <binding port="1399" host="${jboss.bind.address}"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=WebService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="8383"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=jrmp"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4744"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=pooled"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4745"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1401</attribute>
+ </delegate-config>
+ <binding port="1400" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4744"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=pooledha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4748"/>
+ </service-config>
+
+ <!-- ********************* iiop-service.xml ****************** -->
+
+ <service-config name="jboss:service=CorbaORB"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="3828"/>
+ </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="19301"/>
+ </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="1462"/>
+ </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="1461"/>
+ </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="8393"/>
+ </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="8380"/>
+ </service-config>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1400
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1400"/>
+ </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="8380"/>
+ </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="8380"/>
+ </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="8380"/>
+ </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="8380"/>
+ </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="8380"/>
+ </service-config>
+
+
+
+
+ <!-- ********************* jboss-ws4ee.sar **************** -->
+
+ <!-- Web Service related services -->
+ <service-config name="jboss.ws4ee:service=AxisService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+ <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
+
+ 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="2001" />
+ </service-config>
+
+ <service-config name="jboss:service=Hypersonic"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" />
+ <binding port="2001" />
+ </service-config>
+
+ -->
+
+
+ <!-- ********************* tomcat ********************** -->
+
+ <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="8380"/>
+ </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="serverBindAddress">${jboss.bind.address}</attribute>
+ <attribute name="serverBindPort">4757</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="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>
+ <handlers>
+ <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+ </handlers>
+ </config>
+ ]]></attribute>
+ </delegate-config>
+ <binding port="4757"/>
+ </service-config>
+
+ </server>
+
+ <!-- ********************************************************** -->
+ <!-- * ports-04 * -->
+ <!-- ********************************************************** -->
+ <server name="ports-04">
+
+ <!-- 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}:4273</attribute>
+ </delegate-config>
+ <binding port="4273"/>
+ </service-config>
+
+ <!-- ********************* jboss-service.xml ****************** -->
+
+ <service-config name="jboss:service=Naming"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1498</attribute>
+ </delegate-config>
+ <binding port="1499" host="${jboss.bind.address}"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=WebService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="8483"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=jrmp"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4844"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=pooled"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4845"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1501</attribute>
+ </delegate-config>
+ <binding port="1500" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4844"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=pooledha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4848"/>
+ </service-config>
+
+ <!-- ********************* iiop-service.xml ****************** -->
+
+ <service-config name="jboss:service=CorbaORB"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="3928"/>
+ </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="19401"/>
+ </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="1562"/>
+ </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="1561"/>
+ </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="8493"/>
+ </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="8480"/>
+ </service-config>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1500
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1500"/>
+ </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="8480"/>
+ </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="8480"/>
+ </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="8480"/>
+ </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="8480"/>
+ </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="8480"/>
+ </service-config>
+
+
+
+
+ <!-- ********************* jboss-ws4ee.sar **************** -->
+
+ <!-- Web Service related services -->
+ <service-config name="jboss.ws4ee:service=AxisService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+ <binding port="8480" 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="8446" />
+ </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="2101" />
+ </service-config>
+
+ <service-config name="jboss:service=Hypersonic"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" />
+ <binding port="2101" />
+ </service-config>
+
+ -->
+
+
+ <!-- ********************* tomcat ********************** -->
+
+ <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="8480"/>
+ </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="serverBindAddress">${jboss.bind.address}</attribute>
+ <attribute name="serverBindPort">4857</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="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>
+ <handlers>
+ <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+ </handlers>
+ </config>
+ ]]></attribute>
+ </delegate-config>
+ <binding port="4857"/>
+ </service-config>
+
+ </server>
+ <!-- ********************************************************** -->
+ <!-- * ports-05 * -->
+ <!-- ********************************************************** -->
+ <server name="ports-05">
+
+ <!-- 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}:4373</attribute>
+ </delegate-config>
+ <binding port="4373"/>
+ </service-config>
+
+ <!-- ********************* jboss-service.xml ****************** -->
+
+ <service-config name="jboss:service=Naming"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1598</attribute>
+ </delegate-config>
+ <binding port="1599" host="${jboss.bind.address}"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=WebService"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="8583"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=jrmp"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4944"/>
+ </service-config>
+
+
+ <service-config name="jboss:service=invoker,type=pooled"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4945"/>
+ </service-config>
+
+
+ <!-- ********************* cluster-service.xml **************** -->
+
+ <service-config name="jboss:service=HAJNDI"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="Port" hostName="BindAddress">
+ <attribute name="RmiPort">1601</attribute>
+ </delegate-config>
+ <binding port="1600" host="${jboss.bind.address}"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=jrmpha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="RMIObjectPort"/>
+ <binding port="4944"/>
+ </service-config>
+
+ <service-config name="jboss:service=invoker,type=pooledha"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <delegate-config portName="ServerBindPort"/>
+ <binding port="4948"/>
+ </service-config>
+
+ <!-- ********************* iiop-service.xml ****************** -->
+
+ <service-config name="jboss:service=CorbaORB"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+ >
+ <delegate-config portName="Port"/>
+ <binding port="4028"/>
+ </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="19501"/>
+ </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="1662"/>
+ </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="1661"/>
+ </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="8593"/>
+ </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="8580"/>
+ </service-config>
+
+ <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+ <!-- The JMS provider loader -->
+ <service-config name="jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+ delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+ <!--
+ MAKE SURE java.naming.provider.url
+ PORT IS SAME AS HA-JNDI ABOVE !!!
+ -->
+ <delegate-config>
+ <attribute name="Properties"><![CDATA[
+ java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+ java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+ java.naming.provider.url=${jboss.bind.address:localhost}:1600
+ jnp.disableDiscovery=false
+ jnp.partitionName=${jboss.partition.name:DefaultPartition}
+ jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+ jnp.discoveryPort=1102
+ jnp.discoveryTTL=16
+ jnp.discoveryTimeout=5000
+ jnp.maxRetries=1
+ ]]>
+ </attribute>
+ </delegate-config>
+ <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+ BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+ <binding port="1600"/>
+ </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>
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.