https://issues.apache.org/bugzilla/show_bug.cgi?id=43343





--- Comment #8 from Konstantin Kolinko <knst.koli...@gmail.com>  2009-05-01 
19:40:29 PST ---
Created an attachment (id=23593)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23593)
 Reproducer, part 2: client

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

To run:
1. Deploy bug43343.war on a web server
2. Unpack this bug43343_client.zip and put the following libraries into lib
subfolder:
commons-httpclient-3.1.jar
commons-codec-1.3.jar
commons-logging-1.1.1.jar
3. Run client.bat if you are on Windows

The client creates several (100) instances of HttpClient that connect to 
 http://localhost:8080/bug43343/index.jsp?number=nn&loop=ll

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to