Configuring and Running Railo Powered CFML Applications on Jelastic Cloud

  Jan 25, 2012     36300 Views      Web , Railo , ColdFusion       Comments (5)   

I have been watching the Jelastic Cloud for almost a month and finally I gave it a try last week. The team behind Jelastic did all the ground works for us to get up and Running with Railo in their environment. I have configured Railo and created a sample job search application and hosted it in their Cloud in just 10 minutes time.

The below configuration information are one which I read and learned from our Community Geeks Matt Woodward, Sean Corfield, Todd Rafferty, Jamie Krug and the credits are go to them completely.

Before we move on just take a look at this video by the Jelastic team on Deploying Railo in Jelastic Cloud.

Installing Railo and Tomcat on Jelastic Cloud:

  • Signup for the Jelastic Cloud account and Create your environment by adding Tomcat 6, JDK 6 and MySQL.
  • Copy the latest Railo WAR file link from Railo download section.
  • Under Deployment manger, select Upload and enter the Railo WAR URL link. Wait until you see the railo.war is added to the Deployment Management section.
  • Now Deploy Railo to the environment you have created in the first step. Wait for a minute and once it gets installed click browse button to Launch the Railo administrator. The URL would be like this

    Configuring and Running Railo Powered ColdFusion Applications on Jelastic Cloud

  • In case if you are not able to view Railo Administrator and getting any 502 or related errors then go and refresh your environment and try again.

Configuring a Railo powered ColdFusion site:

  • Click on the Config icon in your Tomcat setting and select the file under the server folder and add your Railo paths to common.loader class path and save it.

    #Added the Railo *.JAR path

    Note: Currently Jelastic allows us to upload new files, create files and folders under your /opt/tomcat/(catlina.home) of your environment. We could not able to perform any file or folder moving functionality during this beta. Hence I kept the Railo JAR files under the default installed location and appended this path to the existing common.loader class as below.

  • Open web.xml file and paste the following contents under the , and sections and save it.

    <!-- Railo Servlet section-->
       <description>CFML runtime Engine</description>
          <description>Configuraton directory</description>

       <description>AMF Servlet for flash remoting</description>

       <description>File Servlet for simple files</description>

    <!-- Railo Servlet Mapping section-->





    <!-- Added Index.cfm to welcome File list section -->
  • Create a folder called railoweb under webapps directory and upload a index.cfm file with some dynamic contents in it.
  • Create a custom domain or a CNAME entry with your existing domain and point it to the and add the CNAME entry to Custom domains section. I have created one called for this purpose.
  • Open server.xml and add the following host entry to it and save.

    <Host name="" appBase="webapps"
          unpackWARs="true" autoDeploy="true" xmlValidation="false"

          <Context path="" docBase="/opt/tomcat/webapps/railoweb/" />
  • Now its time to Restart the Tomcat and hit our application.

The sample application is available at Hope this helps and share your experience about Jelastic Cloud and issues you come across while configuring applications.


1. Nathan Miller on Feb 9, 2012 at 11:25 AM

This link isn't working:

2. Akbarsait on Feb 9, 2012 at 10:19 PM

@Nathan It's working now please check.

3. Salvatore Fusto on Feb 23, 2012 at 4:36 AM

Thank you Akbarsait, very usefull post.

4. Akbarsait on Feb 23, 2012 at 9:50 AM

@Salvatore - Glad to help.

5. Nolan Dubeau on Jun 6, 2012 at 10:09 PM


I've been looking at running CF on Jelastic. One thing I can't seem to find is after the topology and CF engine are setup how do you deploy/upload your site? Is the only way to do that by deploying a war, or is there any type of command line tool similar to what CloudBees has -



About Me

CFML/Web/Cloud/Data/Agile Enthusiast, Husband & Dad, an avid learner & android fan who works as a Tech Consultant in Toronto, Canada.!
Get Your Next CFML Job!
ColdFusion Tuts
ColdFusion Tutorials & Resources


Adobe Agile AppCore Creator BlogCFC Books Bootstrap CFBuilder CFEclipse CFML Chennai CFUG Chrome Extensions ColdFusion Google IIS India Learning MySQL Railo Subversion Tools & Utilities Web Windows 7


2021 2018 2017 2016 2014 2013 2012 2011 2010 2009 2008


Akbarsait © 2008 - 2023 | Hosting provided by Vivio Technologies

Home | Blog | Sitemap | RSS Feed