try the RequestDumperValve and see what it shows for each request coming in.
You will have to restart tomcat.
<Engine>
   <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
   ...
</Engine>

This will run before your servlet and will dump everything in the request.

Charlie

> -----Original Message-----
> From: Chris Bick [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 12:15 PM
> To: Tomcat Users List
> Subject: RE: Simultaneous request from same IP
> 
> 
> 
> I've reproduced this problem with tomcat 3.2 and every 
> version of 4.1 up
> to 4.1.12
> 
> I haven't gone any further than all headers being identical and the
> query string.  I thought maybe tomcat was just passing in the same
> reference, but the toString() value of the HttpServletRequest 
> object are
> different.
> 
> Let me know if anyone can reproduce this?(If you have the time...)
> 
> -cb
> -----Original Message-----
> From: Mike W-M [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 16, 2002 12:02 PM
> To: Tomcat Users List
> Subject: Re: Simultaneous request from same IP
> 
> 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?)]
> 
> 
> 
> Mike.
> 
> ----- Original Message -----
> From: "ContestAdmin" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> 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.
> 
> -CA
> 
> Chris Bick wrote:
> 
> <snip>
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to