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

ColdFusion Scheduler Admin Error

Guest
Jul 23, 2010 Jul 23, 2010

Just upgraded 3 machines to 9.0.1 - all working fine *except* in the Administrative module, accessing the Scheduled Tasks page (where I have about 11 tasks scheduled) gives the first task, and then (hope this cuts and pastes correctly)

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

7/23/2010 12:05:00 AM is an invalid date format.

The error occurred in scheduletasks.cfm: line 272


There's also

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

at the top of the page.

This isn't going to be a major operational problem unless I want to reschedule any of the jobs or add a new one or delete one.

Any clues as to how to fix it?

Thanks

David Abbott

RB of the Church in Wales

7.2K
Translate
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
Jul 24, 2010 Jul 24, 2010

I get the exact same thing, also after updating to 9.0.1... it means my scheduled tasks are now unmanageable.Come on Adobe, how could this get through testing? Surely you check all the functions in the administrator before releasing updates?

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

7/24/2010 4:00:00 AM is an invalid date format.

The error occurred in scheduletasks.cfm: line 272
Called from scheduletasks.cfm: line 209
Called from scheduletasks.cfm: line 180
Called from scheduletasks.cfm: line 1
-1 : Unable to display error's location in a CFML template.

Resources:

Browser  Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.0 Safari/534.3
Remote Address  127.0.0.1
Referrer  http://127.0.0.1/CFIDE/administrator/navserver.cfm
Date/Time  24-Jul-10 01:21 PM
Stack Trace
at cfscheduletasks2ecfm231417246._factor7(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:272) at cfscheduletasks2ecfm231417246._factor30(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:209) at cfscheduletasks2ecfm231417246._factor31(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:180) at cfscheduletasks2ecfm231417246.runPage(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:1)

coldfusion.runtime.locale.CFLocaleDateFormatException: 7/24/2010 4:00:00 AM is an invalid date format.
     at coldfusion.util.DateUtils.formatDate(DateUtils.java:758)
     at coldfusion.runtime.CFPage.LSDateFormat(CFPage.java:1622)
     at coldfusion.runtime.CFPage.LSDateFormat(CFPage.java:1615)
     at cfscheduletasks2ecfm231417246._factor7(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:272)
     at cfscheduletasks2ecfm231417246._factor30(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:209)
     at cfscheduletasks2ecfm231417246._factor31(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:180)
     at cfscheduletasks2ecfm231417246.runPage(E:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:1)
     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
     at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
     at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
     at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
     at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
     at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
     at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
     at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
     at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
     at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
     at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
     at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
     at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
     at coldfusion.CfmServlet.service(CfmServlet.java:200)
     at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
     at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
     at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
     at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
     at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
     at jrun.servlet.FilterChain.service(FilterChain.java:101)
     at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
     at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
     at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
     at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
     at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
     at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
     at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
     at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
     at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Translate
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
Jul 26, 2010 Jul 26, 2010

Right - this is a QUICK and DIRTY fix, but it works (solution given for a Windows 2008 server). Doesn't mitigate the fact that the 9.0.1 upgrade breaks the admin scheduler list/admin pages.

Open up a window to X:\inetpub\wwwroot\CFIDE\administrator\scheduler (X being whatever drive is appropriate). RENAME the scheduletasks.cfm file you'll find there to sommat meaningful like scheduletasks.cfm.901. Now open up a window onto Y:\ColdFusion9\updater_backup\wwwroot\CFIDE\administrator\scheduler (Y being whatever drive is appropriate) and COPY the scheduletasks.cfm file to the directory above. No need to restart any services, you just get your ability to administer scheduled tasks back.

Like I said, this don't fix what was broke, just a work around till Adobe ... (complete sentence in idiom of local language).

DPA

Translate
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
Jul 26, 2010 Jul 26, 2010

Hi, we've been having this problem as well. Tom Jenkins posted a fix here: http://forums.adobe.com/thread/681470?tstart=60
- editing the task resets the Last Run Time to "Not Run", which gets rid of the error. I've tried it, and it seems to work - though it's far from ideal as you have to do it for it for every task after they've run. Hopefully a more permanent fix'll come out soon.


Is the bug preventing the tasks from running for you - as that's what seems to be happening with us?

It's logged in the Bug Tracker here, as well: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83598

Ewan

Translate
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
Jul 26, 2010 Jul 26, 2010

Ewan - the jobs are all running - no issues there. However, as is pointed out, resetting the last run time to 'not run' is time consuming; taking the admin cfm page back to its 9.0.0 state seems a bit more productive in the short term until the underlying problem (appears to be non-use of LSdateformat) is fixed.

DPA

Translate
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
New Here ,
Sep 24, 2010 Sep 24, 2010

Checkout Coldfusion Administrator Summary, my Java Default Locale  is  de_DE (running CF 9.01, latest hotfix applied on Win 2008 R2 x64)

So

1. goto: Java and JVM

2. add at the  end of JVM arguments: a space and -Duser.language=en -Duser.region=US

3. restart Coldfusion

4.  goto info page again, now it should show: en_EN and the errors should  disappear

Translate
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
New Here ,
Oct 12, 2010 Oct 12, 2010

Thanks - updating JVM arguments solves it for me

Translate
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
New Here ,
Jan 31, 2011 Jan 31, 2011

Thank you this solution worked like a charm.

Translate
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
Community Beginner ,
Mar 15, 2011 Mar 15, 2011
LATEST

since making the java locale modification caused the cron service to stop on my server,  I'll provide a complete list of actions including neccesary modifications in neo-cron.xml:

Check Coldfusion Administrator Summary (i),

(example; Java Default Locale is se_SE (running CF 9.01, latest hotfix applied on Win 2008 R2 x64)

0.     Backup [drive]:\ColdFusion9\lib\neo_cron.xml

1.     Edit neo-cron: Convert to English time stamps (in this case from se_SE format)
          a) replace all [space]fm ->  [space]am
          b) replace all [space]em ->  [space]pm
          c) save file

2.     goto CFIDE/Administrator: Java and JVM

3.     add at the  end of JVM arguments: 
           [space] -Duser.language=en -Duser.region=US

4.     restart Coldfusion Service

5.     goto info page again, now it should show: en_EN and the errors should  disappear

note [space] is the space key

good luck. //Anders

Translate
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