Affects Version/s: 184.108.40.206
Fix Version/s: 220.127.116.11
Using lucee jar with system java and tomcat.
I updated my Lucee installation to 4.5 to 5 recently.
The error pattern was that the first load of a page would produce the error javax.servlet.http.HttpUpgradeHandler not found by lucee.core.
There was a mailing list suggestion that this was an upgrade problem, and replacing the tomcat-servlet-api.jar would make the problem go away.
A fresh install of lucee demonstrated that the problem wasn't isolated to upgrade installs for me. So I replaced the system tomcat-servlet-api.jar with the one from the mailing list.
This did not help my situation. The problem would always come back – once – every morning on my development machine.
The backtrace showed a line in Application.cfc inside onSessionStart. The code was only checking a server variable and setting a session variable. Since this was trivial to work around, I removed it. My problem went away.