[jboss-cvs] JBossAS SVN: r60641 - branches/Branch_4_2/ejb3/src/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 19 03:50:19 EST 2007


Author: bstansberry at jboss.com
Date: 2007-02-19 03:50:18 -0500 (Mon, 19 Feb 2007)
New Revision: 60641

Modified:
   branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml
   branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml
Log:
[EJBTHREE-846] Clustered SFSB cache does not transfer passivated session on startup

Modified: branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml
===================================================================
--- branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml	2007-02-19 08:49:44 UTC (rev 60640)
+++ branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml	2007-02-19 08:50:18 UTC (rev 60641)
@@ -43,6 +43,11 @@
         
       <property name="exposeManagementStatistics">true</property>
 
+      <!-- We want to activate/inactivate regions as beans are deployed -->
+      <property name="useRegionBasedMarshalling">true</property>
+      <!-- Must match the value of "useRegionBasedMarshalling" -->
+      <property name="inactiveOnStartup">true</property>
+
       <!--  Specific eviction policy configurations. This is LRU -->
       <property name="evictionConfig">
       	 <bean name="EJB3SFSBEvictionConfig" class="org.jboss.cache.config.EvictionConfig">

Modified: branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml
===================================================================
--- branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2007-02-19 08:49:44 UTC (rev 60640)
+++ branches/Branch_4_2/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2007-02-19 08:50:18 UTC (rev 60641)
@@ -24,6 +24,11 @@
       -->
       <attribute name="CacheMode">REPL_ASYNC</attribute>
 
+	  <!-- We want to activate/inactivate regions as beans are deployed -->
+      <attribute name="UseRegionBasedMarshalling">true</attribute>
+      <!-- Must match the value of "useRegionBasedMarshalling" -->
+      <attribute name="InactiveOnStartup">true</attribute>
+
 	  <!-- 
 	       JGroups protocol stack config in XML format.
 		   If your CacheMode is set to REPL_SYNC we recommend you comment




More information about the jboss-cvs-commits mailing list