Railo/Lucee and IIS Settings

After upgrading to Super Search (V13.0) the upgrade will attempt to set the following settings in IIS and Railo. These settings affect performance, browser compatibility, timeouts due to long active directory synchs, and the ability to upload large files. The following settings are recommended:

Railo/Lucee Request Timeout

In the Railo Web Administrator (http://<servername>/railo-context/admin/web.cfm  default password is "connections") we set the the Railo request timeout to 10 minutes. Lucee is similar but the address will be http://<servername>/lucee/admin/web.cfm

RailoTimeout.PNG

 

Railo/Lucee Memory Settings

Using the Railo-Tomcat Service Control or Lucee-Tomcat Service Control application (right click and run as Administrator)  on the web server, we set the following memory settings:

  • MaxPermSize=512m
  • Initial memory pool: 1024 MB
  • Maximum memory pool: 2048 MB

If you change these settings, click the General tab, and click Stop, then Start.

railomemory.PNG

IIS Settings

Via the web.config file under the Intranet folder, we set IIS with the following settings:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<remove name="X-UA-Compatible" />
<add name="X-UA-Compatible" value="IE=Edge" />
</customHeaders>
</httpProtocol>
<defaultDocument>
<files>
<remove value="index.cfm" />
<add value="index.cfm" />
</files>
</defaultDocument>
</system.webServer>
<system.web>
<httpRuntime executionTimeout="600" maxRequestLength="102400" />
</system.web>
</configuration>

  • X-UA-Compatible value = "ID-Edge": This tells Internet Explorer not to run the site in compatibility mode when the intranet site is detected as an internal site. This prevents rendering issues in Internet Explorer.
  • httpRuntime is set to have a execute time of 600 secs (10 minutes) and a maximumRequestLength of 102400 KB. This allows for long running AD Sync requests and large file uploads up to 100MBs.

Note that this web.config file under Intranet folder is different than the web.config under website root (wwwroot folder). The wwwroot folder web.config file contains the bindings for the processing of CFC/CFML files. In the case where the webroot is set to the Intranet folder, the settings in the seperate web.config files are combined into one file.

Click here to download the standard web.config files 

Referenced by:

Have more questions? Submit a request

0 Comments

Article is closed for comments.