Yes, that worked thank you.

However I had to tweak it to get it to work...I'm not sure if that's what
was necessary but some things didn't make sense to me according to the
instructions on the page:

1.  The instructions assume running on the Windows platform...no biggie,
just replace the File paths in web.xml with *nix paths.

2.  The cronservice.jar file is expanded the following way from the zip file
provided:

Archive:  cronscheduler.zip
   creating: META-INF/
   creating: WEB-INF/
   creating: WEB-INF/classes/
  inflating: WEB-INF/classes/CronOutput.class
  inflating: WEB-INF/classes/CronOutput.java
  inflating: WEB-INF/classes/resource.properties
  inflating: WEB-INF/classes/resource_fr.properties
  inflating: WEB-INF/classes/resource_ja.properties
  inflating: WEB-INF/jrun-web.xml
   creating: WEB-INF/jsp/
  inflating: WEB-INF/server-config.wsdd
   creating: WEB-INF/sessions/
  inflating: WEB-INF/web.xml
  inflating: schedule.ini
  inflating: hello.jsp
  inflating: cronservice.jar

With this scheme, and using the J2EE specs for Web apps, in order for the
packages in the cronservice.jar file:

     0 Wed Oct 09 18:05:22 MST 2002 META-INF/
    53 Wed Oct 09 18:05:22 MST 2002 META-INF/MANIFEST.MF
     0 Wed Oct 09 18:05:22 MST 2002 allaire/
     0 Wed Oct 09 18:05:22 MST 2002 allaire/jrun/
     0 Wed Oct 09 18:05:22 MST 2002 allaire/jrun/scheduler/
  5255 Wed Oct 09 18:05:22 MST 2002 allaire/jrun/scheduler/CronService.class
  2608 Wed Oct 09 18:05:22 MST 2002 allaire/jrun/scheduler/CronTab.class
  9167 Wed Oct 09 18:05:22 MST 2002
allaire/jrun/scheduler/CronTabEntry.class
   519 Wed Oct 09 18:05:22 MST 2002
allaire/jrun/scheduler/CronTabException.class

It needs to go in the WEB-INF/lib folder which doesn�t exist in this
archive.  So I created it and put it inside.

3.  Next I deployed the directory as a web app, and everything works just
fine and dandy.

Quite a shame that Macromedia didn�t put this in or support it by default or
that it wasn�t easy to find with a search on their website.  I would have
found it in a second and not bothered with the email listserve.

This scheduling functionality exists in the ColdFusion J2EE application as a
service deployed on top of JRun so it would only make sense for this one
too.

Thanks for the tip.

On 2/8/05 8:51 AM, "John Zhao" <[EMAIL PROTECTED]> wrote:

> Have you checked this one?
> 
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.t
> n_18332&extid=tn_18332&dialogID=18378859&iterationID=1&sessionID=4830d847570
> a$3F$3F$3&stateID=1%200%2018398149&mode=simple
> 
> Though keep in mind, this is only provided as a code example and not
> officially supported by Macromedia.
> 
> 
> 
> -----Original Message-----
> From: Jeffrey Anderson [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 07, 2005 5:18 PM
> To: JRun-Talk
> Subject: Schedule Servlet
> 
> Does anyone know once and for all if this information is relevant to JRun 4?
> 
>  
> http://www.macromedia.com/v1/handlers/index.cfm?id=17732
> <http://www.macromedia.com/v1/handlers/index.cfm?id=17732&method=full>
> &method=full
>  
>  
> The package on the scheduler servlet is referencing some allaire code which
> leads me to believe that this is a JRun 3 issue.  The above link seems to
> have old code.
>  
> If not, is there a relevant way to easily automate scheduled tasks within
> JRun 4, such as to send out emails on a periodic basis?
>  
>  
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5637
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to