[jboss-cvs] JBossAS SVN: r60612 - trunk/ejb3/src/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 18 22:41:38 EST 2007


Author: bstansberry at jboss.com
Date: 2007-02-18 22:41:38 -0500 (Sun, 18 Feb 2007)
New Revision: 60612

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

Modified: trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml
===================================================================
--- trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml	2007-02-19 03:40:14 UTC (rev 60611)
+++ trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-beans.xml	2007-02-19 03:41:38 UTC (rev 60612)
@@ -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: trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml
===================================================================
--- trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2007-02-19 03:40:14 UTC (rev 60611)
+++ trunk/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2007-02-19 03:41:38 UTC (rev 60612)
@@ -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