We recently upgraded to Lucee 6.2.3.35 (from 5.4). We have a couple Lucee 6 servers, dedicated to background jobs via Lucee scheduled tasks that are getting “stuck” where Boncode stops talking to Tomcat. Requests to the app hang forever. I think the issue is with creating connections.
The scheduled tasks execute on the same server http://mysite.com/job1.cfm with a host entry of 127.0.0.1 mysite.com
They run frequently (every 30 seconds to 1 minute) and can run for a 30-60 seconds. Basically always running.
- Since 2/27/2026, the two jobs servers have done this 5 or 6 times.
- During each outage, the Lucee admin was running fine via http://127.0.0.1:8888/lucee/admin/server.cfm.
- Each time it occurred between 00:00 (midnight) and 00:30 local time, but on different days of the week and with different amounts of time between outages (there has to be something with the time of day, I’m just not sure what yet)
Lucee has 28GB ram and I haven’t observed any resource issues during the outages (CPU, memory, etc…)
The fix has been to restart the application pool or just restart IIS.
I’ve tried tweaking the Boncode settings (one change at a time, none of them have stopped the problem)
- Changed
<Server>localhost</Server>to<Server>::1</Server>to match the Tomcat connector - Changed
<MaxConnections>1000</MaxConnections>to<MaxConnections>0</MaxConnections>to disable connection pooling - Started logging Boncode connections
We have NOT had this problem:
- On any of our 3 other Lucee 6 servers (these handle user requests for our application)
- With our previous stack of Windows 2016 + Boncode + Tomcat 9 + Lucee 5 + FusionReactor which ran for many years
Boncode settings
<Settings>
<Server>::1</Server>
<Port>8009</Port>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<EnableHeaderDataSupport>True</EnableHeaderDataSupport>
<ForceSecureSession>False</ForceSecureSession>
<AllowEmptyHeaders>False</AllowEmptyHeaders>
<MaxConnections>0</MaxConnections>
<SkipIISCustomErrors>True</SkipIISCustomErrors>
<LogLevel>2</LogLevel>
<LogDir>D:\IISSharedConfig\BoncodeLogs</LogDir>
<FlushThreshold>0</FlushThreshold>
<PacketSize>65536</PacketSize>
</Settings>
Tomcat connector settings (server.xml)
<Connector port="8009" protocol="AJP/1.3"
connectionTimeout="121000"
maxConnections="1000"
keepAliveTimeout="-1"
redirectPort="8443"
address="::1"
packetSize="65536"
secretRequired="false" />
Don’t forget to tell us about your stack!
OS: Windows 2022
Java Version: 21.0.9 (Eclipse Adoptium) 64bit
Tomcat Version: 11.0.13
Lucee Version: 6.2.3.35
