Re: servlet destroy() during doGet() ??

Hi !

----

Benoit Mahe wrote:

> Yes, that's a bug, will be fixed soon.

Can you reply to this mail if you fixed the problem, please ?

----


> Roland Mainz wrote:
>
> > Recently I saw a strage behaviour during a servlet's doGet() (jigsaw 2.0.2):
> > During an active doGet() the servlet's destroy() method was called (the
> > doGet() was serving a download of a 372MB file, therefore my assumption is that
> > the servlet timeout was triggered during the pending request...).

Question: Is it possible that after a destroy() the garbage collection kills open
files/connections ??

In the case of my download-servlet, sometimes a java.io.IOException: Bad file
number
is thrown if a download is still in progress and destroy() was called for the
servlet (but I cannot say if the file or the open connection threw the exception)...

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland Mainz                               C/JAVA programmer
  \__\/\/__/  Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
  /O /==\ O\  gisburn@informatik.med.uni-giessen.de      Sun&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193  FAX +49 (0) 641/99-41359

Received on Sunday, 8 August 1999 17:06:22 UTC