New install of Lucee running slow on Windows / IIS Print

  • Lucee, Windows Servers
  • 0

After using the Lucee installer on a Windows / IIS server, the first load can take 2 or more seconds for any cfm web pages including the Lucee Web and Server admins. This is due to the servers networking issue that has been reported by users on new installs of Lucee. This appears to only effect Windows OS installed, Linux does not have this issue.

Solution

Edit the file located at:

C:\lucee\tomcat\conf\server.xml

Find the line starting with the connector protocol for the AJP, it will look something like the following:

<Connector protocol="AJP/1.3"
	    port="8009"
	    secret="123456789012345678901234567890123456789012345678901234567890"
	    secretRequired="true"
               redirectPort="8443" />

Add a new attribute named "address" and add the value of "0.0.0.0", below is an adjusted version from above with the new attribute:

<Connector protocol="AJP/1.3"
	    port="8009"
	    address="0.0.0.0"
	    secret="123456789012345678901234567890123456789012345678901234567890"
	    secretRequired="true"
               redirectPort="8443" />

Now restart the Lucee service.

You should now see your cfm pages and applications loading within the ~2 second wait.


Was this answer helpful?

« Back