jigsaw problem with servlets and ServletException...

Hi !

----

I figured out a problem with jigsaw and servlets:

If a servlet does not .close() the output stream, jigsaw seems to run
out of open files
after some - ähm - xxxx service cycles. This problem mainly occurs if a
servlet
throws a ServletException (or any other Exception); and some other
servlet examples
simply missing a .close() statement.


Solution: jigsaw's ServletOutputStream should check if the stream was
closed or not
(e.g. a method like out.wasClosed()).
A non-closed stream should be closed, but a warning should be written to
stderr and
servlet log (except a ServletException was thrown; I don't know whether
the servlet
specs saying something  about this case or not...).


Maybe my previous problem with SocketException was caused by this
problem...

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o)  Roland Mainz                               C programmer
  \__\/\/__/   Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
  /O /==\ O\   gisburn@w-specht.rhein-ruhr.de             Sun&&Amiga programmer
 (;O/ \/ \O;)  TEL +49 (0) 2426901568  FAX +49 (0) 2426901569

Received on Sunday, 21 February 1999 18:53:26 UTC