CFDocument fails to produce pdf with lmdp locked error

Description

Since applying 5.2.6.6 (I think) we've had several occasions where pdf creation via cfdocument fails.

The first time this happened, an error was logged.

;can't create file C:\inetpub\wwwroot\intranet\WEB-INF\lucee\temp\css. lmdp, file already exists;lucee.runtime.exp.NativeException: can't create file C:\inetpub\wwwroot\intranet\WEB-INF\lucee\temp\css. lmdp, file already exists

I stopped Tomcat, renamed the file css. lmd_, restarted Tomcat (which seemed to delete the 3 files in the temp folder) and was able to create pdfs again.

The issue reappeared today but with out that error message (or in fact any error) However, the same fix (renaming css.lmdp) worked.

Seems to be an issue with a lock not being released either for deletion or overwriting the lmdp file?

Note that this is happening on a production system that has had no change to code for over a year. It has only had MS, Tomcat & Lucee updates.

Environment

server 2012r2, Tomcat/8.5.11

Assignee

Michael Offner

Reporter

Jay B (JayIsPainting)

Priority

New

Labels

Fix versions

Sprint

None

Affects versions

Configure