CFEngine adobe - Could not initialize class coldfusion.vfs.VFile when using s3 protocol


The following works in coldfusion 2016+ MSI installation, but when using command box it doesn't work on 2016 or 2018. If called it just returns a 500 error. The logs show

[INFO ] runwar.context: Apr 26, 2021 20:03:56 PM Error [XNIO-1 task-1] - Could not initialize class coldfusion.vfs.VFile The specific sequence of files included or processed is: E:\Projects\test\index.cfm, line: 48
[ERROR] io.undertow.request: UT005023: Exception handling request to /
javax.servlet.ServletException: ROOT CAUSE:
java.lang.NoClassDefFoundError: Could not initialize class coldfusion.vfs.VFile
at coldfusion.vfs.VFSFileFactory.checkIfVFile(

This works in 2020 with AWSS3Legacy installed. It seems to work on all version of lucee I've tried.
However I really need a workaround for 2016. Does anyone have any ideas on how to resolve this?

<CFDIRECTORY directory="s3://[aws_AccessKey]:[aws_SecretKey]@[bucket]/folder/" name="myBucket" />
<cfdump var="#myBucket#">


Brad Wood
7 days ago

I believe I have tracked it down to a specific way CommandBox was using class loaders and it should be fixed in the upcoming 5.3.1 update

Your pinned fields
Click on the next to a field label to start pinning.


Brad Wood


Devin White

Fix versions