Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Tim Parker / Tim Parker (Tim Parker)
Created: 07/08/2016
Components: Scheduler
Versions: 2016,2018
Failure Type: Crash
Found In Build/Fixed In Build: CF2016_Update1 / 2018.0.02.312498,2016.0.08.312505
Priority/Frequency: Minor / Some users will encounter
Locale/System: ALL / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description: We are seeing frequent crashes when trying to use CFSchedule - sometimes it succeeds, sometimes it fails
Steps to Reproduce:
Actual Result: crash:
Message: java.io.FileNotFoundException: C:\servers\ColdFusion2016\cfusion\lib\neo-cron.xml (The requested operation cannot be performed on a file with a user-mapped section open)
Type: Application
Detail:
Caused by (class java.io.FileNotFoundException):
Message: C:\servers\ColdFusion2016\cfusion\lib\neo-cron.xml (The requested operation cannot be performed on a file with a user-mapped section open)
minimized stack with 179 entries
0: ........java.io.FileOutputStream.open0[fileoutputstream.java:-2]
1: ........java.io.FileOutputStream.open[fileoutputstream.java:270]
2: ........java.io.FileOutputStream.<init>[fileoutputstream.java:213]
3: ........java.io.FileWriter.<init>[filewriter.java:107]
4: ........coldfusion.server.ServiceBase.doSerialize[servicebase.java:247]
5: ........coldfusion.server.ServiceBase.access$100[servicebase.java:37]
6: ........coldfusion.server.ServiceBase$2.run[servicebase.java:204]
7: ........java.security.AccessController.doPrivileged[accesscontroller.java:-2]
8: ........coldfusion.server.ServiceBase.serialize[servicebase.java:200]
9: ........coldfusion.scheduling.CronServiceImpl.store[cronserviceimpl.java:491]
10: ........coldfusion.scheduling.CronServiceImpl.updateAndStore[cronserviceimpl.java:1232]
11: ........coldfusion.scheduling.CronServiceImpl.updateTask[cronserviceimpl.java:1191]
12: ........coldfusion.tagext.lang.ScheduleTag.doActionUpdate[scheduletag.java:1056]
13: ........coldfusion.tagext.lang.ScheduleTag.doStartTag[scheduletag.java:725]
14: ........coldfusion.runtime.CfJspPage._emptyTcfTag[cfjsppage.java:3698]
15: ... (our code - <CFSchedule ACTION="Update"
URL="...."
PORT="80"
TASK="..."
OPERATION="HTTPRequest"
PUBLISH="yes"
PATH="...."
FILE="jobX.log"
INTERVAL="once"
STARTDATE="2016-07-08"
STARTTIME="14:00:01"
REQUESTTIMEOUT="7200">)
Expected Result: the task gets scheduled without error
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4171358
Reason: PRHaveInfo
External Customer Info:
External Company:
External Customer Name: Tim Parker
External Customer Email:
External Test Config: My Hardware and Environment details:
CFML Engine Version: ColdFusion Server 2016.0.02.299200 (Apache Tomcat/8.0.32)
JVM version: 1.8.0_92-b14 - [64 bits, Windows Server 2008 R2]
JVM memory (MB): max:961.5 total:961.5 free:425.65
CFML Engine Started: 2016-07-08 09:26:59.468 (running for 4 hours and 33 minutes)
>> Server is a VM with 3GB total memory - only other processes running are a MySQL instance and a SQL Server instance - task manager reports 77% physical memory usage, indicating that paging is probably not a factor
>> virus scans disabled
>> JVM args:
java.args=-server -Xms1024m -Xmx1024m -XX:MetaspaceSize=192m -XX:MaxMetaspaceSize=512m -XX:+UseParallelGC -Xbatch
-Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home}
-Dcoldfusion.dotnet.disableautoconversion=true -Dcoldfusion.libPath={application.home}/lib
-Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random
-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
-Djava.util.logging.config.file={application.home}/lib/logging.properties
{classpath is default plus our private Java libraries}
Attachments:
Comments: