It seems to me like a Lucee bug, but the ticket has been “rejected” because nobody could work out how to reproduce the issue;
https://luceeserver.atlassian.net/browse/LDEV-1197
My guess is that it’s resource (memory) related, and that somehow the /farcry mapping is going missing which means the tag library path is invalid which results in an error.
I think you have two ways to work around the issue;
-
Try to find any memory leaks in your app or a way to reduce the memory requirements. This is easier said than done, but at some point it would seem like there is memory pressure in the JVM and the mapping is somehow getting removed and never put back – a restart of the server “fixes” this. If those kinds of code changes aren’t possible then externalising cached objects and sessions into a caching server like memcached or redis might help as well.
-
To remove the need for a
/farcrymapping you can reorganise your directory structure so that the farcry folder sits inside your webroot. This might be your easiest option because if there’s no mapping then it can’t go missing, the files will always be in the correct place on disk
Hope that helps. Please let us know if you have some success with either of these, in case anyone else runs into the issue.
cheers,
Justin