[jboss-cvs] JBossAS SVN: r62629 - in branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http: http-sync-stress and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Apr 29 23:19:20 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-04-29 23:19:20 -0400 (Sun, 29 Apr 2007)
New Revision: 62629
Added:
branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/
branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/
branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/context.xml
branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/web.xml
Log:
[ASPATCH-208] Test for background thread overwriting sessions
Added: branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/context.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/context.xml (rev 0)
+++ branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/context.xml 2007-04-30 03:19:20 UTC (rev 62629)
@@ -0,0 +1,17 @@
+<!-- Override the default to disable cookies -->
+<Context cookies="false" 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="" />
+
+ <!-- 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>
Added: branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/web.xml
===================================================================
--- branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/web.xml (rev 0)
+++ branches/JBoss_4_0_3_SP1_CP/testsuite/src/resources/cluster/http/http-sync-stress/WEB-INF/web.xml 2007-04-30 03:19:20 UTC (rev 62629)
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+ <description>Testing HttpSessionRepl</description>
+
+ <distributable/>
+
+ <servlet>
+ <servlet-name>StressTestServlet</servlet-name>
+ <servlet-class>org.jboss.test.cluster.web.stress.web.StressTestServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>StressTestServlet</servlet-name>
+ <url-pattern>/StressTestServlet</url-pattern>
+ </servlet-mapping>
+
+</web-app>
More information about the jboss-cvs-commits
mailing list