[jboss-cvs] JBossAS SVN: r65159 - in trunk/testsuite/src/resources/cluster/http: passivation and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Sep 6 11:17:23 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-09-06 11:17:23 -0400 (Thu, 06 Sep 2007)
New Revision: 65159
Added:
trunk/testsuite/src/resources/cluster/http/passivation/
trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/
trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/context.xml
trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/jboss-web.xml
trunk/testsuite/src/resources/cluster/http/passivation/FIELD/
trunk/testsuite/src/resources/cluster/http/passivation/FIELD/context.xml
trunk/testsuite/src/resources/cluster/http/passivation/FIELD/jboss-web.xml
trunk/testsuite/src/resources/cluster/http/passivation/SESSION/
trunk/testsuite/src/resources/cluster/http/passivation/SESSION/context.xml
trunk/testsuite/src/resources/cluster/http/passivation/SESSION/jboss-web.xml
Log:
Add proper configs for web session passivation tests
Added: trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/context.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/context.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/context.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+ <!-- Session persistence is disable by default. To enable for all web
+ apps set the pathname to a non-empty value:
+ <Manager pathname="SESSIONS.ser" />
+
+ To enable session persistence for a single web app, add a
+ WEB-INF/context.xml
+ -->
+ <Manager pathname="" processExpiresFrequency="1" />
+
+ <!-- Install an InstanceListener to handle the establishment of the run-as
+ role for servlet init/destroy events.
+ -->
+ <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+
+</Context>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/context.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/jboss-web.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/jboss-web.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/jboss-web.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,18 @@
+ <!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 5.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<jboss-web>
+ <security-domain>java:/jaas/jmx-console</security-domain>
+
+ <replication-config>
+ <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+ <replication-granularity>ATTRIBUTE</replication-granularity>
+ </replication-config>
+ <max-active-sessions>20</max-active-sessions>
+ <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>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/ATTRIBUTE/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/cluster/http/passivation/FIELD/context.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/FIELD/context.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/FIELD/context.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+ <!-- Session persistence is disable by default. To enable for all web
+ apps set the pathname to a non-empty value:
+ <Manager pathname="SESSIONS.ser" />
+
+ To enable session persistence for a single web app, add a
+ WEB-INF/context.xml
+ -->
+ <Manager pathname="" processExpiresFrequency="1" />
+
+ <!-- Install an InstanceListener to handle the establishment of the run-as
+ role for servlet init/destroy events.
+ -->
+ <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+
+</Context>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/FIELD/context.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/cluster/http/passivation/FIELD/jboss-web.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/FIELD/jboss-web.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/FIELD/jboss-web.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,16 @@
+<jboss-web>
+
+ <!-- To avoid a custom config, use the jmx-console security domain -->
+ <security-domain>java:/jaas/jmx-console</security-domain>
+
+ <replication-config>
+ <replication-granularity>FIELD</replication-granularity>
+ <replication-field-batch-mode>TRUE</replication-field-batch-mode>
+ </replication-config>
+ <max-active-sessions>20</max-active-sessions>
+ <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>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/FIELD/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/cluster/http/passivation/SESSION/context.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/SESSION/context.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/SESSION/context.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+ <!-- Session persistence is disable by default. To enable for all web
+ apps set the pathname to a non-empty value:
+ <Manager pathname="SESSIONS.ser" />
+
+ To enable session persistence for a single web app, add a
+ WEB-INF/context.xml
+ -->
+ <Manager pathname="" processExpiresFrequency="1" />
+
+ <!-- Install an InstanceListener to handle the establishment of the run-as
+ role for servlet init/destroy events.
+ -->
+ <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+
+</Context>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/SESSION/context.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/cluster/http/passivation/SESSION/jboss-web.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/http/passivation/SESSION/jboss-web.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/passivation/SESSION/jboss-web.xml 2007-09-06 15:17:23 UTC (rev 65159)
@@ -0,0 +1,19 @@
+ <!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 5.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<jboss-web>
+ <!-- To avoid a custom config, use the jmx-console security domain -->
+ <security-domain>java:/jaas/jmx-console</security-domain>
+
+ <replication-config>
+ <replication-trigger>SET_AND_GET</replication-trigger>
+ <replication-granularity>SESSION</replication-granularity>
+ </replication-config>
+ <max-active-sessions>20</max-active-sessions>
+ <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>
Property changes on: trunk/testsuite/src/resources/cluster/http/passivation/SESSION/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list