W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

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

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Sun, 08 Aug 1999 23:06:10 +0200
Message-Id: <37ADF142.79B5DA9@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:32 GMT