[jbosscache-commits] JBoss Cache SVN: r4436 - in core/trunk/src: main/resources/META-INF and 2 other directories.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Aug 24 13:11:32 EDT 2007


Author: genman
Date: 2007-08-24 13:11:30 -0400 (Fri, 24 Aug 2007)
New Revision: 4436

Added:
   core/trunk/src/main/resources/META-INF/
   core/trunk/src/main/resources/META-INF/buddyreplication-service.xml
   core/trunk/src/main/resources/META-INF/hibernate-recommended-config.xml
   core/trunk/src/main/resources/META-INF/jdbcCacheLoader-service.xml
   core/trunk/src/main/resources/META-INF/local-elementsize-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-eviction-cacheloader-service.xml
   core/trunk/src/main/resources/META-INF/local-expiration-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-fifo-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-lfu-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-lru-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-mru-eviction-service.xml
   core/trunk/src/main/resources/META-INF/local-passivation-service.xml
   core/trunk/src/main/resources/META-INF/local-service.xml
   core/trunk/src/main/resources/META-INF/local-tx-service.xml
   core/trunk/src/main/resources/META-INF/mixedPolicy-eviction-service.xml
   core/trunk/src/main/resources/META-INF/mux-service.xml
   core/trunk/src/main/resources/META-INF/optimistic-eviction.xml
   core/trunk/src/main/resources/META-INF/pojocache-passivation-service.xml
   core/trunk/src/main/resources/META-INF/pojocache-passivation-service2.xml
   core/trunk/src/main/resources/META-INF/policyPerRegion-eviction-service.xml
   core/trunk/src/main/resources/META-INF/replAsync-service.xml
   core/trunk/src/main/resources/META-INF/replSync-passivation-service.xml
   core/trunk/src/main/resources/META-INF/replSync-service-test.xml
   core/trunk/src/main/resources/META-INF/replSync-service.xml
   core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml
   core/trunk/src/main/resources/META-INF/tree-service.xml
   core/trunk/src/test/resources/META-INF/
   core/trunk/src/test/resources/META-INF/unit-test-cache-service.xml
   core/trunk/src/test/resources/log4j.release.xml
   core/trunk/src/test/resources/log4j.xml
Removed:
   core/trunk/src/main/resources/buddyreplication-service.xml
   core/trunk/src/main/resources/hibernate-recommended-config.xml
   core/trunk/src/main/resources/jdbcCacheLoader-service.xml
   core/trunk/src/main/resources/local-elementsize-eviction-service.xml
   core/trunk/src/main/resources/local-eviction-cacheloader-service.xml
   core/trunk/src/main/resources/local-expiration-eviction-service.xml
   core/trunk/src/main/resources/local-fifo-eviction-service.xml
   core/trunk/src/main/resources/local-lfu-eviction-service.xml
   core/trunk/src/main/resources/local-lru-eviction-service.xml
   core/trunk/src/main/resources/local-mru-eviction-service.xml
   core/trunk/src/main/resources/local-passivation-service.xml
   core/trunk/src/main/resources/local-service.xml
   core/trunk/src/main/resources/local-tx-service.xml
   core/trunk/src/main/resources/log4j.release.xml
   core/trunk/src/main/resources/log4j.xml
   core/trunk/src/main/resources/mixedPolicy-eviction-service.xml
   core/trunk/src/main/resources/mux-service.xml
   core/trunk/src/main/resources/optimistic-eviction.xml
   core/trunk/src/main/resources/pojocache-passivation-service.xml
   core/trunk/src/main/resources/pojocache-passivation-service2.xml
   core/trunk/src/main/resources/policyPerRegion-eviction-service.xml
   core/trunk/src/main/resources/replAsync-service.xml
   core/trunk/src/main/resources/replSync-passivation-service.xml
   core/trunk/src/main/resources/replSync-service.xml
   core/trunk/src/main/resources/tcp-cacheserver-service.xml
   core/trunk/src/main/resources/tree-service.xml
   core/trunk/src/main/resources/unit-test-cache-service.xml
   core/trunk/src/test/resources/replSync-service-test.xml
Log:
Move cache configurations into the META-INF directories


Copied: core/trunk/src/main/resources/META-INF/buddyreplication-service.xml (from rev 4435, core/trunk/src/main/resources/buddyreplication-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/buddyreplication-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/buddyreplication-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=testTreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+
+      <!-- Buddy Replication config -->
+      <attribute name="BuddyReplicationConfig">
+         <config>
+            <buddyReplicationEnabled>true</buddyReplicationEnabled>
+            <!-- these are the default values anyway -->
+            <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
+            <!-- numBuddies is the number of backup nodes each node maintains.  ignoreColocatedBuddies means that
+     each node will *try* to select a buddy on a different physical host.  If not able to do so though,
+     it will fall back to colocated nodes. -->
+            <buddyLocatorProperties>
+               numBuddies = 1
+               ignoreColocatedBuddies = true
+            </buddyLocatorProperties>
+
+            <!-- A way to specify a preferred replication group.  If specified, we try and pick a buddy why shares
+    the same pool name (falling back to other buddies if not available).  This allows the sysdmin to hint at
+    backup buddies are picked, so for example, nodes may be hinted topick buddies on a different physical rack
+    or power supply for added fault tolerance.  -->
+            <buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>
+            <!-- communication timeout for inter-buddy group organisation messages (such as assigning to and removing
+          from groups -->
+            <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
+
+            <!-- the following three elements, all relating to data gravitation, default to false -->
+            <!-- Should data gravitation be attempted whenever there is a cache miss on finding a node?
+If false, data will only be gravitated if an Option is set enabling it -->
+            <autoDataGravitation>false</autoDataGravitation>
+            <!-- removes data on remote caches' trees and backup subtrees when gravitated to a new data owner -->
+            <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
+            <!-- search backup subtrees as well for data when gravitating.  Results in backup nodes being able to
+        answer data gravitation requests. -->
+            <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
+
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/hibernate-recommended-config.xml (from rev 4435, core/trunk/src/main/resources/hibernate-recommended-config.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/hibernate-recommended-config.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/hibernate-recommended-config.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--  Recommended for use as Hibernate's 2nd Level Cache                   -->
+<!--  For use with JBossCache >= 1.3.0 ONLY!!!                             -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking scheme:
+              OPTIMISTIC
+              PESSIMISTIC (default)
+      -->
+      <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
+
+      <!--
+          Note that this attribute is IGNORED if your NodeLockingScheme above is OPTIMISTIC.
+
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <!-- This should ideally be set to INVALIDATION_ASYNC but due to JBCACHE-806 this has to be REPL_ASYNC for now -->
+      <attribute name="CacheMode">REPL_ASYNC</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <!-- UDP: if you have a multihomed machine,
+  set the bind_addr attribute to the appropriate NIC IP address -->
+            <!-- UDP: On Windows machines, because of the media sense feature
+      being broken with multicast (even after disabling media sense)
+      set the loopback attribute to true -->
+            <UDP mcast_addr="228.1.2.3" mcast_port="48866"
+                 ip_ttl="64" ip_mcast="true"
+                 mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
+                 ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
+                 loopback="false"/>
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 min_interval="10000" max_interval="20000"/>
+            <!--        <FD shun="true"/>-->
+            <FD_SOCK/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+                           max_xmit_size="8192"/>
+            <UNICAST timeout="600,1200,2400"/>
+            <pbcast.STABLE desired_avg_gossip="20000"/>
+            <FRAG frag_size="8192"/>
+            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+                        shun="true" print_local_addr="true"/>
+            <pbcast.STATE_TRANSFER/>
+         </config>
+      </attribute>
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+      -->
+      <attribute name="FetchInMemoryState">false</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+
+   </mbean>
+</server>

Copied: core/trunk/src/main/resources/META-INF/jdbcCacheLoader-service.xml (from rev 4435, core/trunk/src/main/resources/jdbcCacheLoader-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/jdbcCacheLoader-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/jdbcCacheLoader-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          DataNode locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+      Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">60000</attribute>
+
+      <!--
+      Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">100</attribute>
+
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties. Can also be a URL,
+           e.g. file:/home/bela/default.xml
+         <attribute name="ClusterProperties"></attribute>
+      -->
+
+      <attribute name="ClusterConfig">
+         <config>
+            <!-- UDP: if you have a multihomed machine,
+  set the bind_addr attribute to the appropriate NIC IP address -->
+            <!-- UDP: On Windows machines, because of the media sense feature
+      being broken with multicast (even after disabling media sense)
+      set the loopback attribute to true -->
+            <UDP mcast_addr="230.8.8.8" mcast_port="56677"
+                 ip_ttl="32" ip_mcast="true"
+                 mcast_send_buf_size="80000" mcast_recv_buf_size="150000"
+                 ucast_send_buf_size="80000" ucast_recv_buf_size="150000"
+                 loopback="false"/>
+            <PING timeout="2000" num_initial_members="3"
+                  up_thread="false" down_thread="false"/>
+            <MERGE2 min_interval="10000" max_interval="20000"/>
+            <FD shun="true" up_thread="true" down_thread="true"/>
+            <VERIFY_SUSPECT timeout="1500"
+                            up_thread="false" down_thread="false"/>
+            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+                           max_xmit_size="8192" up_thread="false" down_thread="false"/>
+            <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
+                     down_thread="false"/>
+            <pbcast.STABLE desired_avg_gossip="20000"
+                           up_thread="false" down_thread="false"/>
+            <FRAG frag_size="8192"
+                  down_thread="false" up_thread="false"/>
+            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+                        shun="true" print_local_addr="true"/>
+            <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">15000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+
+      <!-- Cache Passivation for Tree Cache
+On pasivation, The objects are written to the backend store on eviction if CacheLoaderPassivation
+is true, otheriwse the objects are persisted.
+On activation, the objects are restored in the memory cache and removed from the cache loader
+if CacheLoaderPassivation is true, otherwise the objects are only loaded from the cache loader -->
+
+      <attribute name="CacheLoaderConfiguration">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>false</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.JDBCCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute -->
+               <properties>
+                  cache.jdbc.table.name=jbosscache
+                  cache.jdbc.table.create=true
+                  cache.jdbc.table.drop=true
+                  cache.jdbc.table.primarykey=jbosscache_pk
+                  cache.jdbc.fqn.column=fqn
+                  cache.jdbc.fqn.type=varchar(255)
+                  cache.jdbc.node.column=node
+                  cache.jdbc.node.type=blob
+                  cache.jdbc.parent.column=parent
+                  cache.jdbc.driver=com.mysql.jdbc.Driver
+                  cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
+                  cache.jdbc.user=root
+                  cache.jdbc.password=
+                  cache.jdbc.sql-concat=concat(1,2)
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+               <!-- if set to true, purges the contents of this cache loader when the cache starts up.
+           Defaults to false.  -->
+               <purgeOnStartup>false</purgeOnStartup>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+   </mbean>
+
+
+   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
+   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
+   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
+   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
+   <!--   </mbean>-->
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-elementsize-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-elementsize-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-elementsize-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-elementsize-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.ElementSizePolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="maxElementsPerNode">100</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">10</attribute>
+               <attribute name="maxElementsPerNode">20</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxElementsPerNode">5</attribute>
+            </region>
+            <region name="/test/">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="maxElementsPerNode">1</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-eviction-cacheloader-service.xml (from rev 4381, core/trunk/src/main/resources/local-eviction-cacheloader-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-eviction-cacheloader-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-eviction-cacheloader-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+            <region name="/test">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+            <region name="/maxAgeTest">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">8</attribute>
+               <attribute name="maxAgeSeconds">10</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- New 1.3.x cache loader config block -->
+      <attribute name="CacheLoaderConfig">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>false</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute -->
+               <properties>
+                  location=/tmp/JBossCacheFileCacheLoader
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-expiration-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-expiration-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-expiration-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-expiration-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!-- Specific eviction policy configurations. -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <!-- One second is a good default -->
+            <attribute name="wakeUpIntervalSeconds">1</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.ExpirationPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <!-- This defaults to "expiration" if not specified -->
+               <!--
+               <attribute name="expirationKeyName">expiration</attribute>
+               -->
+            </region>
+            <region name="/org/jboss/data">
+               <!-- Removes the soonest to expire nodes to reduce the region size to at most 250 nodes -->
+               <attribute name="maxNodes">250</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-fifo-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-fifo-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-fifo-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-fifo-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.FIFOPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+            </region>
+            <region name="/test/">
+               <attribute name="maxNodes">10000</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-lfu-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-lfu-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-lfu-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-lfu-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_" policyClass="org.jboss.cache.eviction.LFUPolicy">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="minNodes">10</attribute>
+            </region>
+            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="minNodes">4000</attribute>
+            </region>
+            <region name="/org/jboss/test/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
+               <attribute name="minNodes">5</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>
\ No newline at end of file

Copied: core/trunk/src/main/resources/META-INF/local-lru-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-lru-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-lru-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-lru-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample JBoss Cache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines JBoss Cache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=Cache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+         This configuration is dependent on the JGroups multiplexer being
+         registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+            <region name="/test">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+            <region name="/maxAgeTest">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">8</attribute>
+               <attribute name="maxAgeSeconds">10</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-mru-eviction-service.xml (from rev 4381, core/trunk/src/main/resources/local-mru-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-mru-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-mru-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.MRUPolicy</attribute>
+
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">100</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">250</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">6</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-passivation-service.xml (from rev 4381, core/trunk/src/main/resources/local-passivation-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-passivation-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">100</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- New 1.3.x cache loader config block -->
+      <attribute name="CacheLoaderConfig">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>true</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute
+                  location=/tmp this can be part of the properties.
+                  location=/tmp/JBossCacheFileCacheLoader
+               -->
+               <properties>
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-service.xml (from rev 4381, core/trunk/src/main/resources/local-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+
+      <!-- Configure the TransactionManager -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/local-tx-service.xml (from rev 4381, core/trunk/src/main/resources/local-tx-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/local-tx-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/local-tx-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+
+      <!-- Configure the TransactionManager -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties. Can also be a URL,
+           e.g. file:/home/bela/default.xml
+         <attribute name="ClusterProperties"></attribute>
+      -->
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/mixedPolicy-eviction-service.xml (from rev 4435, core/trunk/src/main/resources/mixedPolicy-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/mixedPolicy-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/mixedPolicy-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.FIFOPolicy">
+               <attribute name="maxNodes">5000</attribute>
+            </region>
+            <region name="/test/" policyClass="org.jboss.cache.eviction.MRUPolicy">
+               <attribute name="maxNodes">10000</attribute>
+            </region>
+            <region name="/maxAgeTest/">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">8</attribute>
+               <attribute name="maxAgeSeconds">10</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/mux-service.xml (from rev 4435, core/trunk/src/main/resources/mux-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/mux-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/mux-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                                                                                            -->
+<!--  Sample TreeCache Service Configuration using Multiplexer                                            -->
+<!--                                                                                                                                            -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=testTreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <depends optional-attribute-name="MultiplexerService"
+               proxy-type="attribute">jgroups.mux:name=Multiplexer
+      </depends>
+      <attribute name="MultiplexerStack">tcp</attribute>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all nodes in a clusters, in order
+           to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/optimistic-eviction.xml (from rev 4435, core/trunk/src/main/resources/optimistic-eviction.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/optimistic-eviction.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/optimistic-eviction.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+      <attribute name="FetchInMemoryState">false</attribute>
+
+      <!--  Whether each interceptor should have an mbean
+registered to capture and display its statistics.  -->
+      <attribute name="UseInterceptorMbeans">true</attribute>
+
+      <!--
+          Node locking scheme:
+              OPTIMISTIC
+              PESSIMISTIC (default)
+      -->
+      <attribute name="NodeLockingScheme">Optimistic</attribute>
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">READ_COMMITTED</attribute>
+
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">Infa-Cache-Cluster</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">1</attribute>
+            <!-- Name of the DEFAULT eviction policy class.-->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <region name="/_default_">
+               <attribute name="maxNodes">10</attribute>
+               <attribute name="timeToLiveSeconds">0</attribute>
+               <attribute name="maxAgeSeconds">0</attribute>
+            </region>
+            <region name="/testingRegion">
+               <attribute name="maxNodes">10</attribute>
+               <attribute name="timeToLiveSeconds">0</attribute>
+               <attribute name="maxAgeSeconds">0</attribute>
+            </region>
+            <region name="/timeBased">
+               <attribute name="maxNodes">10</attribute>
+               <attribute name="timeToLiveSeconds">1</attribute>
+               <attribute name="maxAgeSeconds">1</attribute>
+            </region>
+         </config>
+      </attribute>
+
+   </mbean>
+</server>

Copied: core/trunk/src/main/resources/META-INF/pojocache-passivation-service.xml (from rev 4435, core/trunk/src/main/resources/pojocache-passivation-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/pojocache-passivation-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/pojocache-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <!--
+      PojoCache passivation only allows configuration of global region. If you need to
+      configure multiple regions, you can turn on the marshalling region such that
+      internal JBoss region is stored under the individual region.
+      -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- Cache Loader configuration block -->
+      <attribute name="CacheLoaderConfig">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>true</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute
+                  location=/tmp this can be part of the properties.
+                  location=/tmp/JBossCacheFileCacheLoader
+               -->
+               <properties>
+                  location=pojoloader
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/pojocache-passivation-service2.xml (from rev 4435, core/trunk/src/main/resources/pojocache-passivation-service2.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/pojocache-passivation-service2.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/pojocache-passivation-service2.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <!--
+      PojoCache passivation only allows configuration of global region. If you need to
+      configure multiple regions, you can turn on the marshalling region such that
+      internal JBoss region is stored under the individual region.
+      -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">3</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- Cache Loader configuration block -->
+      <attribute name="CacheLoaderConfig">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>true</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute
+                  location=/tmp this can be part of the properties.
+                  location=/tmp/JBossCacheFileCacheLoader
+               -->
+               <properties>
+                  location=pojoloader2
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/policyPerRegion-eviction-service.xml (from rev 4435, core/trunk/src/main/resources/policyPerRegion-eviction-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/policyPerRegion-eviction-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/policyPerRegion-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_" policyClass="org.jboss.cache.eviction.LRUPolicy">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="minNodes">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data" policyClass="org.jboss.cache.eviction.FIFOPolicy">
+               <attribute name="maxNodes">5</attribute>
+            </region>
+            <region name="/test/" policyClass="org.jboss.cache.eviction.MRUPolicy">
+               <attribute name="maxNodes">10000</attribute>
+            </region>
+            <region name="/maxAgeTest/" policyClass="org.jboss.cache.eviction.LRUPolicy">
+               <attribute name="maxNodes">10000</attribute>
+               <attribute name="timeToLiveSeconds">8</attribute>
+               <attribute name="maxAgeSeconds">10</attribute>
+            </region>
+         </config>
+      </attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/replAsync-service.xml (from rev 4381, core/trunk/src/main/resources/replAsync-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/replAsync-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/replAsync-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">REPL_ASYNC</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+      -->
+      <attribute name="FetchInMemoryState">true</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+
+   </mbean>
+
+
+   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
+   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
+   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
+   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
+   <!--   </mbean>-->
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/replSync-passivation-service.xml (from rev 4381, core/trunk/src/main/resources/replSync-passivation-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/replSync-passivation-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/replSync-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <!-- This defaults to 200000 if not specified -->
+            <attribute name="eventQueueSize">200000</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">100</attribute>
+               <attribute name="timeToLiveSeconds">3</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- New 1.3.x cache loader config block -->
+      <attribute name="CacheLoaderConfiguration">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>true</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute
+                  location=/tmp this can be part of the properties.
+               -->
+               <properties>
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+   </mbean>
+
+
+</server>

Added: core/trunk/src/main/resources/META-INF/replSync-service-test.xml
===================================================================
--- core/trunk/src/main/resources/META-INF/replSync-service-test.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/replSync-service-test.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+      -->
+      <attribute name="FetchInMemoryState">true</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">15000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">true</attribute>
+   </mbean>
+
+
+   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
+   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
+   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
+   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
+   <!--   </mbean>-->
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/replSync-service.xml (from rev 4381, core/trunk/src/main/resources/replSync-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/replSync-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/replSync-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+This configuration is dependent on the JGroups multiplexer being
+registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!-- JGroups protocol stack properties.
+         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
+      -->
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="false"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="true"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="true"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <FD timeout="10000" max_tries="5" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="5000"
+                        join_retry_timeout="2000" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="5000"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </attribute>
+
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+      -->
+      <attribute name="FetchInMemoryState">true</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">15000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">true</attribute>
+   </mbean>
+
+
+   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
+   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
+   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
+   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
+   <!--   </mbean>-->
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml (from rev 4435, core/trunk/src/main/resources/tcp-cacheserver-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar"/>
+
+   <mbean code="org.jboss.cache.loader.tcp.TcpCacheServer" name="jboss.cache:service=TcpCacheServer">
+      <depends optional-attribute-name="CacheJmxWrapper"
+               proxy-type="attribute">jboss.cache:service=TreeCache</depends>
+      <attribute name="BindAddress">${jboss.bind.address:localhost}</attribute>
+      <attribute name="Port">7500</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!-- Configure the TransactionManager -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup</attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+   </mbean>
+   
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/tree-service.xml (from rev 4435, core/trunk/src/main/resources/tree-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/tree-service.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/tree-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample TreeCache Service Configuration                               -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--uncomment next three statements if using JGroups multiplexer in a cluster environment -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          DataNode locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!--
+      Specifies whether each interceptor should have an associated
+       mbean registered.  Interceptor mbeans are used to capture and display
+       associated statistics.  Statistics can be disabled for individual
+      interceptors through their mbeans.
+      -->
+      <attribute name="ExposeManagementStatistics">true</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+      Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">60000</attribute>
+
+      <!--
+      Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">100</attribute>
+
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties. Can also be a URL,
+           e.g. file:/home/bela/default.xml
+         <attribute name="ClusterProperties"></attribute>
+      -->
+
+      <attribute name="ClusterConfig">
+         <config>
+            <!-- UDP: if you have a multihomed machine,
+  set the bind_addr attribute to the appropriate NIC IP address -->
+            <!-- UDP: On Windows machines, because of the media sense feature
+      being broken with multicast (even after disabling media sense)
+      set the loopback attribute to true -->
+            <UDP mcast_addr="230.8.8.8" mcast_port="56677"
+                 ip_ttl="32" ip_mcast="true"
+                 mcast_send_buf_size="80000" mcast_recv_buf_size="150000"
+                 ucast_send_buf_size="80000" ucast_recv_buf_size="150000"
+                 loopback="false"/>
+            <PING timeout="2000" num_initial_members="3"
+                  up_thread="false" down_thread="false"/>
+            <MERGE2 min_interval="10000" max_interval="20000"/>
+            <FD shun="true" up_thread="true" down_thread="true"/>
+            <VERIFY_SUSPECT timeout="1500"
+                            up_thread="false" down_thread="false"/>
+            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+                           max_xmit_size="8192" up_thread="false" down_thread="false"/>
+            <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
+                     down_thread="false"/>
+            <pbcast.STABLE desired_avg_gossip="20000"
+                           up_thread="false" down_thread="false"/>
+            <FRAG frag_size="8192"
+                  down_thread="false" up_thread="false"/>
+            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+                        shun="true" print_local_addr="true"/>
+            <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
+         </config>
+      </attribute>
+
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment.
+      -->
+      <attribute name="StateRetrievalTimeout">15000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+
+   </mbean>
+
+   <!-- Uncomment to bind TreeCache into JNDI as MyCache
+  <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+      name="mydomain:service=proxyFactory,type=jrmp,target=factory">
+      <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+      <attribute name="TargetName">jboss.cache:service=TreeCache</attribute>
+      <attribute name="JndiName">MyCache</attribute>
+      <attribute name="InvokeTargetMethod">true</attribute>
+      <attribute name="ExportedInterface">org.jboss.cache.TreeCacheMBean</attribute>
+      <attribute name="ClientInterceptors">
+         <iterceptors>
+            <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+         </iterceptors> </attribute>
+      <depends>jboss:service=invoker,type=jrmp</depends>
+      <depends>jboss.cache:service=TreeCache</depends>
+   </mbean>-->
+
+
+   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
+   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
+   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
+   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
+   <!--   </mbean>-->
+
+
+</server>

Deleted: core/trunk/src/main/resources/buddyreplication-service.xml
===================================================================
--- core/trunk/src/main/resources/buddyreplication-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/buddyreplication-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,182 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
-
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=testTreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-
-      <!-- Buddy Replication config -->
-      <attribute name="BuddyReplicationConfig">
-         <config>
-            <buddyReplicationEnabled>true</buddyReplicationEnabled>
-            <!-- these are the default values anyway -->
-            <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
-            <!-- numBuddies is the number of backup nodes each node maintains.  ignoreColocatedBuddies means that
-     each node will *try* to select a buddy on a different physical host.  If not able to do so though,
-     it will fall back to colocated nodes. -->
-            <buddyLocatorProperties>
-               numBuddies = 1
-               ignoreColocatedBuddies = true
-            </buddyLocatorProperties>
-
-            <!-- A way to specify a preferred replication group.  If specified, we try and pick a buddy why shares
-    the same pool name (falling back to other buddies if not available).  This allows the sysdmin to hint at
-    backup buddies are picked, so for example, nodes may be hinted topick buddies on a different physical rack
-    or power supply for added fault tolerance.  -->
-            <buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>
-            <!-- communication timeout for inter-buddy group organisation messages (such as assigning to and removing
-          from groups -->
-            <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
-
-            <!-- the following three elements, all relating to data gravitation, default to false -->
-            <!-- Should data gravitation be attempted whenever there is a cache miss on finding a node?
-If false, data will only be gravitated if an Option is set enabling it -->
-            <autoDataGravitation>false</autoDataGravitation>
-            <!-- removes data on remote caches' trees and backup subtrees when gravitated to a new data owner -->
-            <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
-            <!-- search backup subtrees as well for data when gravitating.  Results in backup nodes being able to
-        answer data gravitation requests. -->
-            <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
-
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/hibernate-recommended-config.xml
===================================================================
--- core/trunk/src/main/resources/hibernate-recommended-config.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/hibernate-recommended-config.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,147 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--  Recommended for use as Hibernate's 2nd Level Cache                   -->
-<!--  For use with JBossCache >= 1.3.0 ONLY!!!                             -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking scheme:
-              OPTIMISTIC
-              PESSIMISTIC (default)
-      -->
-      <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
-
-      <!--
-          Note that this attribute is IGNORED if your NodeLockingScheme above is OPTIMISTIC.
-
-          Isolation level : SERIALIZABLE
-                            REPEATABLE_READ (default)
-                            READ_COMMITTED
-                            READ_UNCOMMITTED
-                            NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <!-- This should ideally be set to INVALIDATION_ASYNC but due to JBCACHE-806 this has to be REPL_ASYNC for now -->
-      <attribute name="CacheMode">REPL_ASYNC</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-          Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">0</attribute>
-
-      <!--
-          Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">0</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <!-- UDP: if you have a multihomed machine,
-  set the bind_addr attribute to the appropriate NIC IP address -->
-            <!-- UDP: On Windows machines, because of the media sense feature
-      being broken with multicast (even after disabling media sense)
-      set the loopback attribute to true -->
-            <UDP mcast_addr="228.1.2.3" mcast_port="48866"
-                 ip_ttl="64" ip_mcast="true"
-                 mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
-                 ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
-                 loopback="false"/>
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 min_interval="10000" max_interval="20000"/>
-            <!--        <FD shun="true"/>-->
-            <FD_SOCK/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
-                           max_xmit_size="8192"/>
-            <UNICAST timeout="600,1200,2400"/>
-            <pbcast.STABLE desired_avg_gossip="20000"/>
-            <FRAG frag_size="8192"/>
-            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
-                        shun="true" print_local_addr="true"/>
-            <pbcast.STATE_TRANSFER/>
-         </config>
-      </attribute>
-
-      <!--
-       Whether or not to fetch state on joining a cluster
-       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
-      -->
-      <attribute name="FetchInMemoryState">false</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-
-   </mbean>
-</server>

Deleted: core/trunk/src/main/resources/jdbcCacheLoader-service.xml
===================================================================
--- core/trunk/src/main/resources/jdbcCacheLoader-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/jdbcCacheLoader-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,185 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
-
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          DataNode locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-      Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">60000</attribute>
-
-      <!--
-      Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">100</attribute>
-
-
-      <!-- Name of cluster. Needs to be the same for all clusters, in order
-           to find each other
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties. Can also be a URL,
-           e.g. file:/home/bela/default.xml
-         <attribute name="ClusterProperties"></attribute>
-      -->
-
-      <attribute name="ClusterConfig">
-         <config>
-            <!-- UDP: if you have a multihomed machine,
-  set the bind_addr attribute to the appropriate NIC IP address -->
-            <!-- UDP: On Windows machines, because of the media sense feature
-      being broken with multicast (even after disabling media sense)
-      set the loopback attribute to true -->
-            <UDP mcast_addr="230.8.8.8" mcast_port="56677"
-                 ip_ttl="32" ip_mcast="true"
-                 mcast_send_buf_size="80000" mcast_recv_buf_size="150000"
-                 ucast_send_buf_size="80000" ucast_recv_buf_size="150000"
-                 loopback="false"/>
-            <PING timeout="2000" num_initial_members="3"
-                  up_thread="false" down_thread="false"/>
-            <MERGE2 min_interval="10000" max_interval="20000"/>
-            <FD shun="true" up_thread="true" down_thread="true"/>
-            <VERIFY_SUSPECT timeout="1500"
-                            up_thread="false" down_thread="false"/>
-            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
-                           max_xmit_size="8192" up_thread="false" down_thread="false"/>
-            <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
-                     down_thread="false"/>
-            <pbcast.STABLE desired_avg_gossip="20000"
-                           up_thread="false" down_thread="false"/>
-            <FRAG frag_size="8192"
-                  down_thread="false" up_thread="false"/>
-            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
-                        shun="true" print_local_addr="true"/>
-            <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">15000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-
-      <!-- Cache Passivation for Tree Cache
-On pasivation, The objects are written to the backend store on eviction if CacheLoaderPassivation
-is true, otheriwse the objects are persisted.
-On activation, the objects are restored in the memory cache and removed from the cache loader
-if CacheLoaderPassivation is true, otherwise the objects are only loaded from the cache loader -->
-
-      <attribute name="CacheLoaderConfiguration">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>false</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.JDBCCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute -->
-               <properties>
-                  cache.jdbc.table.name=jbosscache
-                  cache.jdbc.table.create=true
-                  cache.jdbc.table.drop=true
-                  cache.jdbc.table.primarykey=jbosscache_pk
-                  cache.jdbc.fqn.column=fqn
-                  cache.jdbc.fqn.type=varchar(255)
-                  cache.jdbc.node.column=node
-                  cache.jdbc.node.type=blob
-                  cache.jdbc.parent.column=parent
-                  cache.jdbc.driver=com.mysql.jdbc.Driver
-                  cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
-                  cache.jdbc.user=root
-                  cache.jdbc.password=
-                  cache.jdbc.sql-concat=concat(1,2)
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-               <!-- if set to true, purges the contents of this cache loader when the cache starts up.
-           Defaults to false.  -->
-               <purgeOnStartup>false</purgeOnStartup>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-   </mbean>
-
-
-   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
-   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
-   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
-   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
-   <!--   </mbean>-->
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-elementsize-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-elementsize-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-elementsize-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.ElementSizePolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="maxElementsPerNode">100</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">10</attribute>
-               <attribute name="maxElementsPerNode">20</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxElementsPerNode">5</attribute>
-            </region>
-            <region name="/test/">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="maxElementsPerNode">1</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-eviction-cacheloader-service.xml
===================================================================
--- core/trunk/src/main/resources/local-eviction-cacheloader-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-eviction-cacheloader-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,129 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all clusters, in order
-           to find each other
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-            <region name="/test">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-            <region name="/maxAgeTest">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">8</attribute>
-               <attribute name="maxAgeSeconds">10</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- New 1.3.x cache loader config block -->
-      <attribute name="CacheLoaderConfig">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>false</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute -->
-               <properties>
-                  location=/tmp/JBossCacheFileCacheLoader
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-expiration-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-expiration-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-expiration-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!-- Specific eviction policy configurations. -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <!-- One second is a good default -->
-            <attribute name="wakeUpIntervalSeconds">1</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.ExpirationPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <!-- This defaults to "expiration" if not specified -->
-               <!--
-               <attribute name="expirationKeyName">expiration</attribute>
-               -->
-            </region>
-            <region name="/org/jboss/data">
-               <!-- Removes the soonest to expire nodes to reduce the region size to at most 250 nodes -->
-               <attribute name="maxNodes">250</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-fifo-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-fifo-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-fifo-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.FIFOPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-            </region>
-            <region name="/test/">
-               <attribute name="maxNodes">10000</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-lfu-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-lfu-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-lfu-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_" policyClass="org.jboss.cache.eviction.LFUPolicy">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="minNodes">10</attribute>
-            </region>
-            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="minNodes">4000</attribute>
-            </region>
-            <region name="/org/jboss/test/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
-               <attribute name="minNodes">5</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>
\ No newline at end of file

Deleted: core/trunk/src/main/resources/local-lru-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-lru-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-lru-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample JBoss Cache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines JBoss Cache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=Cache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-         This configuration is dependent on the JGroups multiplexer being
-         registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-            <region name="/test">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-            <region name="/maxAgeTest">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">8</attribute>
-               <attribute name="maxAgeSeconds">10</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-mru-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/local-mru-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-mru-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.MRUPolicy</attribute>
-
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">100</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">250</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">6</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-passivation-service.xml
===================================================================
--- core/trunk/src/main/resources/local-passivation-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">100</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- New 1.3.x cache loader config block -->
-      <attribute name="CacheLoaderConfig">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>true</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute
-                  location=/tmp this can be part of the properties.
-                  location=/tmp/JBossCacheFileCacheLoader
-               -->
-               <properties>
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-service.xml
===================================================================
--- core/trunk/src/main/resources/local-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-
-      <!-- Configure the TransactionManager -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/local-tx-service.xml
===================================================================
--- core/trunk/src/main/resources/local-tx-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/local-tx-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-
-      <!-- Configure the TransactionManager -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all clusters, in order
-           to find each other
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties. Can also be a URL,
-           e.g. file:/home/bela/default.xml
-         <attribute name="ClusterProperties"></attribute>
-      -->
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/log4j.release.xml
===================================================================
--- core/trunk/src/main/resources/log4j.release.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/log4j.release.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Log4j Configuration                                                  -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<!-- $Id$ -->
-
-<!--
-   | For more configuration infromation and examples see the Jakarta Log4j
-   | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
-   <!-- ================================= -->
-   <!-- Preserve messages in a local file -->
-   <!-- ================================= -->
-
-   <!-- A time/date based rolling appender -->
-   <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
-      <param name="File" value="/tmp/jbosscache.log"/>
-      <param name="Append" value="true"/>
-
-      <!-- Rollover at midnight each day -->
-      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
-
-      <!-- Rollover at the top of each hour
-      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-      -->
-      <param name="Threshold" value="DEBUG"/>
-
-      <layout class="org.apache.log4j.PatternLayout">
-         <!-- The default pattern: Date Priority [Category] Message\n -->
-         <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
-
-         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
-        <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-         -->
-      </layout>
-   </appender>
-
-   <!-- ============================== -->
-   <!-- Append messages to the console -->
-   <!-- ============================== -->
-
-   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
-      <param name="Threshold" value="TRACE"/>
-      <param name="Target" value="System.out"/>
-
-      <layout class="org.apache.log4j.PatternLayout">
-         <!-- The default pattern: Date Priority [Category] Message\n -->
-         <param name="ConversionPattern" value="%d %-5p [%c{1}] (%t) %m%n"/>
-      </layout>
-   </appender>
-
-
-   <!-- ================ -->
-   <!-- Limit categories -->
-   <!-- ================ -->
-
-   <category name="org.jboss.cache">
-      <priority value="INFO"/>
-   </category>
-
-   <category name="org.jboss.serial">
-      <priority value="WARN"/>
-   </category>
-
-   <category name="org.jboss.tm">
-      <priority value="WARN"/>
-   </category>
-
-   <category name="org.jgroups">
-      <priority value="WARN"/>
-   </category>
-
-   <!-- ======================= -->
-   <!-- Setup the Root category -->
-   <!-- ======================= -->
-
-   <root>
-      <!--<appender-ref ref="CONSOLE"/>-->
-      <appender-ref ref="FILE"/>
-   </root>
-
-</log4j:configuration>

Deleted: core/trunk/src/main/resources/log4j.xml
===================================================================
--- core/trunk/src/main/resources/log4j.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/log4j.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Log4j Configuration                                                  -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<!-- $Id$ -->
-
-<!--
-   | For more configuration infromation and examples see the Jakarta Log4j
-   | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
-   <!-- ================================= -->
-   <!-- Preserve messages in a local file -->
-   <!-- ================================= -->
-
-   <!-- A time/date based rolling appender -->
-   <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
-      <param name="File" value="output/jbosscache.log"/>
-      <param name="Append" value="true"/>
-
-      <!-- Rollover at midnight each day -->
-      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
-
-      <!-- Rollover at the top of each hour
-      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-      -->
-      <param name="Threshold" value="DEBUG"/>
-
-      <layout class="org.apache.log4j.PatternLayout">
-         <!-- The default pattern: Date Priority [Category] Message\n -->
-         <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
-
-         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
-        <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-         -->
-      </layout>
-   </appender>
-
-   <!-- ============================== -->
-   <!-- Append messages to the console -->
-   <!-- ============================== -->
-
-   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
-      <param name="Threshold" value="TRACE"/>
-      <param name="Target" value="System.out"/>
-
-      <layout class="org.apache.log4j.PatternLayout">
-         <!-- The default pattern: Date Priority [Category] Message\n -->
-         <param name="ConversionPattern" value="%d %-5p [%c{1}] (%t) %m%n"/>
-      </layout>
-   </appender>
-
-
-   <!-- ================ -->
-   <!-- Limit categories -->
-   <!-- ================ -->
-
-   <!-- Limit JBoss categories to INFO
-   <category name="org.jboss">
-     <priority value="INFO"/>
-   </category>
-   -->
-
-   <category name="org.jboss.cache">
-      <priority value="ERROR"/>
-   </category>
-
-   <category name="org.jboss.tm">
-      <priority value="ERROR"/>
-   </category>
-
-   <category name="org.jgroups">
-      <priority value="ERROR"/>
-   </category>
-
-   <!-- ======================= -->
-   <!-- Setup the Root category -->
-   <!-- ======================= -->
-
-   <root>
-      <priority value="ERROR"/>
-      <!-- appender-ref ref="CONSOLE"/> -->
-      <!--<appender-ref ref="FILE"/>-->
-   </root>
-
-</log4j:configuration>

Deleted: core/trunk/src/main/resources/mixedPolicy-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/mixedPolicy-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/mixedPolicy-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.FIFOPolicy">
-               <attribute name="maxNodes">5000</attribute>
-            </region>
-            <region name="/test/" policyClass="org.jboss.cache.eviction.MRUPolicy">
-               <attribute name="maxNodes">10000</attribute>
-            </region>
-            <region name="/maxAgeTest/">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">8</attribute>
-               <attribute name="maxAgeSeconds">10</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/mux-service.xml
===================================================================
--- core/trunk/src/main/resources/mux-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/mux-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                                                                                            -->
-<!--  Sample TreeCache Service Configuration using Multiplexer                                            -->
-<!--                                                                                                                                            -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=testTreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <depends optional-attribute-name="MultiplexerService"
-               proxy-type="attribute">jgroups.mux:name=Multiplexer
-      </depends>
-      <attribute name="MultiplexerStack">tcp</attribute>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all nodes in a clusters, in order
-           to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/optimistic-eviction.xml
===================================================================
--- core/trunk/src/main/resources/optimistic-eviction.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/optimistic-eviction.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-      <attribute name="FetchInMemoryState">false</attribute>
-
-      <!--  Whether each interceptor should have an mbean
-registered to capture and display its statistics.  -->
-      <attribute name="UseInterceptorMbeans">true</attribute>
-
-      <!--
-          Node locking scheme:
-              OPTIMISTIC
-              PESSIMISTIC (default)
-      -->
-      <attribute name="NodeLockingScheme">Optimistic</attribute>
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">READ_COMMITTED</attribute>
-
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all clusters, in order
-           to find each other
-      -->
-      <attribute name="ClusterName">Infa-Cache-Cluster</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">1</attribute>
-            <!-- Name of the DEFAULT eviction policy class.-->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <region name="/_default_">
-               <attribute name="maxNodes">10</attribute>
-               <attribute name="timeToLiveSeconds">0</attribute>
-               <attribute name="maxAgeSeconds">0</attribute>
-            </region>
-            <region name="/testingRegion">
-               <attribute name="maxNodes">10</attribute>
-               <attribute name="timeToLiveSeconds">0</attribute>
-               <attribute name="maxAgeSeconds">0</attribute>
-            </region>
-            <region name="/timeBased">
-               <attribute name="maxNodes">10</attribute>
-               <attribute name="timeToLiveSeconds">1</attribute>
-               <attribute name="maxAgeSeconds">1</attribute>
-            </region>
-         </config>
-      </attribute>
-
-   </mbean>
-</server>

Deleted: core/trunk/src/main/resources/pojocache-passivation-service.xml
===================================================================
--- core/trunk/src/main/resources/pojocache-passivation-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/pojocache-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <!--
-      PojoCache passivation only allows configuration of global region. If you need to
-      configure multiple regions, you can turn on the marshalling region such that
-      internal JBoss region is stored under the individual region.
-      -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- Cache Loader configuration block -->
-      <attribute name="CacheLoaderConfig">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>true</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute
-                  location=/tmp this can be part of the properties.
-                  location=/tmp/JBossCacheFileCacheLoader
-               -->
-               <properties>
-                  location=pojoloader
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/pojocache-passivation-service2.xml
===================================================================
--- core/trunk/src/main/resources/pojocache-passivation-service2.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/pojocache-passivation-service2.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <!--
-      PojoCache passivation only allows configuration of global region. If you need to
-      configure multiple regions, you can turn on the marshalling region such that
-      internal JBoss region is stored under the individual region.
-      -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">3</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- Cache Loader configuration block -->
-      <attribute name="CacheLoaderConfig">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>true</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute
-                  location=/tmp this can be part of the properties.
-                  location=/tmp/JBossCacheFileCacheLoader
-               -->
-               <properties>
-                  location=pojoloader2
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/policyPerRegion-eviction-service.xml
===================================================================
--- core/trunk/src/main/resources/policyPerRegion-eviction-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/policyPerRegion-eviction-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_" policyClass="org.jboss.cache.eviction.LRUPolicy">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data" policyClass="org.jboss.cache.eviction.LFUPolicy">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="minNodes">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data" policyClass="org.jboss.cache.eviction.FIFOPolicy">
-               <attribute name="maxNodes">5</attribute>
-            </region>
-            <region name="/test/" policyClass="org.jboss.cache.eviction.MRUPolicy">
-               <attribute name="maxNodes">10000</attribute>
-            </region>
-            <region name="/maxAgeTest/" policyClass="org.jboss.cache.eviction.LRUPolicy">
-               <attribute name="maxNodes">10000</attribute>
-               <attribute name="timeToLiveSeconds">8</attribute>
-               <attribute name="maxAgeSeconds">10</attribute>
-            </region>
-         </config>
-      </attribute>
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/replAsync-service.xml
===================================================================
--- core/trunk/src/main/resources/replAsync-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/replAsync-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,176 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-      <!--
-          Isolation level : SERIALIZABLE
-                            REPEATABLE_READ (default)
-                            READ_COMMITTED
-                            READ_UNCOMMITTED
-                            NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">REPL_ASYNC</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-          Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">0</attribute>
-
-      <!--
-          Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">0</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-      <!--
-       Whether or not to fetch state on joining a cluster
-       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
-      -->
-      <attribute name="FetchInMemoryState">true</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-
-   </mbean>
-
-
-   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
-   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
-   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
-   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
-   <!--   </mbean>-->
-
-
-</server>

Deleted: core/trunk/src/main/resources/replSync-passivation-service.xml
===================================================================
--- core/trunk/src/main/resources/replSync-passivation-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/replSync-passivation-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,191 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">20000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">20000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">15000</attribute>
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">5</attribute>
-            <!-- This defaults to 200000 if not specified -->
-            <attribute name="eventQueueSize">200000</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">100</attribute>
-               <attribute name="timeToLiveSeconds">3</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- New 1.3.x cache loader config block -->
-      <attribute name="CacheLoaderConfiguration">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>true</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute
-                  location=/tmp this can be part of the properties.
-               -->
-               <properties>
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-   </mbean>
-
-
-</server>

Deleted: core/trunk/src/main/resources/replSync-service.xml
===================================================================
--- core/trunk/src/main/resources/replSync-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/replSync-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-      <!--
-          Isolation level : SERIALIZABLE
-                            REPEATABLE_READ (default)
-                            READ_COMMITTED
-                            READ_UNCOMMITTED
-                            NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-          Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">0</attribute>
-
-      <!--
-          Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">0</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-       Whether or not to fetch state on joining a cluster
-       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
-      -->
-      <attribute name="FetchInMemoryState">true</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">15000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">true</attribute>
-   </mbean>
-
-
-   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
-   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
-   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
-   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
-   <!--   </mbean>-->
-
-
-</server>

Deleted: core/trunk/src/main/resources/tcp-cacheserver-service.xml
===================================================================
--- core/trunk/src/main/resources/tcp-cacheserver-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/tcp-cacheserver-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
-
-   <classpath codebase="./lib" archives="jboss-cache.jar"/>
-
-   <mbean code="org.jboss.cache.loader.tcp.TcpCacheServer" name="jboss.cache:service=TcpCacheServer">
-      <depends optional-attribute-name="CacheJmxWrapper"
-               proxy-type="attribute">jboss.cache:service=TreeCache</depends>
-      <attribute name="BindAddress">${jboss.bind.address:localhost}</attribute>
-      <attribute name="Port">7500</attribute>
-   </mbean>
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!-- Configure the TransactionManager -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup</attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-   </mbean>
-   
-
-
-</server>

Deleted: core/trunk/src/main/resources/tree-service.xml
===================================================================
--- core/trunk/src/main/resources/tree-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/tree-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
-
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--uncomment next three statements if using JGroups multiplexer in a cluster environment -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-
-      <!--
-          DataNode locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!--
-      Specifies whether each interceptor should have an associated
-       mbean registered.  Interceptor mbeans are used to capture and display
-       associated statistics.  Statistics can be disabled for individual
-      interceptors through their mbeans.
-      -->
-      <attribute name="ExposeManagementStatistics">true</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-      Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">60000</attribute>
-
-      <!--
-      Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">100</attribute>
-
-
-      <!-- Name of cluster. Needs to be the same for all clusters, in order
-           to find each other
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties. Can also be a URL,
-           e.g. file:/home/bela/default.xml
-         <attribute name="ClusterProperties"></attribute>
-      -->
-
-      <attribute name="ClusterConfig">
-         <config>
-            <!-- UDP: if you have a multihomed machine,
-  set the bind_addr attribute to the appropriate NIC IP address -->
-            <!-- UDP: On Windows machines, because of the media sense feature
-      being broken with multicast (even after disabling media sense)
-      set the loopback attribute to true -->
-            <UDP mcast_addr="230.8.8.8" mcast_port="56677"
-                 ip_ttl="32" ip_mcast="true"
-                 mcast_send_buf_size="80000" mcast_recv_buf_size="150000"
-                 ucast_send_buf_size="80000" ucast_recv_buf_size="150000"
-                 loopback="false"/>
-            <PING timeout="2000" num_initial_members="3"
-                  up_thread="false" down_thread="false"/>
-            <MERGE2 min_interval="10000" max_interval="20000"/>
-            <FD shun="true" up_thread="true" down_thread="true"/>
-            <VERIFY_SUSPECT timeout="1500"
-                            up_thread="false" down_thread="false"/>
-            <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
-                           max_xmit_size="8192" up_thread="false" down_thread="false"/>
-            <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
-                     down_thread="false"/>
-            <pbcast.STABLE desired_avg_gossip="20000"
-                           up_thread="false" down_thread="false"/>
-            <FRAG frag_size="8192"
-                  down_thread="false" up_thread="false"/>
-            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
-                        shun="true" print_local_addr="true"/>
-            <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
-         </config>
-      </attribute>
-
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment.
-      -->
-      <attribute name="StateRetrievalTimeout">15000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-
-   </mbean>
-
-   <!-- Uncomment to bind TreeCache into JNDI as MyCache
-  <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
-      name="mydomain:service=proxyFactory,type=jrmp,target=factory">
-      <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
-      <attribute name="TargetName">jboss.cache:service=TreeCache</attribute>
-      <attribute name="JndiName">MyCache</attribute>
-      <attribute name="InvokeTargetMethod">true</attribute>
-      <attribute name="ExportedInterface">org.jboss.cache.TreeCacheMBean</attribute>
-      <attribute name="ClientInterceptors">
-         <iterceptors>
-            <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
-            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
-            <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
-         </iterceptors> </attribute>
-      <depends>jboss:service=invoker,type=jrmp</depends>
-      <depends>jboss.cache:service=TreeCache</depends>
-   </mbean>-->
-
-
-   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
-   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
-   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
-   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
-   <!--   </mbean>-->
-
-
-</server>

Deleted: core/trunk/src/main/resources/unit-test-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/unit-test-cache-service.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/main/resources/unit-test-cache-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,445 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  This file is not a valid JBoss Cache configuration file !!!          -->
-<!--                                                                       -->
-<!--  It is used only in unit tests. DO NOT use it for any other purpose!  -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-      <!--
-          Isolation level : SERIALIZABLE
-                            REPEATABLE_READ (default)
-                            READ_COMMITTED
-                            READ_UNCOMMITTED
-                            NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-          Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">0</attribute>
-
-      <!--
-          Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">0</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-			This configuration is dependent on the JGroups multiplexer being
-			registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!--
-       Whether or not to fetch state on joining a cluster
-       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
-      -->
-      <attribute name="FetchInMemoryState">true</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">15000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-      <!-- Specific eviction policy configurations. This is LRU -->
-      <attribute name="EvictionPolicyConfig">
-         <config>
-            <attribute name="wakeUpIntervalSeconds">2</attribute>
-            <!-- Name of the DEFAULT eviction policy class. -->
-            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
-
-            <!-- Cache wide default -->
-            <region name="/_default_">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/data">
-               <attribute name="maxNodes">5000</attribute>
-               <attribute name="timeToLiveSeconds">1000</attribute>
-            </region>
-            <region name="/org/jboss/test/data">
-               <attribute name="maxNodes">5</attribute>
-               <attribute name="timeToLiveSeconds">4</attribute>
-            </region>
-         </config>
-      </attribute>
-
-      <!-- New 1.3.x cache loader config block -->
-      <attribute name="CacheLoaderConfiguration">
-         <config>
-            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
-            <passivation>true</passivation>
-            <preload>/</preload>
-            <shared>false</shared>
-
-            <!-- we can now have multiple cache loaders, which get chained -->
-            <cacheloader>
-               <class>org.jboss.cache.loader.FileCacheLoader</class>
-               <!-- same as the old CacheLoaderConfig attribute
-                  location=/tmp this can be part of the properties.
-               -->
-               <properties>
-               </properties>
-               <!-- whether the cache loader writes are asynchronous -->
-               <async>false</async>
-               <!-- only one cache loader in the chain may set fetchPersistentState to true.
- 				An exception is thrown if more than one cache loader sets this to true. -->
-               <fetchPersistentState>true</fetchPersistentState>
-               <!-- determines whether this cache loader ignores writes - defaults to false. -->
-               <ignoreModifications>false</ignoreModifications>
-            </cacheloader>
-
-         </config>
-      </attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-   </mbean>
-
-   <protocol_stacks>
-
-      <stack name="udp"
-             description="Default: IP multicast based stack, with flow control and message bundling">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="true"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="false"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="false"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <!--
-               Note that this is an atypically short timeout and a small number of retries
-               configured this way to speed up unit testing, since we know all nodes run in the same JVM
-               and hence failure detections will be very quick.
-            -->
-            <FD timeout="1000" max_tries="2" shun="true"/>
-            <VERIFY_SUSPECT timeout="250"/>
-            <!-- this is a more typical configuration of FD and VERIFY_SUSPECT-->
-            <!--<FD timeout="10000" max_tries="5" shun="true"/>-->
-            <!--<VERIFY_SUSPECT timeout="1500"/>-->
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="1000"
-                        join_retry_timeout="500" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="1000"/>
-            <FC max_credits="20000000" min_threshold="0.10"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </stack>
-
-      <stack name="udp-sync"
-             description="IP multicast based stack, without flow control and without message bundling. This should be used
-            instead of udp if (1) synchronous calls are used and (2) the message volume (rate and size)
-            is not that large. Don't use this configuration if you send messages at a high sustained rate, or you might
-            run out of memory">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="true"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="false"
-                 thread_pool.queue_max_size="100"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="false"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <!--
-               Note that this is an atypically short timeout and a small number of retries
-               configured this way to speed up unit testing, since we know all nodes run in the same JVM
-               and hence failure detections will be very quick.
-            -->
-            <FD timeout="1000" max_tries="2" shun="true"/>
-            <VERIFY_SUSPECT timeout="250"/>
-            <!-- this is a more typical configuration of FD and VERIFY_SUSPECT-->
-            <!--<FD timeout="10000" max_tries="5" shun="true"/>-->
-            <!--<VERIFY_SUSPECT timeout="1500"/>-->
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,900,1200"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,900,1200"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="1000"
-                        join_retry_timeout="500" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="1000"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </stack>
-
-
-      <stack name="tcp"
-             description="TCP based stack, with flow control and message bundling. This is usually used when IP
-             multicasting cannot be used in a network, e.g. because it is disabled (routers discard multicast).
-             Note that TCP.bind_addr and TCPPING.initial_hosts should be set, possibly via system properties, e.g.
-             -Djgroups.bind_addr=192.168.5.2 and -Djgroups.tcpping.initial_hosts=192.168.5.2[7800]">
-         <config>
-             <TCP start_port="7800"
-		         loopback="true"
-		         recv_buf_size="20000000"
-		         send_buf_size="640000"
-		         discard_incompatible_packets="true"
-		         max_bundle_size="64000"
-		         max_bundle_timeout="30"
-		         use_incoming_packet_handler="true"         
-		         enable_bundling="true"
-		         use_send_queues="false"
-		         sock_conn_timeout="300"
-		         skip_suspected_members="true"
-		         
-		         use_concurrent_stack="true"
-		
-		         thread_pool.enabled="true"
-		         thread_pool.min_threads="1"
-		         thread_pool.max_threads="25"
-		         thread_pool.keep_alive_time="5000"
-		         thread_pool.queue_enabled="false"
-		         thread_pool.queue_max_size="100"
-		         thread_pool.rejection_policy="run"
-		
-		         oob_thread_pool.enabled="true"
-		         oob_thread_pool.min_threads="1"
-		         oob_thread_pool.max_threads="8"
-		         oob_thread_pool.keep_alive_time="5000"
-		         oob_thread_pool.queue_enabled="false"
-		         oob_thread_pool.queue_max_size="100"
-		         oob_thread_pool.rejection_policy="run"/>
-		                         
-		    <TCPPING timeout="3000"
-		             initial_hosts="127.0.0.1[7800],127.0.0.1[7801]"
-		             port_range="1"
-		             num_initial_members="3"/>
-		    <MERGE2 max_interval="100000"
-		              min_interval="20000"/>
-		    <FD_SOCK/>
-		    <!--
-               Note that this is an atypically short timeout and a small number of retries
-               configured this way to speed up unit testing, since we know all nodes run in the same JVM
-               and hence failure detections will be very quick.
-            -->
-		    <FD timeout="1000" max_tries="5" shun="true"/>
-		    <VERIFY_SUSPECT timeout="1500"  />
-		    <BARRIER />
-		    <pbcast.NAKACK max_xmit_size="60000"
-		                   use_mcast_xmit="false" gc_lag="0"
-		                   retransmit_timeout="300,600,1200,2400,4800"
-		                   discard_delivered_msgs="true"/>
-		    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-		                   max_bytes="400000"/>
-		    <VIEW_SYNC avg_send_interval="60000"/>
-		    <pbcast.GMS print_local_addr="true" join_timeout="3000"
-		                join_retry_timeout="2000" shun="true"
-		                view_bundling="true"/>
-		    <FC max_credits="2000000"
-		        min_threshold="0.10"/>
-		    <FRAG2 frag_size="60000"  />
-            <pbcast.STREAMING_STATE_TRANSFER/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </stack>
-
-
-      <stack name="tcp-sync"
-             description="TCP based stack, without flow control and without message bundling. This is usually used when IP
-           multicasting cannot be used in a network, e.g. because it is disabled (routers discard multicast). This
-           configuration should be used instead of tcp when (1) synchronous calls are used and (2) the message volume
-           (rate and size) is not that large">
-         <config>
-			<TCP start_port="7800"
-		         loopback="true"
-		         recv_buf_size="20000000"
-		         send_buf_size="640000"
-		         discard_incompatible_packets="true"
-		         max_bundle_size="64000"
-		         max_bundle_timeout="30"
-		         use_incoming_packet_handler="true"         
-		         enable_bundling="true"
-		         use_send_queues="false"
-		         sock_conn_timeout="300"
-		         skip_suspected_members="true"
-		         
-		         use_concurrent_stack="true"
-		
-		         thread_pool.enabled="true"
-		         thread_pool.min_threads="1"
-		         thread_pool.max_threads="25"
-		         thread_pool.keep_alive_time="5000"
-		         thread_pool.queue_enabled="false"
-		         thread_pool.queue_max_size="100"
-		         thread_pool.rejection_policy="run"
-		
-		         oob_thread_pool.enabled="true"
-		         oob_thread_pool.min_threads="1"
-		         oob_thread_pool.max_threads="8"
-		         oob_thread_pool.keep_alive_time="5000"
-		         oob_thread_pool.queue_enabled="false"
-		         oob_thread_pool.queue_max_size="100"
-		         oob_thread_pool.rejection_policy="run"/>
-		                         
-		    <TCPPING timeout="3000"
-		             initial_hosts="127.0.0.1[7800],127.0.0.1[7801]"
-		             port_range="1"
-		             num_initial_members="3"/>
-		    <MERGE2 max_interval="100000"
-		              min_interval="20000"/>
-		    <FD_SOCK/>
-		    <!--
-               Note that this is an atypically short timeout and a small number of retries
-               configured this way to speed up unit testing, since we know all nodes run in the same JVM
-               and hence failure detections will be very quick.
-            -->
-		    <FD timeout="1000" max_tries="5" shun="true"/>
-		    <VERIFY_SUSPECT timeout="1500"  />
-		    <BARRIER />
-		    <pbcast.NAKACK max_xmit_size="60000"
-		                   use_mcast_xmit="false" gc_lag="0"
-		                   retransmit_timeout="300,600,1200,2400,4800"
-		                   discard_delivered_msgs="true"/>
-		    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-		                   max_bytes="400000"/>
-		    <VIEW_SYNC avg_send_interval="60000"/>
-		    <pbcast.GMS print_local_addr="true" join_timeout="3000"
-		                join_retry_timeout="2000" shun="true"
-		                view_bundling="true"/>
-		    <FC max_credits="2000000"
-		        min_threshold="0.10"/>
-		    <FRAG2 frag_size="60000"  />
-            <pbcast.STREAMING_STATE_TRANSFER/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </stack>
-   </protocol_stacks>
-
-</server>

Added: core/trunk/src/test/resources/META-INF/unit-test-cache-service.xml
===================================================================
--- core/trunk/src/test/resources/META-INF/unit-test-cache-service.xml	                        (rev 0)
+++ core/trunk/src/test/resources/META-INF/unit-test-cache-service.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  This file is not a valid JBoss Cache configuration file !!!          -->
+<!--                                                                       -->
+<!--  It is used only in unit tests. DO NOT use it for any other purpose!  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Defines TreeCache configuration                                      -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!--
+          Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
+      </attribute>
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!--Uncomment next three statements to enable JGroups multiplexer.
+			This configuration is dependent on the JGroups multiplexer being
+			registered in an MBean server such as JBossAS.  -->
+      <!--
+      <depends>jgroups.mux:name=Multiplexer</depends>
+      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
+      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
+      -->
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+      -->
+      <attribute name="FetchInMemoryState">true</attribute>
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="StateRetrievalTimeout">15000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">15000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">10000</attribute>
+
+      <!-- Specific eviction policy configurations. This is LRU -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">2</attribute>
+            <!-- Name of the DEFAULT eviction policy class. -->
+            <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+            <!-- Cache wide default -->
+            <region name="/_default_">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/data">
+               <attribute name="maxNodes">5000</attribute>
+               <attribute name="timeToLiveSeconds">1000</attribute>
+            </region>
+            <region name="/org/jboss/test/data">
+               <attribute name="maxNodes">5</attribute>
+               <attribute name="timeToLiveSeconds">4</attribute>
+            </region>
+         </config>
+      </attribute>
+
+      <!-- New 1.3.x cache loader config block -->
+      <attribute name="CacheLoaderConfiguration">
+         <config>
+            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
+            <passivation>true</passivation>
+            <preload>/</preload>
+            <shared>false</shared>
+
+            <!-- we can now have multiple cache loaders, which get chained -->
+            <cacheloader>
+               <class>org.jboss.cache.loader.FileCacheLoader</class>
+               <!-- same as the old CacheLoaderConfig attribute
+                  location=/tmp this can be part of the properties.
+               -->
+               <properties>
+               </properties>
+               <!-- whether the cache loader writes are asynchronous -->
+               <async>false</async>
+               <!-- only one cache loader in the chain may set fetchPersistentState to true.
+ 				An exception is thrown if more than one cache loader sets this to true. -->
+               <fetchPersistentState>true</fetchPersistentState>
+               <!-- determines whether this cache loader ignores writes - defaults to false. -->
+               <ignoreModifications>false</ignoreModifications>
+            </cacheloader>
+
+         </config>
+      </attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+   </mbean>
+
+   <protocol_stacks>
+
+      <stack name="udp"
+             description="Default: IP multicast based stack, with flow control and message bundling">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="true"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="false"
+                 thread_pool.queue_max_size="10"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="false"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <!--
+               Note that this is an atypically short timeout and a small number of retries
+               configured this way to speed up unit testing, since we know all nodes run in the same JVM
+               and hence failure detections will be very quick.
+            -->
+            <FD timeout="1000" max_tries="2" shun="true"/>
+            <VERIFY_SUSPECT timeout="250"/>
+            <!-- this is a more typical configuration of FD and VERIFY_SUSPECT-->
+            <!--<FD timeout="10000" max_tries="5" shun="true"/>-->
+            <!--<VERIFY_SUSPECT timeout="1500"/>-->
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="1000"
+                        join_retry_timeout="500" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="1000"/>
+            <FC max_credits="20000000" min_threshold="0.10"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </stack>
+
+      <stack name="udp-sync"
+             description="IP multicast based stack, without flow control and without message bundling. This should be used
+            instead of udp if (1) synchronous calls are used and (2) the message volume (rate and size)
+            is not that large. Don't use this configuration if you send messages at a high sustained rate, or you might
+            run out of memory">
+         <config>
+            <UDP mcast_addr="228.10.10.10"
+                 mcast_port="45588"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 ip_ttl="2"
+                 enable_bundling="true"
+                 enable_diagnostics="true"
+
+                 use_concurrent_stack="true"
+
+                 thread_naming_pattern="pl"
+
+                 thread_pool.enabled="true"
+                 thread_pool.min_threads="1"
+                 thread_pool.max_threads="25"
+                 thread_pool.keep_alive_time="30000"
+                 thread_pool.queue_enabled="false"
+                 thread_pool.queue_max_size="100"
+                 thread_pool.rejection_policy="Run"
+
+                 oob_thread_pool.enabled="true"
+                 oob_thread_pool.min_threads="1"
+                 oob_thread_pool.max_threads="4"
+                 oob_thread_pool.keep_alive_time="10000"
+                 oob_thread_pool.queue_enabled="false"
+                 oob_thread_pool.queue_max_size="10"
+                 oob_thread_pool.rejection_policy="Run"/>
+
+            <PING timeout="2000" num_initial_members="3"/>
+            <MERGE2 max_interval="30000" min_interval="10000"/>
+            <FD_SOCK/>
+            <!--
+               Note that this is an atypically short timeout and a small number of retries
+               configured this way to speed up unit testing, since we know all nodes run in the same JVM
+               and hence failure detections will be very quick.
+            -->
+            <FD timeout="1000" max_tries="2" shun="true"/>
+            <VERIFY_SUSPECT timeout="250"/>
+            <!-- this is a more typical configuration of FD and VERIFY_SUSPECT-->
+            <!--<FD timeout="10000" max_tries="5" shun="true"/>-->
+            <!--<VERIFY_SUSPECT timeout="1500"/>-->
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,900,1200"
+                           discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,900,1200"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="1000"
+                        join_retry_timeout="500" shun="false"
+                        view_bundling="true" view_ack_collection_timeout="1000"/>
+            <FRAG2 frag_size="60000"/>
+            <pbcast.STREAMING_STATE_TRANSFER/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </stack>
+
+
+      <stack name="tcp"
+             description="TCP based stack, with flow control and message bundling. This is usually used when IP
+             multicasting cannot be used in a network, e.g. because it is disabled (routers discard multicast).
+             Note that TCP.bind_addr and TCPPING.initial_hosts should be set, possibly via system properties, e.g.
+             -Djgroups.bind_addr=192.168.5.2 and -Djgroups.tcpping.initial_hosts=192.168.5.2[7800]">
+         <config>
+             <TCP start_port="7800"
+		         loopback="true"
+		         recv_buf_size="20000000"
+		         send_buf_size="640000"
+		         discard_incompatible_packets="true"
+		         max_bundle_size="64000"
+		         max_bundle_timeout="30"
+		         use_incoming_packet_handler="true"         
+		         enable_bundling="true"
+		         use_send_queues="false"
+		         sock_conn_timeout="300"
+		         skip_suspected_members="true"
+		         
+		         use_concurrent_stack="true"
+		
+		         thread_pool.enabled="true"
+		         thread_pool.min_threads="1"
+		         thread_pool.max_threads="25"
+		         thread_pool.keep_alive_time="5000"
+		         thread_pool.queue_enabled="false"
+		         thread_pool.queue_max_size="100"
+		         thread_pool.rejection_policy="run"
+		
+		         oob_thread_pool.enabled="true"
+		         oob_thread_pool.min_threads="1"
+		         oob_thread_pool.max_threads="8"
+		         oob_thread_pool.keep_alive_time="5000"
+		         oob_thread_pool.queue_enabled="false"
+		         oob_thread_pool.queue_max_size="100"
+		         oob_thread_pool.rejection_policy="run"/>
+		                         
+		    <TCPPING timeout="3000"
+		             initial_hosts="127.0.0.1[7800],127.0.0.1[7801]"
+		             port_range="1"
+		             num_initial_members="3"/>
+		    <MERGE2 max_interval="100000"
+		              min_interval="20000"/>
+		    <FD_SOCK/>
+		    <!--
+               Note that this is an atypically short timeout and a small number of retries
+               configured this way to speed up unit testing, since we know all nodes run in the same JVM
+               and hence failure detections will be very quick.
+            -->
+		    <FD timeout="1000" max_tries="5" shun="true"/>
+		    <VERIFY_SUSPECT timeout="1500"  />
+		    <BARRIER />
+		    <pbcast.NAKACK max_xmit_size="60000"
+		                   use_mcast_xmit="false" gc_lag="0"
+		                   retransmit_timeout="300,600,1200,2400,4800"
+		                   discard_delivered_msgs="true"/>
+		    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+		                   max_bytes="400000"/>
+		    <VIEW_SYNC avg_send_interval="60000"/>
+		    <pbcast.GMS print_local_addr="true" join_timeout="3000"
+		                join_retry_timeout="2000" shun="true"
+		                view_bundling="true"/>
+		    <FC max_credits="2000000"
+		        min_threshold="0.10"/>
+		    <FRAG2 frag_size="60000"  />
+            <pbcast.STREAMING_STATE_TRANSFER/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </stack>
+
+
+      <stack name="tcp-sync"
+             description="TCP based stack, without flow control and without message bundling. This is usually used when IP
+           multicasting cannot be used in a network, e.g. because it is disabled (routers discard multicast). This
+           configuration should be used instead of tcp when (1) synchronous calls are used and (2) the message volume
+           (rate and size) is not that large">
+         <config>
+			<TCP start_port="7800"
+		         loopback="true"
+		         recv_buf_size="20000000"
+		         send_buf_size="640000"
+		         discard_incompatible_packets="true"
+		         max_bundle_size="64000"
+		         max_bundle_timeout="30"
+		         use_incoming_packet_handler="true"         
+		         enable_bundling="true"
+		         use_send_queues="false"
+		         sock_conn_timeout="300"
+		         skip_suspected_members="true"
+		         
+		         use_concurrent_stack="true"
+		
+		         thread_pool.enabled="true"
+		         thread_pool.min_threads="1"
+		         thread_pool.max_threads="25"
+		         thread_pool.keep_alive_time="5000"
+		         thread_pool.queue_enabled="false"
+		         thread_pool.queue_max_size="100"
+		         thread_pool.rejection_policy="run"
+		
+		         oob_thread_pool.enabled="true"
+		         oob_thread_pool.min_threads="1"
+		         oob_thread_pool.max_threads="8"
+		         oob_thread_pool.keep_alive_time="5000"
+		         oob_thread_pool.queue_enabled="false"
+		         oob_thread_pool.queue_max_size="100"
+		         oob_thread_pool.rejection_policy="run"/>
+		                         
+		    <TCPPING timeout="3000"
+		             initial_hosts="127.0.0.1[7800],127.0.0.1[7801]"
+		             port_range="1"
+		             num_initial_members="3"/>
+		    <MERGE2 max_interval="100000"
+		              min_interval="20000"/>
+		    <FD_SOCK/>
+		    <!--
+               Note that this is an atypically short timeout and a small number of retries
+               configured this way to speed up unit testing, since we know all nodes run in the same JVM
+               and hence failure detections will be very quick.
+            -->
+		    <FD timeout="1000" max_tries="5" shun="true"/>
+		    <VERIFY_SUSPECT timeout="1500"  />
+		    <BARRIER />
+		    <pbcast.NAKACK max_xmit_size="60000"
+		                   use_mcast_xmit="false" gc_lag="0"
+		                   retransmit_timeout="300,600,1200,2400,4800"
+		                   discard_delivered_msgs="true"/>
+		    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+		                   max_bytes="400000"/>
+		    <VIEW_SYNC avg_send_interval="60000"/>
+		    <pbcast.GMS print_local_addr="true" join_timeout="3000"
+		                join_retry_timeout="2000" shun="true"
+		                view_bundling="true"/>
+		    <FC max_credits="2000000"
+		        min_threshold="0.10"/>
+		    <FRAG2 frag_size="60000"  />
+            <pbcast.STREAMING_STATE_TRANSFER/>
+            <!-- <pbcast.STATE_TRANSFER/> -->
+            <pbcast.FLUSH timeout="0"/>
+         </config>
+      </stack>
+   </protocol_stacks>
+
+</server>

Copied: core/trunk/src/test/resources/log4j.release.xml (from rev 4381, core/trunk/src/main/resources/log4j.release.xml)
===================================================================
--- core/trunk/src/test/resources/log4j.release.xml	                        (rev 0)
+++ core/trunk/src/test/resources/log4j.release.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id$ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A time/date based rolling appender -->
+   <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
+      <param name="File" value="/tmp/jbosscache.log"/>
+      <param name="Append" value="true"/>
+
+      <!-- Rollover at midnight each day -->
+      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+      <!-- Rollover at the top of each hour
+      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+      -->
+      <param name="Threshold" value="DEBUG"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
+
+         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+        <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+         -->
+      </layout>
+   </appender>
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <param name="Threshold" value="TRACE"/>
+      <param name="Target" value="System.out"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c{1}] (%t) %m%n"/>
+      </layout>
+   </appender>
+
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <category name="org.jboss.cache">
+      <priority value="INFO"/>
+   </category>
+
+   <category name="org.jboss.serial">
+      <priority value="WARN"/>
+   </category>
+
+   <category name="org.jboss.tm">
+      <priority value="WARN"/>
+   </category>
+
+   <category name="org.jgroups">
+      <priority value="WARN"/>
+   </category>
+
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <!--<appender-ref ref="CONSOLE"/>-->
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Copied: core/trunk/src/test/resources/log4j.xml (from rev 4381, core/trunk/src/main/resources/log4j.xml)
===================================================================
--- core/trunk/src/test/resources/log4j.xml	                        (rev 0)
+++ core/trunk/src/test/resources/log4j.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id$ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A time/date based rolling appender -->
+   <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
+      <param name="File" value="output/jbosscache.log"/>
+      <param name="Append" value="true"/>
+
+      <!-- Rollover at midnight each day -->
+      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+      <!-- Rollover at the top of each hour
+      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+      -->
+      <param name="Threshold" value="DEBUG"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
+
+         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+        <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+         -->
+      </layout>
+   </appender>
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <param name="Threshold" value="TRACE"/>
+      <param name="Target" value="System.out"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c{1}] (%t) %m%n"/>
+      </layout>
+   </appender>
+
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <!-- Limit JBoss categories to INFO
+   <category name="org.jboss">
+     <priority value="INFO"/>
+   </category>
+   -->
+
+   <category name="org.jboss.cache">
+      <priority value="ERROR"/>
+   </category>
+
+   <category name="org.jboss.tm">
+      <priority value="ERROR"/>
+   </category>
+
+   <category name="org.jgroups">
+      <priority value="ERROR"/>
+   </category>
+
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <priority value="ERROR"/>
+      <!-- appender-ref ref="CONSOLE"/> -->
+      <!--<appender-ref ref="FILE"/>-->
+   </root>
+
+</log4j:configuration>

Deleted: core/trunk/src/test/resources/replSync-service-test.xml
===================================================================
--- core/trunk/src/test/resources/replSync-service-test.xml	2007-08-24 15:36:10 UTC (rev 4435)
+++ core/trunk/src/test/resources/replSync-service-test.xml	2007-08-24 17:11:30 UTC (rev 4436)
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!--                                                                       -->
-<!--  Sample TreeCache Service Configuration                               -->
-<!--                                                                       -->
-<!-- ===================================================================== -->
-
-<server>
-
-   <!-- ==================================================================== -->
-   <!-- Defines TreeCache configuration                                      -->
-   <!-- ==================================================================== -->
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!--
-          Configure the TransactionManager
-      -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
-      </attribute>
-
-      <!--
-          Isolation level : SERIALIZABLE
-                            REPEATABLE_READ (default)
-                            READ_COMMITTED
-                            READ_UNCOMMITTED
-                            NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">REPL_SYNC</attribute>
-
-      <!--
-      Just used for async repl: use a replication queue
-      -->
-      <attribute name="UseReplQueue">false</attribute>
-
-      <!--
-          Replication interval for replication queue (in ms)
-      -->
-      <attribute name="ReplQueueInterval">0</attribute>
-
-      <!--
-          Max number of elements which trigger replication
-      -->
-      <attribute name="ReplQueueMaxElements">0</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS.  -->
-      <!--
-      <depends>jgroups.mux:name=Multiplexer</depends>
-      <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
-      <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
-      -->
-
-      <!-- JGroups protocol stack properties.
-         ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
-      -->
-      <attribute name="ClusterConfig">
-         <config>
-            <UDP mcast_addr="228.10.10.10"
-                 mcast_port="45588"
-                 tos="8"
-                 ucast_recv_buf_size="20000000"
-                 ucast_send_buf_size="640000"
-                 mcast_recv_buf_size="25000000"
-                 mcast_send_buf_size="640000"
-                 loopback="false"
-                 discard_incompatible_packets="true"
-                 max_bundle_size="64000"
-                 max_bundle_timeout="30"
-                 use_incoming_packet_handler="true"
-                 ip_ttl="2"
-                 enable_bundling="false"
-                 enable_diagnostics="true"
-
-                 use_concurrent_stack="true"
-
-                 thread_naming_pattern="pl"
-
-                 thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
-                 thread_pool.max_threads="25"
-                 thread_pool.keep_alive_time="30000"
-                 thread_pool.queue_enabled="true"
-                 thread_pool.queue_max_size="10"
-                 thread_pool.rejection_policy="Run"
-
-                 oob_thread_pool.enabled="true"
-                 oob_thread_pool.min_threads="1"
-                 oob_thread_pool.max_threads="4"
-                 oob_thread_pool.keep_alive_time="10000"
-                 oob_thread_pool.queue_enabled="true"
-                 oob_thread_pool.queue_max_size="10"
-                 oob_thread_pool.rejection_policy="Run"/>
-
-            <PING timeout="2000" num_initial_members="3"/>
-            <MERGE2 max_interval="30000" min_interval="10000"/>
-            <FD_SOCK/>
-            <FD timeout="10000" max_tries="5" shun="true"/>
-            <VERIFY_SUSPECT timeout="1500"/>
-            <pbcast.NAKACK max_xmit_size="60000"
-                           use_mcast_xmit="false" gc_lag="0"
-                           retransmit_timeout="300,600,1200,2400,4800"
-                           discard_delivered_msgs="true"/>
-            <UNICAST timeout="300,600,1200,2400,3600"/>
-            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
-                           max_bytes="400000"/>
-            <pbcast.GMS print_local_addr="true" join_timeout="5000"
-                        join_retry_timeout="2000" shun="false"
-                        view_bundling="true" view_ack_collection_timeout="5000"/>
-            <FRAG2 frag_size="60000"/>
-            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
-            <!-- <pbcast.STATE_TRANSFER/> -->
-            <pbcast.FLUSH timeout="0"/>
-         </config>
-      </attribute>
-
-
-      <!--
-       Whether or not to fetch state on joining a cluster
-       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
-      -->
-      <attribute name="FetchInMemoryState">true</attribute>
-
-      <!--
-          The max amount of time (in milliseconds) we wait until the
-          state (ie. the contents of the cache) are retrieved from
-          existing members in a clustered environment
-      -->
-      <attribute name="StateRetrievalTimeout">15000</attribute>
-
-      <!--
-          Number of milliseconds to wait until all responses for a
-          synchronous call have been received.
-      -->
-      <attribute name="SyncReplTimeout">15000</attribute>
-
-      <!-- Max number of milliseconds to wait for a lock acquisition -->
-      <attribute name="LockAcquisitionTimeout">10000</attribute>
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">true</attribute>
-   </mbean>
-
-
-   <!--  Uncomment to get a graphical view of the TreeCache MBean above -->
-   <!--   <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
-   <!--      <depends>jboss.cache:service=TreeCache</depends>-->
-   <!--      <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
-   <!--   </mbean>-->
-
-
-</server>




More information about the jbosscache-commits mailing list