In the Tomcat folder create a railo/
folder and copy in the contents of the unzipped Railo JARs ZIP file (or from the WEB-INF/lib/
folder of the unzipped Railo WAR file). In the Tomcat conf/
folder, edit catalina.properties
and find the common.loader
class path. We're going to add the Railo JARs to the common class path so that every web application can have Railo CFML pages. The new common.loader
definition should look like this (all on one line, no spaces):
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/railo,${catalina.home}/railo/*.jar
Note: embedding Railo directly in Tomcat like this means that you will end up with a generated WEB-INF/
folder in each webroot, containing some Railo files (about 2MB).
Unless you're going to use the default web applications that come with Tomcat, this is a good time to empty the Tomcat webapps/
folder. You could create a default/
folder in the Tomcat folder and move everything from webapps/
to default/