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
-
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
: 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
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
[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
.
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
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
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
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
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.
10 matches
Mail list logo