You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bruce McGuire <bm...@mentoring-solutions.com> on 2006/04/03 21:31:04 UTC
How to run a thread on app startup
> Hello.
>
> I need to have an application that has a seperate thread that loads
> when tomcat loads. It scans my db every once in a while, to find out
> if any new info has to be processed.
>
> I have tried to find out from the docs how to do this, but I can't
> find it.
>
> Thanks for your help,
>
> Bruce.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How to run a thread on app startup
Posted by Bruce McGuire <bm...@mentoring-solutions.com>.
Hello Tim.
Thanks for the information.
Bruce.
Tim Lucia wrote:
>Google for ServletContextListener
>
>-----Original Message-----
>From: Bruce McGuire [mailto:bmcguire@mentoring-solutions.com]
>Sent: Monday, April 03, 2006 3:31 PM
>To: users@tomcat.apache.org
>Subject: How to run a thread on app startup
>
>
>
>>Hello.
>>
>>I need to have an application that has a seperate thread that loads
>>when tomcat loads. It scans my db every once in a while, to find out
>>if any new info has to be processed.
>>
>>I have tried to find out from the docs how to do this, but I can't
>>find it.
>>
>>Thanks for your help,
>>
>>Bruce.
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
RE: How to run a thread on app startup
Posted by Tim Lucia <ti...@yahoo.com>.
Google for ServletContextListener
-----Original Message-----
From: Bruce McGuire [mailto:bmcguire@mentoring-solutions.com]
Sent: Monday, April 03, 2006 3:31 PM
To: users@tomcat.apache.org
Subject: How to run a thread on app startup
> Hello.
>
> I need to have an application that has a seperate thread that loads
> when tomcat loads. It scans my db every once in a while, to find out
> if any new info has to be processed.
>
> I have tried to find out from the docs how to do this, but I can't
> find it.
>
> Thanks for your help,
>
> Bruce.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org