Hello, Prince!
You wrote to Tomcat Users List [EMAIL PROTECTED] on Sat, 1 Nov 2003 13:21:42 +0530:
P Hi,
P I need to send a mail automatically at 10 minutes interval. how can
P i do this? how can i activate threads in tomcat?
Tomcat is a Java application, there are no difference of using
Hi,
I have an instance of MyMailScheduler - mmsched in a ContextListener
class for my webapp. mmsched spawns threads to do some work regarding
sending emails. In my contextDestroy method I do : mmsched = null;
I was under the impression that if tomcat was shutdown or the webapp
was stopped my
Hi,
The problem is that stop / suspend are deprecated. The destroy() method
has yet not been implemented ? What does one do then?
I have a solution -
Keep a reference to the instances of the threads spawned in a
hashtable. In contextDestroy make all these references null . Will this
solution
Hi,
I need to send a mail automatically at 10 minutes interval. how can i do
this? how can i activate threads in tomcat?
regards
Prince
- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 1:00 PM
Subject: Re: Opinions
The
Use cron under unix and/or a java app that would use Javamail classes.
Of course you can do it inside a servlet.
- Original Message -
From: Prince [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 8:51 AM
Subject: HOW CAN I USE THREADS IN TOMCAT
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 8:51 AM
Subject: HOW CAN I USE THREADS IN TOMCAT
Hi,
I need to send a mail automatically at 10 minutes interval. how can i do
this? how can i activate threads in tomcat?
regards
Prince
- Original Message
the Web app
shuts down.
Just a thought!
-Fred Whipple
iMagine Internet Services
-Original Message-
From: Erik Wright [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 11:03 AM
To: Tomcat Users List
Subject: Re: HOW CAN I USE THREADS IN TOMCAT
A servlet is just