Tomcat regression bug in Lucee Express 6.1.0.243: Tomcat 8 in use

There apparently has been an oversight in Lucee Express 6.1.0.243: Apache Tomcat 8.0.36 is being used. To see it, run the following code:

<cfscript>
writedump(server.servlet.name);
</cfscript>

The result is: Apache Tomcat/8.0.36

This is apparently a regression bug. Lucee Express 5.4.x runs on Apache Tomcat 9.

Looking ahead, Tomcat is currently at version 10.x, with version 11.x in beta.

OS: Windows 10
Java Version: Oracle JDK 17.0.12 (LTS)
Tomcat Version: 8.0.36
Lucee Version: Express 6.1.0.243

1 Like

I’ve commented on this in several other threads lately - why does Lucee 5 Express come with Tomcat 9 while Lucee 6 Express comes with Tomcat 8? That’s a big step backwards!

Also, it causes an error message during startup, which is caused by Tomcat 8 not being able to handle a certain kind of class, but Tomcat 9 can handle it fine. I reported that here on August 7:

I never got any answer, nobody ever replied. Maybe they will now!

Just found that thread in Lucee:
https://luceeserver.atlassian.net/browse/LDEV-5060

Question: have you ever tried getting the ExpressVersion with Tomcat 9 und replacing the 5.4 lucee.jar inside the lib folder with the 6.1 standalone lucee.jar? I know it’s not what we want… but should serve as a workaround.
…

2 Likes

Hi @andreas , thanks for the link. I hadn’t seen that. Thanks also for the tip.

Anyway, I should say that I am astonished. The fact that Lucee Express 6.1.0.243 uses Tomcat 8 is not only a bug. It is a blunder. I say this because the release is still available for download and is even recommended as “production-ready”.
image

1 Like

I have a new project to start, but I’m going to wait till they fix Lucee 6 Express to include the proper Tomcat version, 9.