tracker issue : CF-3687315

select a category, or use search below
(searches all categories and all time range)
Title:

Scheduled Tasks won't complete after CF instance is restarted

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Simon Janssens / Simon Janssens (raZorTTZ)

Created: 12/22/2013

Components: Scheduler

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Linux RH Enterprise 6

Vote Count: 0

Problem Description: 

I have noticed that after a reboot of our ColdFusion instances the scheduled tasks we had setup in the administrator weren't running correctly. 

When I looked in the http.log file I could see that it was trying to execute the correct template 

"Information","DefaultQuartzScheduler_Worker-9","10/25/13","07:18:16",,"Starting HTTP request {URL='...', method='get'}"

But the request never appears to be completed. When a task successfully runs I was expecting to see a completed line as well in the http.log file

"Information","DefaultQuartzScheduler_Worker-9","10/25/13","07:18:21", ,"HTTP request completed  {Status Code=200 ,Time taken=4896 ms}".

I have identified that this only occurs when the scheduled task is setup to use a proxy server.

 
Steps to Reproduce: 

-Create a scheduled task that requires a proxy server to access.
-Confirm the task is running successfully (check http.log).
-Restart the ColdFusion instance.
-Check the http.log file to see if the task is completing.

Actual Result:

It appears as though quartz attempts to trigger the task, but it never completes. The success message isn't added to the http.log and there are no entries in the apache access log for the URL of the scheduled task. 

Expected Result:

Task to have successfully completed and a HTTP request completed logged inserted into the http.log.

Any Workarounds:

-Go into the CF administrator and click on the task to edit.
-Save / Submit the form (no changes required)
-The task will then run as expected and complete successfully until the instance is restarted.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3687315

External Customer Info:
External Company:  
External Customer Name: raZorTTZ
External Customer Email:  
External Test Config: My Hardware and Environment details:



RHEL 6.0

2 CPU

6GB RAM

4 CF instances

Attachments:

Comments:

http://forums.adobe.com/message/5952128#5952128
Comment by External U.
13814 | December 22, 2013 10:36:46 PM GMT
Not able to repro the bug . Checked it on a windows machine and also on a rhel machine with a proxy server that reaches out to internet . If anyone is still facing the issue do let us know and help us to repro the case.
Comment by Suchika S.
13815 | August 27, 2014 05:48:06 AM GMT