On Wed, Oct 27, 2010 at 11:39 PM, Caldarale, Charles R
<chuck.caldar...@unisys.com> wrote:
>> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com]
>> Subject: Re: How to start a daemon without getting the warning?
>
>> Meaning that I have to implement own thread registry for
>> all started threads?
>
> Nobody's going to do it for you, since they're part of your webapp.  (Might 
> be an interesting beyond-spec extension for Tomcat, though.)

What I mean is a "registry-style"-thing where i can register all my
threads, timers and executors, and which will take care of them with a
-ready-to-use- contextlistener i just have to add to my web.xml.

>
>> Anyone already did something like this by chance?
>
> You might want to take a look at java.util.concurrent.ThreadPoolExecutor, or 
> perhaps org.apache.commons.pool.

Well, that would just move the problem from stopping Timer to calling
shutdown on  Executor, wouldn't it?

>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to