When trying to access a network file ( a .cfm file via url) that has been modified since lucee first loaded it, lucee 5.3 will stall and generate this error:
Error Type: java.lang.IllegalStateException
Could not self-attach to current VM using external process
The file being accessed is on windows network share.
To work around this error the lucee docker images require the following instruction to the Java options in dockerfile:
On 5.2 (JAVA 8) it works flawlessly, we can update a cfm file multiple times and reload it in lucee without any problem, on 5.3 (JAVA 11) it fails every time after the file has been updated/modified.
We have confirmed this error with lucee 5.3 current release 220.127.116.11 and 18.104.22.168-RC
Our environment is running Lucee-nginx official docker images on a Linux Ubuntu host.
The files being accessed are on a windows share on a Windows 2008r2 server and we verified that the files can be read from the linux docker host after they are modified even when Lucee 5.3 throws this error.
Other than changing the lucee version in the Dockerfile (switching between "FROM lucee/lucee:5.2-nginx" to "FROM lucee/lucee:5.3-nginx") the two instances we are testing with are completely identical.
Lucee 5.3 runs on Java 11 instead of Java 8 for lucee 5.2, so maybe this is an underlying Java issue,
Lucee-nginx official docker images on a Linux Ubuntu host
files being accessed are on a windows share on a Windows 2008r2 server