Re: How to run a thread on app startup --- SOLVED

2006-04-04 Thread Bruce McGuire
Hello. My thanks to everyone for their assistance. The ServletContextListener works just fine to run my thread in the background when tomcat starts up and closes. Thanks very much. Bruce. - To unsubscribe, e-mail: [EMAIL PR

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 12:51 PM To: Tomcat Users List Subject: RE: How to run a thread on app startup I didn't use ServletContextlistener beause my inner classes don't know anything about a servlet or http (MVC) and the co

RE: How to run a thread on app startup

2006-04-03 Thread Jim Freeby
: How to run a thread on app startup I didn't use ServletContextlistener beause my inner classes don't know anything about a servlet or http (MVC) and the core is used across services, swing and swt applications, etc. -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTEC

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
3:46 PM To: Tomcat Users List Subject: Re: How to run a thread on app startup Hello Rodrigo. Thanks very much for the information. Bruce. Asensio, Rodrigo wrote: >I figured out that the best way to do that is with a variable of type >InheritableThreadLocal that keeps a copy per thre

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:46 PM To: Tomcat Users List Subject: Re: How to run a thread on app startup Hello Rodrigo. Thanks very much for the information. Bruce. Asensio, Rodrigo wrote: >I figured out that the best way to do that is with a variable of type >Inheritabl

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
. Regards Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:31 PM To: users@tomcat.apache.org Subject: How to run a thread on a

Re: How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
Hello Tim. Thanks for the information. Bruce. Tim Lucia wrote: Google for ServletContextListener -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 3:31 PM To: users@tomcat.apache.org Subject: How to run a thread on app startup

RE: How to run a thread on app startup

2006-04-03 Thread Asensio, Rodrigo
eeder Root phone: +1 336 547 5023 -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] 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

RE: How to run a thread on app startup

2006-04-03 Thread Tim Lucia
Google for ServletContextListener -Original Message- From: Bruce McGuire [mailto:[EMAIL PROTECTED] 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 th

How to run a thread on app startup

2006-04-03 Thread Bruce McGuire
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.