[jboss-cvs] JBossAS SVN: r104738 - tags/EWP_5_0_1/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 12 16:09:25 EDT 2010
Author: fnasser at redhat.com
Date: 2010-05-12 16:09:24 -0400 (Wed, 12 May 2010)
New Revision: 104738
Modified:
tags/EWP_5_0_1/build/jbossas-5-ewp-production.patch
Log:
JBPAPP-3693 - EWP - Farming is not properly configured in profile.xml
Modified: tags/EWP_5_0_1/build/jbossas-5-ewp-production.patch
===================================================================
--- tags/EWP_5_0_1/build/jbossas-5-ewp-production.patch 2010-05-12 20:05:00 UTC (rev 104737)
+++ tags/EWP_5_0_1/build/jbossas-5-ewp-production.patch 2010-05-12 20:09:24 UTC (rev 104738)
@@ -37,3 +37,80 @@
-</deployment>
\ No newline at end of file
+</deployment>
+--- server/production/conf/bootstrap/profile.xml 2010-01-23 02:05:40.000000000 +0100
++++ server/production//opt/jboss-dist/jboss-ewp-5.0.patched/jboss-as-web/server/production/conf/bootstrap/profile.xml 2010-02-07 17:00:00.758969715 +0100
+@@ -18,18 +18,27 @@
+ The uri to jboss-service.xml.
+ The uri to the deployers folder.
+ A list of uris to deploy folders. -->
+- <bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.repository.StaticProfileFactory">
++ <bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.StaticClusteredProfileFactory">
+ <property name="bindingsURI">${jboss.server.home.url}conf/bindingservice.beans</property>
+ <property name="bootstrapURI">${jboss.server.home.url}conf/jboss-service.xml</property>
+- <property name="deployersURI">${jboss.server.home.url}deployers</property>
+- <property name="applicationURIs">
+- <list elementClass="java.net.URI">
+- <value>${jboss.server.home.url}deploy</value>
+- </list>
+- </property>
+- <property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
+- <property name="profileFactory"><inject bean="ProfileFactory" /></property>
+- </bean>
++ <property name="deployersURI">${jboss.server.home.url}deployers</property>
++ <property name="applicationURIs">
++ <list elementClass="java.net.URI">
++ <value>${jboss.server.home.url}deploy</value>
++ </list>
++ </property>
++ <!-- Optional list of URIs that will be kept in sync across the cluster.
++ Requires deploy/cluster/farm-deployment-jboss-beans.xml to be
++ deployed as well.
++ -->
++ <property name="farmURIs">
++ <list elementClass="java.net.URI">
++ <value>${jboss.server.home.url}farm</value>
++ </list>
++ </property>
++ <property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
++ <property name="profileFactory"><inject bean="ProfileFactory" /></property>
++ </bean>
+
+ <!-- The default profile key -->
+ <bean name="DefaultProfileKey" class="org.jboss.profileservice.spi.ProfileKey">
+@@ -151,6 +160,36 @@
+ <uncallback method="removeComponentMapper" />
+ </bean>
+
++ <!-- The clustered deployment repository factory -->
++ <bean name="ClusteredDeploymentRepositoryFactory" class="org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepositoryFactory">
++ <property name="deploymentFilter"><inject bean="DeploymentFilter" /></property>
++ <property name="checker"><inject bean="StructureModificationChecker" /></property>
++ <!-- Accept any RepositoryClusteringHandler -->
++ <incallback method="addRepositoryClusteringHandler" />
++ <uncallback method="removeRepositoryClusteringHandler" />
++ <!-- Accept any LocalContentManagerFactory -->
++ <incallback method="addLocalContentManagerFactory" />
++ <uncallback method="removeLocalContentManagerFactory" />
++ </bean>
++
++ <!-- Handles persistence of metadata about clustered DeploymentRepository content -->
++ <bean name="ClusteredDeploymentRepositoryMetadataPersister"
++ class="org.jboss.system.server.profileservice.repository.clustered.local.JAXBRepositoryContentMetadataPersister">
++ <constructor>
++ <!-- Here we use the constructor version that takes the Server impl and
++ uses it to find the data dir. You could alternatively use a version
++ that takes a URI or a File. -->
++ <parameter class="org.jboss.bootstrap.spi.Server"><inject bean="JBossServer"/></parameter>
++ </constructor>
++ </bean>
++
++ <!-- Factory for manager of local persistence of clustered DeploymentRepository content -->
++ <bean name="FilesystemLocalContentManagerFactory"
++ class="org.jboss.system.server.profileservice.repository.clustered.local.file.FilesystemLocalContentManagerFactory">
++ <property name="metadataPersister"><inject bean="ClusteredDeploymentRepositoryMetadataPersister"/></property>
++ <property name="tempDirURI">${jboss.server.home.url}temp${/}cluster-repo</property>
++ </bean>
++
+ <!-- A persistence factory for creating the persisted format of ManagedComponents -->
+ <bean name="PersistenceFactory" class="org.jboss.system.server.profileservice.persistence.AbstractPersistenceFactory">
+ <constructor><parameter><inject bean="ManagedObjectFactory" /></parameter></constructor>
More information about the jboss-cvs-commits
mailing list