Cache issue when migrating from Railo to Lucee

Hello Team,
Recently we switched from Railo server to Lucee server for our Coldfusion application. After the deployment we are facing logout issue for all the new users and few other users who haven’t logged into our application for long time. No users faced logout issue with Railo. This gets fixed by clearing all their browsing history in the browser and hitting the instance URL first and then followed by our application URL. Since it is not an optimal solution, we are looking for a permanent fix for the same.

OS: Windows 8 / 11
Java Version: 8
Tomcat Version: 8
Lucee Version:


How come you migrated to the ancient and not something modern like ?

We use version because of our Coldfusion code base that uses Apache POI 3.8 classes and methods and I believe doesn’t support Apache POI 3.8 version.

Any particular reason it doesn’t? It should be fine?

There’s even a POI 5.0 extension available for lucee

Anyway, does that cache problem occur with the latest version?

With latest version of POI there are few deprecated methods and classes and it is present only in lower version. We are facing cache problem for different versions of Lucee.

ok, if you are still seeing the problem with, I can help you

(personally, I’m not gonna battle trying to solve problems with older versions of lucee as we have fixed a metric ton of bugs since!) hope you can understand my position on this! )

gonna really need to see some code tho, like a stripped down example to reproduce the problem

Hello @Jayashree

Lucee 5 doesn’t include or integrate POI at all as part of its core, so I’m not sure why any Lucee 5.x version would stop you manually loading any POI version you want?

I’ve just tested loading POI 3.8 using Lucee and it seemed to work fine.

What are you using POI for?

If it’s just for spreadsheets then Lucee has some options for that.


I tried to upgrade the Lucee version to the latest - and when I tried to generate excel report it is throwing " controller->Sheet name cannot be blank, greater than 31 chars, or contain any of /*?" error but it works well with - version.
can you please let me know where are going wrong ?

can you paint a picture for us, we aren’t mind readers :slight_smile:

  1. what’s the sheet name you are using?
  2. show us the stacktrace?
  3. which lib are you using, a code snippet always helps too
1 Like