Bug in Lucee 7 threads

Title: cfthread interrupted during cfexecute with InterruptedException before timeout

Environment:

  • Lucee 7.0.0.395
  • JVM: 21.0.9+10-LTS (Eclipse Adoptium)
  • Tomcat 11.0.13
  • Windows 11

Issue:
cfexecute with timeout=300 inside a cfthread is being interrupted
after ~3 minutes with “java.lang.InterruptedException” despite the
timeout not being reached. The subprocess (Python) completes
successfully in ~22 seconds normally.

Error: “Error invoking external process - java.lang.InterruptedException”

Expected: Thread should wait the full 300 seconds or until process completes
Actual: Thread interrupted after ~3 minutes regardless of cfexecute timeout

Hey Paul,

you could create a little github example to demonstrate the the problem, code speaks louder than words!