Skip to main content
Apr 23, 2015 9:57 AM UTC
Question

Coldfusion 11 Scheduler does not fire

Hi,

I am facing an issue with my CF11 scheduler and I was hoping someone can help.

My application has 2 servers which are load balanced. I have created a schedule through CF Admin console which is on one server. The scheduler just needs to run a URL which I have defined in the scheduler. When I run this URL manually (by copying it in the address bar and running it) it works fine. However, when I trigger it through the CF scheduler, it gives a message saying "This scheduled task was completed successfully."

But when I go to my log (scheduler.log), I see "404 Not Found". I do not understand what is stopping this from running through the scheduler.

We recently migrated from CF8 to CF11 and these scheduler used to run fine on CF8.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Apr 23, 2015 10:23 AM UTC

To add to my query, when I check my exceptions.log, I see the below error.

"Error","DefaultQuartzScheduler_Worker-4","04/21/15","11:09:03",,"404
Not Found "

coldfusion.tagext.net.HttpTag$HttpTagNotFoundException: 404 Not Found

  at coldfusion.tagext.net.HttpTag.connHelper(HttpTag.java:1153)

  at coldfusion.tagext.net.HttpTag.runCall(HttpTag.java:1412)

  at coldfusion.scheduling.CronTask.execute(CronTask.java:121)

  at org.quartz.core.JobRunShell.run(JobRunShell.java:207)

  at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)

Translate
Inspiring
Apr 23, 2015 11:32 AM UTC

Are you sure the page you are running is on all the servers that the load balancers distribute traffic too?

Translate
Apr 23, 2015 11:48 AM UTC

Hi Hax,

Yes, the page is running on all servers and is load balanced. If there was an issue with that, the URL will not run when executed manually also.

Translate