tracker issue : CF-3151858

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

scheduler events invoking Application.cfc methods

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 03/28/2012

Components: Scheduler

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on September 06, 2019 using build 2016.0.01.298513
Scheduler events are invoking Application.cfc methods, but should not since they are separate requests internally invoked by the server.

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

Watson Bug ID:	3151858

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:


  1. November 17, 2014 00:00:00:
  2. December 03, 2014 00:00:00:


Related thread:
Comment by External U.
19851 | March 28, 2012 09:45:30 AM GMT
I have verified that this is fixed. Application.cfc methods are no longer invoked when a scheduled task's event handler is called. Thanks!, -Aaron
Comment by External U.
19852 | April 28, 2012 03:37:39 PM GMT
In CF11 Update 3 (11,0,03,292024(PreRelease)): 1) Scheduler events are triggering onSessionEnd() (bad) 2) Scheduler events do not trigger any of the other Application.cfc methods (good) #1 is either a regression, -or- I didn't notice it when I said this was fixed. Either way, #1 should not be occurring and should be fixed. I will attach repro code. Also: Scheduler events should not create sessions, b/c those sessions are useless and waste system resources. I'll file an ER to disable session management for scheduler events. Thanks!, -Aaron
Comment by External U.
19853 | November 16, 2014 08:18:30 PM GMT
Repro: 1) Enable J2EE sessions (to simplify repro, b/c task handler sessions don't use J2EE sessions) 2) Unzip attached 3) Run createtask.cfm 4) Run index.cfm until 2 dumps appear (~1 minute) 5) See onSessionEnd() was called for task's onTaskStart() and onTaskEnd() Per this ticket, scheduler events should not invoke Application.cfc methods.
Comment by External U.
19854 | November 16, 2014 09:31:13 PM GMT
This issue still exists in CF10 Update 14 (10,0,14,291717), which means it was not fixed.
Comment by External U.
19855 | November 16, 2014 09:41:40 PM GMT
This issue still exists in CF11 Update 3 (11,0,03,292480). Just enable J2EE sessions and run the attached repro ( and see scheduler events create non-J2EE sessions which in-turn trigger onSessionEnd() to be called. Thus, this ticket should be re-opened as it isn't completely fixed. Thanks!, -Aaron
Comment by External U.
19856 | December 02, 2014 11:23:00 PM GMT
This ticket is still marked Closed/Fixed. It isn't fixed!
Comment by External U.
19857 | December 06, 2014 09:32:51 PM GMT
I see this ticket is now Open/ToFix. Thanks!, -Aaron
Comment by External U.
19858 | September 12, 2015 01:10:40 PM GMT
The fix for this bug would be available in the next major version of ColdFusion.
Comment by Suchika S.
19859 | October 30, 2015 01:39:17 AM GMT
Hi Suchika, Thanks very much! -Aaron
Comment by External U.
19860 | October 30, 2015 01:45:01 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31290 | September 06, 2019 02:48:11 AM GMT