tracker issue : CF-3295644

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

Scheduled Task that executes a url on a specific port revert back to 80 after the service restarts

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Eric Sontag / Eric Sontag (Eric Sontag)

Created: 07/25/2012

Components: Scheduler

Versions: 10.0

Failure Type: Data Corruption

Found In Build/Fixed In Build: Final / 282688

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win All

Vote Count: 1

Problem Description:
Scheduled Tasks that execute urls on specific port revert back to 80 after the service restarts

Steps to Reproduce:
1) From the CFIDE/Admin create a scheduled task where URL includes a port assignment:  http://localhost:801/runSchedule.cfm
2) Edit the task to verify the URL remains intact.
3) Restart the Coldfusion 10 Application Server Service

Actual Result:
Go back to the CFIDE/Admin a view the scheduled task.  The URL field gets set to http://localhost/runSchedule.cfm

Expected Result:
The URL should stay http://localhost:801/runSchedule.cfm as entered

I also checked the full details of the task using the API command (below) after the task is created and again after the restart and observed the following:
<cfset arySchedTasks = createobject("java","coldfusion.server.ServiceFactory").getCronService().listall() /> 		
<cfdump var="#arySchedTasks#" label="arySchedTasks">

After the task is created the URL itself does not show the port assignment as entered but a parameter called http_port has a value of 801.
After the restart is performed, the URL is the same (without the port assignment) but the parameter called http_port is MISSING....

I suspect this is what needs to be fixed.
Any Workarounds:

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

Watson Bug ID:	3295644

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

Dell R710, 8GB RAM, 250GB Disk Space, Intel Xeon CPU E5520 @ 2.27Ghz (4 processors)

Windows 2008 Server Standard Service Pack 2 64 Bit

Coldfusion 10 Standard 64 bit



We use scheduled tasks as part of our daily operation and restart the server periodically. We can not put this release into production since our scheduled tasks will not run after the service restarts.. Also noticed that the scheduler.log no longer reports messages regarding Scheduled Task "Activating2 on ..." like it used to in CF8 on Service Startup. I used to use this to verify that my scheduled tasks were scheduled properly. Also noticed that the IDE seems to not allow .html extensions in the save as filename (it is allowed from a <CFSCHEDULE> tag though. These other points are minor.
Comment by External U.
18665 | July 25, 2012 09:52:21 AM GMT
We are also encountering the same problem on three separate installations of ColdFusion-10. The CF admin loses the http_port input for scheduled tasks after the server restarts.
Vote by External U.
18668 | August 13, 2012 07:17:48 AM GMT
@Adobe and @esontag, I've verified this is fixed in CF10 Updater 2. @esontag, I've filed #CF-3336106 for .htm/.html to be included in cfusion\lib\neo-cron xml by default. Currently, these must manually be added.
Comment by External U.
18666 | September 24, 2012 07:10:49 PM GMT
Closing bug. (Comment added from ex-user id:vnigam)
Comment by Adobe D.
18667 | June 08, 2013 03:17:00 AM GMT