This is going to sound strange,

But I have an operation that takes a while to complete (that's not the strange 
part).

About a minute after I click on the link that invokes it, the servlet that 
handles the request gets invoked again and the operation starts over again 
(while the old one continues to run).

I thought maybe it was the browser getting impatient and resending the request 
(firefox/ubuntu), so I tried wget and the behavior is identical -- about a 
minute into it, a new instance starts.

The operation I wrote isn't thread safe (it's only for me and I only run it 
once a day), so it's not handling it too well.

I have a custom roller setup with a custom RequestMapper and it's handleRequest 
method gets invoked before the servlet processes the request again, so it seems 
like the problem is occuring before my code gets involved.

I also threw and caught an error at the start of doGet in my servlet to see if 
the stack traces would be different (to get some kind of clue as to what's 
going on), but they are identical.

Any ideas what's going on here?  Or where to look?

Thanks!
/Brian

_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery

Reply via email to