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

Scheduled Tasks Stop Working Suddenly

Explorer ,
Nov 06, 2013 Nov 06, 2013

Copy link to clipboard

Copied

We have ColdFusion 10 installed on Windows Server 2008 with IIS 7.5.

We are running one additional instance of Coldfusion seperate from the cfusion instance but on the same physical server. Our scheduled tasks, on this instance, had been running without any problems for quite some time now. Suddenly about 3 weeks ago after a server reboot our tasks stopped running. We have tried everything including writing the output to a log file. The only thing that gets written to this log file is "Connection Failed".

Driling down into some of the other CF logs we are seeing that the job is getting triggered and then the job starts but it never gets completed.

Nov 6, 2013 16:01:00 PM Information [DefaultQuartzScheduler_Worker-6] - Task DEFAULT.sampleTask triggered.

Nov 6, 2013 16:01:00 PM Information [DefaultQuartzScheduler_Worker-6] - Starting HTTP request {URL='https://ru.ryerson.ca:443/ryecast/myTask.cfm', method='get'}

The weird thing is that if we create the same task in the instance manager (cfusion) on the same server pointing to the same .cfm file it works fine. So we know the script does work - just not in the ColdFusion Instance we need to work in.

Here is the successful log entry from cfusion logs.

Nov 6, 2013 16:01:00 PM Information [DefaultQuartzScheduler_Worker-6] - Task DEFAULT.sampleTask triggered.

Nov 6, 2013 16:01:00 PM Information [DefaultQuartzScheduler_Worker-6] - Starting HTTP request {URL='https://ru.ryerson.ca:443/ryecast/myTask.cfm', method='get'}

Nov 6, 2013 16:01:00 PM Information [DefaultQuartzScheduler_Worker-6] - HTTP request completed  {Status Code=200 ,Time taken=124 ms}

Has anyone else experience this kind of behaviour and if so is there a fix? I suspect some kind of corruption with the QuartzScheduler.

Views

1.2K

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
Explorer ,
Dec 02, 2013 Dec 02, 2013

Copy link to clipboard

Copied

Hi Marko,

Did you ever find a solution to your problem?

I'm having the same problem, but am running CF on redhat linux.

I too think it's something with quartz getting itself tied in knots.

In my http.log I can see the same as you, the task is triggered but it never completes. The strange thing I have found is that sometimes just resaving a task is enough to start it again.

Here's the thread I started http://forums.adobe.com/message/5811970#5811970

Cheers

Simon

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
Explorer ,
Dec 03, 2013 Dec 03, 2013

Copy link to clipboard

Copied

LATEST

No solution yet Simon. We are still running the task under the cfusion (instance manager) without any problems. It just won't run under our instance that our main application runs on.

I'll follow your thread so see how it progresses.

- Mark

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