tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43343] Loss of data and concurrency issue with Catalina session persistent storage
Date Sat, 02 May 2009 02:40:32 GMT

--- Comment #8 from Konstantin Kolinko <>  2009-05-01 19:40:29
PST ---
Created an attachment (id=23593)
 --> (
 Reproducer, part 2: client

commons-httpclient-3.1.jar and its dependencies are not included.

To run:
1. Deploy bug43343.war on a web server
2. Unpack this and put the following libraries into lib
3. Run client.bat if you are on Windows

The client creates several (100) instances of HttpClient that connect to 

Each HttpClient remembers its cookies, and thus connects to a separate session.
The number parameter in URL is unique for each HttpClient instance, and loop
starts with 0 and increments by 1 for each request from the same client.

The context.xml file of the web application configures PersistentManager with
some low values, to that this issue is more visible.

The requests are being sent serially, with an interval of at least 4 seconds
between request of the same client.

The client prints out the response of web application, and terminates if status
code 500 is received.

Expected result:
Successful run of the client. That is, 150 loops, which needs about 10 minutes
to complete.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message