Jon Stevens wrote:
> 
> on 1/22/01 11:04 PM, "Leon Messerschmidt" <[EMAIL PROTECTED]> wrote:
> 
> > Does this still apply to most servlet engines?
> >
> > There are threads in Turbine (for example the global cache housekeeping)
> > that is used with a while (true) that might be causing a problem.
> >
> > ~ Leon
> 
> That is why they are marked as daemon threads.

Actually marking them as daemons helps only in standalone apps. While
being
uses as a servlet, Turbine suffers from thread leakage problems.

Services like db, scheduler and global cache shold explicitly stop
threads
that they start. WebMacro also fails to stop it's event scheduler thread
in WM.destroy() but it's possible to do this manually from within 
TurbineWebMacroService.shutdown(). I have a patch for all these, because
one of my coworkers fixed it recently. It's sitting in the pile of stuff
I have to commit to the CVS. Ehh...

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to