Scheduled Tasks Deleted After CF 11 - Update 16
We installed the CF11 Update 16 today and it deleted all our scheduled tasks. Unfortunately, we didn't notice until we installed on 3 other servers. All tasks gone.
We tried to restore with a recent CF Archive from the Admin. Did not restore tasks.
It looks like the system did create a backup of the old tasks file: neo-chron.bak.
However, when we rename this back to neo-chron.xml and restart the server, CF replaces it with a blank file and makes a backup again.
Any help or ideas? Looks like we need to crawl through the XML and re-enter tasks by hand?
Logs look to show Null Point Exception:
"Error","localhost-startStop-1","02/15/19","14:14:25",,""
java.lang.NullPointerException
at coldfusion.runtime.Cast._boolean(Cast.java:323)
at coldfusion.scheduling.ScheduleTagData.setAttributes(ScheduleTagData.java:1309)
at coldfusion.scheduling.ScheduleTagData.<init>(ScheduleTagData.java:349)
at coldfusion.scheduling.CronServiceImpl.updateTasks(CronServiceImpl.java:291)
at coldfusion.scheduling.CronServiceImpl.load(CronServiceImpl.java:246)
at coldfusion.server.ServiceBase.start(ServiceBase.java:59)
at coldfusion.scheduling.CronServiceImpl.start(CronServiceImpl.java:186)
at coldfusion.server.CFService.setupCron(CFService.java:328)
at coldfusion.server.CFService.start(CFService.java:599)
at coldfusion.server.j2ee.CFStartUpServlet.startCFService(CFStartUpServlet.java:553)
at coldfusion.server.j2ee.CFStartUpServlet.init(CFStartUpServlet.java:505)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1230)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1174)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1066)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5409)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5707)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
