Title:
"java.lang.NoClassDefFoundError: java/nio/channels/FileLock" during shutdown and restart
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): A. Bakia / ()
Created: 11/27/2018
Components: Caching, Distributed Caching
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: 2016.0.07.311392 /
Priority/Frequency: Normal /
Locale/System: / Win 2016
Vote Count: 0
Problem Description:
Whenever we restart ColdFusion we get the following error message in coldfusion-error.log.
Steps to Reproduce:
1) Restart ColdFusion (or a ColdFusion instance);
2) Open the log file, coldfusion-error.log, in a text editor and examine the lines corresponding to the restart.
Actual Result:
You will see the following error message:
Jul 26, 2018 11:01:18 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-nio-8026"]
Exception in thread "Thread-11" java.lang.NoClassDefFoundError: java/nio/channels/FileLock
at net.sf.ehcache.DiskStorePathManager$DiskStorePath.unlock(DiskStorePathManager.java:358)
at net.sf.ehcache.DiskStorePathManager.releaseLock(DiskStorePathManager.java:236)
at net.sf.ehcache.CacheManager.shutdown(CacheManager.java:1571)
at coldfusion.tagext.io.cache.ehcache.GenericEhcache$CacheCleanUpAgent.run(GenericEhcache.java:1166)
at coldfusion.scheduling.Scheduler.run(Scheduler.java:245)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: java.nio.channels.FileLock
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:226)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Expected Result:
No such error message.
Any Workarounds:
Not applicable
Attachments:
Comments: