[jboss-cvs] JBossAS SVN: r60067 - trunk/ejb3/src/resources/test/cache.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Jan 27 18:12:23 EST 2007
Author: bstansberry at jboss.com
Date: 2007-01-27 18:12:23 -0500 (Sat, 27 Jan 2007)
New Revision: 60067
Modified:
trunk/ejb3/src/resources/test/cache/testejb3-cache-service.xml
trunk/ejb3/src/resources/test/cache/testejb3-statefulcache-service.xml
Log:
Sync up a bit with the real configs
Modified: trunk/ejb3/src/resources/test/cache/testejb3-cache-service.xml
===================================================================
--- trunk/ejb3/src/resources/test/cache/testejb3-cache-service.xml 2007-01-27 23:08:22 UTC (rev 60066)
+++ trunk/ejb3/src/resources/test/cache/testejb3-cache-service.xml 2007-01-27 23:12:23 UTC (rev 60067)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<server>
- <mbean code="org.jboss.ejb3.cache.tree.PassivationTreeCache" name="jboss.cache:service=EJB3TreeCache">
+ <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=EJB3TreeCache">
<!--
Node locking level : SERIALIZABLE
REPEATABLE_READ (default)
@@ -8,7 +8,7 @@
READ_UNCOMMITTED
NONE
-->
- <attribute name="IsolationLevel">READ_UNCOMMITTED</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
<!-- Valid modes are LOCAL
REPL_ASYNC
@@ -19,13 +19,13 @@
<!-- Number of milliseconds to wait until all responses for a
synchronous call have been received.
-->
- <attribute name="SyncReplTimeout">10000</attribute>
+ <attribute name="SyncReplTimeout">16000</attribute>
<!-- Max number of milliseconds to wait for a lock acquisition -->
<attribute name="LockAcquisitionTimeout">15000</attribute>
<!-- Name of the eviction policy class. -->
- <attribute name="EvictionPolicyClass">org.jboss.ejb3.cache.tree.PassivationEvictionPolicy</attribute>
+ <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
<!-- Specific eviction policy configurations. This is LRU -->
<attribute name="EvictionPolicyConfig">
@@ -48,11 +48,13 @@
<!-- we can now have multiple cache loaders, which get chained -->
<cacheloader>
- <class>org.jboss.ejb3.cache.tree.PassivationCacheLoader</class>
- <!-- same as the old CacheLoaderConfig attribute -->
- <properties>
- location=server/all/tmp/stateful
- </properties>
+
+ <class>org.jboss.cache.loader.FileCacheLoader</class>
+ <!--
+ -->
+ <properties>
+ location=${jboss.server.data.dir}${/}sfsb-test
+ </properties>
<!-- whether the cache loader writes are asynchronous -->
<async>false</async>
<!-- only one cache loader in the chain may set fetchPersistentState to true.
Modified: trunk/ejb3/src/resources/test/cache/testejb3-statefulcache-service.xml
===================================================================
--- trunk/ejb3/src/resources/test/cache/testejb3-statefulcache-service.xml 2007-01-27 23:08:22 UTC (rev 60066)
+++ trunk/ejb3/src/resources/test/cache/testejb3-statefulcache-service.xml 2007-01-27 23:12:23 UTC (rev 60067)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<server>
- <mbean code="org.jboss.ejb3.cache.tree.PassivationTreeCache" name="jboss.cache:service=EJB3TreeCache">
+ <mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=EJB3TreeCache">
<!--
Node locking level : SERIALIZABLE
REPEATABLE_READ (default)
@@ -8,7 +8,7 @@
READ_UNCOMMITTED
NONE
-->
- <attribute name="IsolationLevel">READ_UNCOMMITTED</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
<!-- Valid modes are LOCAL
REPL_ASYNC
@@ -19,13 +19,13 @@
<!-- Number of milliseconds to wait until all responses for a
synchronous call have been received.
-->
- <attribute name="SyncReplTimeout">10000</attribute>
+ <attribute name="SyncReplTimeout">16000</attribute>
<!-- Max number of milliseconds to wait for a lock acquisition -->
<attribute name="LockAcquisitionTimeout">15000</attribute>
<!-- Name of the eviction policy class. -->
- <attribute name="EvictionPolicyClass">org.jboss.ejb3.cache.tree.StatefulEvictionPolicy</attribute>
+ <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
<!-- Specific eviction policy configurations. This is LRU -->
<attribute name="EvictionPolicyConfig">
@@ -49,11 +49,10 @@
<!-- we can now have multiple cache loaders, which get chained -->
<cacheloader>
- <class>org.jboss.ejb3.cache.tree.StatefulCacheLoader</class>
- <!-- same as the old CacheLoaderConfig attribute -->
- <properties>
- location=server/all/tmp/stateful
- </properties>
+ <class>org.jboss.cache.loader.FileCacheLoader</class>
+ <properties>
+ location=${jboss.server.data.dir}${/}sfsb-test
+ </properties>
<!-- whether the cache loader writes are asynchronous -->
<async>false</async>
<!-- only one cache loader in the chain may set fetchPersistentState to true.
More information about the jboss-cvs-commits
mailing list