Skip to content

Lucee performance quick fix in server.xml

Just a quick one! Went to CFCamp last week and spoke to fellow developer Tim Donovan. I mentioned during my talk that there was always a 4-second delay on my local development machine for every single request. Tim kindly pointed me towards this post on which refers this Lucee/Tomcat bug report.

This affects Windows installs of Lucee, up to version 6 and is to do with some kind of IPv6 lookup.

The fix, if you’re getting a suspicious delay, is to add an address attribute to the AJP protocol statement in server.xml in the /lucee/tomcat/conf folder so that it reads similar to the following:

<Connector protocol="AJP/1.3"

This eliminated the delay for meĀ after restarting Lucee/Tomcat.

Published incfml