OS: lucee/lucee:6.2-nginx
Java Version: 21
Tomcat Version: 11
Lucee Version: 6.2.2.91
Hi Everyone,
First post here so would like to say Hi and introduce myself. I’m an engineer based on Brisbane AU and lately have been tasked with setting up a Lucee Docker environnment that will ultimately run on an Azure Web App for containers. Our Dev’s have used Coldfusion on Windows for years and we are aiming to move away from that onto Lucee. I haven’t used Lucee before and I’m getting my head around slowly but I have a question I’d like help with.
I’m experiencing an issue with my Docker build environment where Tomcat stops prematurely when using the LUCEE_ENABLE_WARMUP=true
variable, preventing Lucee from completing the processing of my .CFConfig.json
config file. This file is copied to the deploy folder during the build process (and removed after Tomcat runs to it doesn’t run in the deploy phase). I’ve found a temporary workaround by adding a sleep between starting and stopping Tomcat and removing the ARG LUCEE_ENABLE_WARMUP
from my Dockerfile, allowing Tomcat to run long enough for Lucee to finish processing. However, this solution is not ideal. I’m looking for a more robust fix to ensure that the warm-up process keeps Tomcat running long enough for Lucee to complete its processing. Can you provide a solution or guidance on how to resolve this issue?
Thanks
James