tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike W-M" <>
Subject Re: Simultaneous request from same IP
Date Mon, 16 Dec 2002 17:01:49 GMT
I should think it's likely, indeed desirable, that both requests are being
handled by the same servlet, but I don't see how we could consider
request-related headers to be "global servlet variables".
(And if there's any synchronising to do it surely belongs within the Tomcat
code, since I can't see any circumstance where this kind of behaviour would
be acceptable.  We're only reading, as well.)

I'm with CB - if this is indeed reproducible (I haven't checked, and I don't
think CB has mentioned the version of Tomcat?) - then it's a bug, surely?
[Also: is it just the headers that are identical or are the parameters
identical too?  (The getQueryString includes the parameter info, right?)]


----- Original Message -----
From: "ContestAdmin" <>
To: "Tomcat Users List" <>
Sent: Monday, December 16, 2002 4:06 PM
Subject: Re: Simultaneous request from same IP

It is possible that the two requests are being handled by the same
servlet. The outputs can be confused if the servlet uses any
'global' servlet variables.

Try either synchronizing the methods or have your servlet
implement SingleThreadModel.


Chris Bick wrote:


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

View raw message