At 10:42 AM 8/20/2001 -0400, Jeff Johnson wrote:
> > - What's the load on the machine right before you stop it? 'w' at
>the
> > command line will tell you.
>Load is almost non-existant.  There's only 3 people that occasionally
>hit the box.  I'll check 'w' though and let you know.

OK.


> > - If you wait 30 secs instead of 10, does your failure rate change
>in
> > either direction?
>I'll keep an eye on it but I would guess that at 30 seconds it might
>never fail.

That would be very interesting to know.


> > - If you cache database connections, can you explicitly close
> > them first?
> > Perhaps via a little admin servlet that you would run just
> > before stopping:
>
>Hmm, good idea.  I use DBPool with another few layers on top of that.
>Is there a way to detect the "stopping" signal so I can close
>connections?

Not that I know of off the top of my head. Perhaps we should have a 
contextShutdown() to complement contextInitialize().

In the mean time, you could have a non-advertised servlet that does this 
which you could invoke via a browser:
         lynx http://localhost/myapp/shutdown


-Chuck


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to