We're updating the issue view to help you get more done. 

" Self-attach to current VM error " using Lucee 5.3 (Docker image Lucee-nginx) Java 11

Description

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:

-Djdk.attach.allowAttachSelf=true

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 5.3.1.102 and 5.3.2.74-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,

Environment

Lucee-nginx official docker images on a Linux Ubuntu host
files being accessed are on a windows share on a Windows 2008r2 server

Status

Assignee

Michael Offner

Reporter

steve duke

Labels

None

Sprint

None

Fix versions

Affects versions

5.3.2.74
5.3.1.102

Priority

New