Permalink
Browse files

fix readonly scenarios for EE5 version as well

  • Loading branch information...
1 parent b5a1d2d commit 3829428bdcca92ada57f6ec6477302b80b5290a3 @rhusar committed Apr 26, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 clusterbench-ee5-web/src/main/webapp/WEB-INF/jboss-web.xml
@@ -0,0 +1,25 @@
+<!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 5.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<jboss-web>
+
+ <replication-config>
+ <!-- The default value is SET_AND_NON_PRIMITIVE_GET, therefore the byte array which is carrying the data is considered
+ non-primitive and would cause replication even in read only scenario. -->
+ <replication-trigger>SET</replication-trigger>
+
+ <!-- Replicating entire session is the default. -->
+ <replication-granularity>SESSION</replication-granularity>
+ </replication-config>
+
+ <!-- Similar will be needed for soak testing -->
+ <!--
+ <passivation-config>
+ <use-session-passivation>true</use-session-passivation>
+ <passivation-min-idle-time>2</passivation-min-idle-time>
+ <passivation-max-idle-time>5</passivation-max-idle-time>
+ </passivation-config>
+ -->
+
+</jboss-web>

0 comments on commit 3829428

Please sign in to comment.