I see that it is recommended to run Lucee on OpenJDK 11, but that it will run on OpenJDK 8.
I’m wondering what are the drawbacks of running Lucee on Java 8?
Our lucee app uses a component that is implemented in an old grails app that we have been running on a separate tomcat server on the same machine because we couldn’t get it to run on Lucee’s bundled tomcat. When the Lucee app needs the Grails component, it embeds it in a cross origin iframe, which causes a few issues, but it works…for the most part.
I recently discovered by chance that the reason is that grails 2.4.5 won’t run on jre 11. If I run Lucee using jre 8, the grails app actually works on the same tomcat server.
I plan to eventually rewrite the functionality of the grails app within the main lucee app (There’s no reason for it to be separate…it was an outsourced contract job in an effort to cut costs…ugh).
Meanwhile, I’m looking for a knowledgeable opinion: do you think it could be a good idea to switch Lucee to run on jre 8 and run both on the same tomcat instance? Or would it actually be better to continue running separate servers? (tomcat9/jre8/grails and tomcat9/jre11/lucee). What are the issues to be aware of?
OS: MacOS 10.15.7 (dev), Windows Server 2019 (prod)
Java Version: openjdk 8, openjdk 11
Tomcat Version: 9.0
Lucee Version: 126.96.36.199