tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: JavaMail
Date Wed, 07 Nov 2001 16:36:10 GMT
Why not run a *real* cron job (or equivalent scheduled task under
Windows)?  I don't see why this really needs to be done inside the Tomcat
process.

Craig McClanahan


On Wed, 7 Nov 2001, Brandon Cruz wrote:

> Date: Wed, 7 Nov 2001 09:41:54 -0600
> From: Brandon Cruz <bcruz@norvax.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: RE: JavaMail
>
> Hello,
>
> I am trying to use Java Mail to allow visitors to send an email reminder to
> themselves at a certain time in the future.
>
> I guess I would need some type of cronjob running, or a timer of some sort,
> that can check the database and see who needs the email for that day.
>
> If I use a timer with an application scope, and there are a couple hundred
> web applications on my server, will that severely limit performance?  My
> guess is yes.
>
> Has anyone done something like this before, any recommendations?
>
> Thanks!
>
> Brandon
>
> -----Original Message-----
> From: craigmcc@localhost [mailto:craigmcc@localhost]On Behalf Of Craig
> R. McClanahan
> Sent: Tuesday, November 06, 2001 8:09 PM
> To: Tomcat Users List
> Subject: Re: JavaMail
>
>
> If you need your classes in only a single web app, put them in a JAR file
> in the "/WEB-INF/lib" directory of your webapp.  Otherwise, put them in
> the $TOMCAT_HOME/lib directory to make them available to all webapps.
>
> Craig
>
>
> On Tue, 6 Nov 2001, Wax, Michael wrote:
>
> > Date: Tue, 6 Nov 2001 17:09:47 -0800
> > From: "Wax, Michael" <mwax@vantra.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > To: "'tomcat-user@jakarta.apache.org'" <tomcat-user@jakarta.apache.org>
> > Subject: JavaMail
> >
> > In addition to SMTP, I have written classes for internal mail types.
> Where
> > do I put these in Tomcat to make them work?  If I add them to the mail
> jar,
> > Tomcat (its JWM) complains about NoClassDefFound errors for each class
> > referenced in the new mail classes.  I don't want to put my entire
> > application in the mail jar.  Any ideas?
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message