You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Wentzel <Mi...@aswethink.com> on 2001/08/09 17:34:25 UTC

Q: request replication

I am having a unique situation pop up.  It's some
kind of concurrency issue but I can't figure out
what's causing it.  I am generating PDFs in a servlet
and a single request to the servlet works fine but
if two users request a PDF at "roughly" the same time
then the adobe plugin appears to get confused and
doesn't display the generated file.  Each users request
is actually getting made 3 times(using the same request
object) to generate 3 unique files(servlet generates
unique file ids).  I have removed AutoSetup ContextInterceptor so there is
only one instance of the servlet and the jsp calling the servlet is only
making a single request.  The first request for each PDF has a Referer and a
request.getRequestURI() each subsequent(duplicate) request does not have a
Referer.  Any suggestions would be appreciated.

TC 3.2
Win2K
Sun JDK 1.2


---
Michael Wentzel
Software Developer
<a href="http://www.aswethink.com">Software As We Think</a>

RE: request replication

Posted by Martin van den Bemt <ma...@isallineed.org>.
I'm seeing some messages regarding multiple request from internet exploder.
Do you have the same problem with nutscrape? A couple of messages back I
also read that all messages regarding multiple request from exploder are
closed, because it wasn't reproducable. Maby you can give this a go on
nutscrape and tomcat 33 to see if the problem is reproducable there..

Mvgr,
Martin

> -----Original Message-----
> From: Michael Wentzel [mailto:Michael.Wentzel@aswethink.com]
> Sent: Thursday, August 09, 2001 5:34 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: Q: request replication
>
>
> I am having a unique situation pop up.  It's some
> kind of concurrency issue but I can't figure out
> what's causing it.  I am generating PDFs in a servlet
> and a single request to the servlet works fine but
> if two users request a PDF at "roughly" the same time
> then the adobe plugin appears to get confused and
> doesn't display the generated file.  Each users request
> is actually getting made 3 times(using the same request
> object) to generate 3 unique files(servlet generates
> unique file ids).  I have removed AutoSetup ContextInterceptor so there is
> only one instance of the servlet and the jsp calling the servlet is only
> making a single request.  The first request for each PDF has a
> Referer and a
> request.getRequestURI() each subsequent(duplicate) request does not have a
> Referer.  Any suggestions would be appreciated.
>
> TC 3.2
> Win2K
> Sun JDK 1.2
>
>
> ---
> Michael Wentzel
> Software Developer
> <a href="http://www.aswethink.com">Software As We Think</a>
>