• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Coldfusion 11 Scheduler does not fire

Guest
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

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.

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

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)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

LATEST

The only other thing I can think of would be that you have a cfhttp tag inside the schedule that is trying to call a location that doesn't exist.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation