[jboss-cvs] JBossAS SVN: r76391 - trunk/tomcat/src/resources.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jul 29 07:06:40 EDT 2008
Author: adrian at jboss.org
Date: 2008-07-29 07:06:40 -0400 (Tue, 29 Jul 2008)
New Revision: 76391
Added:
trunk/tomcat/src/resources/mod-cluster-jboss-beans.xml
Removed:
trunk/tomcat/src/resources/mod-cluster-beans.xml
Log:
[JBAS-5803] beans.xml -> jboss-beans.xml
Deleted: trunk/tomcat/src/resources/mod-cluster-beans.xml
===================================================================
--- trunk/tomcat/src/resources/mod-cluster-beans.xml 2008-07-29 11:06:22 UTC (rev 76390)
+++ trunk/tomcat/src/resources/mod-cluster-beans.xml 2008-07-29 11:06:40 UTC (rev 76391)
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Beans that provide JBoss AS-side functionality for mod_cluster. These
- beans are all "On Demand", i.e. that are not installed unless requested.
--->
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-
- <!-- Configuration bean -->
- <bean name="ModClusterConfig"
- class="org.jboss.web.tomcat.service.modcluster.config.ModClusterConfig"
- mode="On Demand">
-
- <!-- Configure this node's communication with the load balancer -->
-
- <!-- Comma separated list of address:port listing the httpd servers
- where mod_cluster is running.
- <property name="proxyList"></property>
- -->
- <!--URL prefix to send with commands to mod_cluster. Default is no prefix
- <property name="proxyURL">/bla</property>
- -->
-
- <!-- mod_advertise is a small httpd module that advertises the
- availability of httpd servers via multicast, allowing
- ModClusterService to discover the httpd front-end instead of/in
- addition to having them defined in proxyList.
- -->
- <!-- Whether to listen for advertise messages -->
- <property name="advertise">true</property>
- <!-- Multicast address to listen on for advertisements -->
- <property name="advertiseGroupAddress">${jboss.modcluster.advertise.address,jboss.partition.udpGroup:224.0.1.105}</property>
- <!-- Port to listen to for advertisements -->
- <property name="advertisePort">${jboss.modcluster.advertise.address:23364}</property>
-
- <!-- Key the front-end is going to send with advertise messages.
- Default is no key no check.
- <property name="advertiseSecurityKey"></property>
- -->
-
- <!-- Whether to use SSL to communicate with mod_cluster. Note this
- has nothing to do with handling of https requests by JBoss Web -->
- <property name="ssl">false</property>
-
-
- <!-- Configuration values for the load balancer itself (must be the
- same on all nodes in the cluster). These will be passed to the
- load balancer. -->
- <property name="stickySession">true</property>
- <property name="stickySessionForce">false</property>
- <property name="stickySessionRemove">false</property>
- <property name="maxAttempts">-1</property>
- <property name="workerTimeout">-1</property>
-
- </bean>
-
- <!-- Provides information to ModClusterService informing it how much load
- this server should take. This basic impl just uses a static
- configuration and doesn't adjust it based on runtime conditions. -->
- <bean name="ModClusterLoadBalanceFactorProvider"
- class="org.jboss.web.tomcat.service.modcluster.load.impl.StaticLoadBalanceFactorProvider"
- mode="On Demand">
-
- <property name="loadBalanceFactor">1</property>
-
- </bean>
-
- <!-- The core ModClusterService -->
- <bean name="ModClusterService"
- class="org.jboss.web.tomcat.service.modcluster.ModClusterService"
- mode="On Demand">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=ModCluster",exposedInterface=org.jboss.web.tomcat.service.modcluster.ModClusterServiceMBean.class)</annotation>
-
- <constructor>
- <parameter><inject bean="HAPartition"/></parameter>
- <parameter><inject bean="ModClusterConfig"/></parameter>
- <parameter><inject bean="ModClusterLoadBalanceFactorProvider"/></parameter>
- <parameter><bean class="org.jboss.ha.singleton.HASingletonElectionPolicySimple"/></parameter>
- </constructor>
-
- </bean>
-
- <!--
- An org.apache.catalina.LifecycleListener impl that notifies
- ModClusterService of events inside JBoss Web (deployments, starts, stops. etc.)
- -->
- <bean name="ModClusterLifecycleListener"
- class="org.jboss.web.tomcat.service.modcluster.BasicClusterListener"
- mode="On Demand">
-
- <constructor>
- <parameter><inject bean="ModClusterService"/></parameter>
- </constructor>
-
- </bean>
-
-</deployment>
\ No newline at end of file
Copied: trunk/tomcat/src/resources/mod-cluster-jboss-beans.xml (from rev 76390, trunk/tomcat/src/resources/mod-cluster-beans.xml)
===================================================================
--- trunk/tomcat/src/resources/mod-cluster-jboss-beans.xml (rev 0)
+++ trunk/tomcat/src/resources/mod-cluster-jboss-beans.xml 2008-07-29 11:06:40 UTC (rev 76391)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Beans that provide JBoss AS-side functionality for mod_cluster. These
+ beans are all "On Demand", i.e. that are not installed unless requested.
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!-- Configuration bean -->
+ <bean name="ModClusterConfig"
+ class="org.jboss.web.tomcat.service.modcluster.config.ModClusterConfig"
+ mode="On Demand">
+
+ <!-- Configure this node's communication with the load balancer -->
+
+ <!-- Comma separated list of address:port listing the httpd servers
+ where mod_cluster is running.
+ <property name="proxyList"></property>
+ -->
+ <!--URL prefix to send with commands to mod_cluster. Default is no prefix
+ <property name="proxyURL">/bla</property>
+ -->
+
+ <!-- mod_advertise is a small httpd module that advertises the
+ availability of httpd servers via multicast, allowing
+ ModClusterService to discover the httpd front-end instead of/in
+ addition to having them defined in proxyList.
+ -->
+ <!-- Whether to listen for advertise messages -->
+ <property name="advertise">true</property>
+ <!-- Multicast address to listen on for advertisements -->
+ <property name="advertiseGroupAddress">${jboss.modcluster.advertise.address,jboss.partition.udpGroup:224.0.1.105}</property>
+ <!-- Port to listen to for advertisements -->
+ <property name="advertisePort">${jboss.modcluster.advertise.address:23364}</property>
+
+ <!-- Key the front-end is going to send with advertise messages.
+ Default is no key no check.
+ <property name="advertiseSecurityKey"></property>
+ -->
+
+ <!-- Whether to use SSL to communicate with mod_cluster. Note this
+ has nothing to do with handling of https requests by JBoss Web -->
+ <property name="ssl">false</property>
+
+
+ <!-- Configuration values for the load balancer itself (must be the
+ same on all nodes in the cluster). These will be passed to the
+ load balancer. -->
+ <property name="stickySession">true</property>
+ <property name="stickySessionForce">false</property>
+ <property name="stickySessionRemove">false</property>
+ <property name="maxAttempts">-1</property>
+ <property name="workerTimeout">-1</property>
+
+ </bean>
+
+ <!-- Provides information to ModClusterService informing it how much load
+ this server should take. This basic impl just uses a static
+ configuration and doesn't adjust it based on runtime conditions. -->
+ <bean name="ModClusterLoadBalanceFactorProvider"
+ class="org.jboss.web.tomcat.service.modcluster.load.impl.StaticLoadBalanceFactorProvider"
+ mode="On Demand">
+
+ <property name="loadBalanceFactor">1</property>
+
+ </bean>
+
+ <!-- The core ModClusterService -->
+ <bean name="ModClusterService"
+ class="org.jboss.web.tomcat.service.modcluster.ModClusterService"
+ mode="On Demand">
+
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=ModCluster",exposedInterface=org.jboss.web.tomcat.service.modcluster.ModClusterServiceMBean.class)</annotation>
+
+ <constructor>
+ <parameter><inject bean="HAPartition"/></parameter>
+ <parameter><inject bean="ModClusterConfig"/></parameter>
+ <parameter><inject bean="ModClusterLoadBalanceFactorProvider"/></parameter>
+ <parameter><bean class="org.jboss.ha.singleton.HASingletonElectionPolicySimple"/></parameter>
+ </constructor>
+
+ </bean>
+
+ <!--
+ An org.apache.catalina.LifecycleListener impl that notifies
+ ModClusterService of events inside JBoss Web (deployments, starts, stops. etc.)
+ -->
+ <bean name="ModClusterLifecycleListener"
+ class="org.jboss.web.tomcat.service.modcluster.BasicClusterListener"
+ mode="On Demand">
+
+ <constructor>
+ <parameter><inject bean="ModClusterService"/></parameter>
+ </constructor>
+
+ </bean>
+
+</deployment>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list