Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: session#getId changes during doGet invocation under heavy load

Caldarale, Charles R

2006-12-28

Replies:

> From: Peter Coppens [mailto:pc.subscriptions@(protected)]
> Subject: session#getId changes during doGet invocation under
> heavy load
>
> THe problem I run into is that, under heavy load, during the
> doGet invocation for the login request the session attached
> to the request is changed by some other thread (the value
> returned from getId changes and attributes that are originally
> set are removed).

This is most likely an application problem - storing session- or
request-specific data in an inappropriately scoped structure (e.g., a
servlet field). Under light load, this won't hurt, since the insertion
and retrieval for a given request don't overlap any other requests. As
the load increases, so does the probability of an overlap and erroneous
retrieval of data for another request.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.