Configuring and Running Railo Powered CFML Applications with Jelastic

    This is a guest post by our friend and Jelatic beta user, Akbarsait. Below, he shows you how to deploy a Railo powerd CFML app using Jelastic. What did is pretty cool. He pulled all the Railo job from and put them all in one place.

    Configuring and Running Railo Powered CFML Applications with Jelastic

    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 work 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 follwoing configuration information I learned from our Community Geeks, Matt Woodward, Sean Corfield, Todd Rafferty, Jamie Krug, and the credit goes to them completely.

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

    Installing Railo and Tomcat on the 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 the 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 the browse button to Launch the Railo administrator. The URL would be like this (or, if you are using dogago/HE,
    • If you are not able to view the Railo Administrator and get any 502 or related errors, just 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.


    • Saheda says:

      As far as language suprpot goes I think CFEclipse can’t really go backwards from where it is now. CFEclipse already suprpots user defined tag dictionaries, so if a particular engine needs suprpot for certain bespoke tags then either the vendors or we as users can add suprpot where it is needed.Other bug fixes may be a slightly different story (Java isn’t quite as simple as editing an XML file), but considering the tools we were using 4+ years ago I think we currently have it pretty good, and all off the back of some community members who gave CFEclipse to us for free. And it would be a shame for Adobe’s Bolt IDE to block suprpot for the customisation of the tags / syntax available in other CFML engines when CFML developers would gladly pay for it if/when it turns out to be a superior IDE (for those who can afford it).

    • Johnlei says:

      I’d just like to say “hear! Hear!”Every single one of us that deveolps using ColdFusion has had to put up with some jeering, sneering developer or sys admin professing that their “latest greatest”, but inevitably also “outdated” technology, is better suited for the job and “why are you using that ColdFusion rubbish?”.Kev keeps saying that “its just a marketing tool, it wasn’t and attack” and he’s right, but the wording at the top of Adam’s blog post and in the summary are taunting to say the least. Had the white paper compared more than just cfeclipse and cfbuilder or simply expounded the glory that is the feature set of cfbuilder, then all would have been good. Unfortunately, because of these two areas of the post it feels, whether that was the intention or not, that Adobe, the writer of the whitepaper and Adam are belittling cfeclipse, it’s developers (even if Denny is gracious enough to laugh it off ), it community and the ColdFusion developer who use it.Intentional or not, the wording and content could have been better written to help promote the commercial product that is cfbuilder without causing a whole bunch of infighting.I have no idea why the CFML Steering committee collapsed and I have no interest in finding out, BUT the ColdFusion development community would benefit from a least a modicum of coherence across the 3 most active servers. They are never going to work exactly the same and they never should. They all have their strengths in different areas. However, it would be nice if the core functionality of all the server agreed with one another and that the fixes and extension to those core area are coordinated.I recently read the Ruby wikipedia entry (after the BarCamp “ColdFusion outdate” blog post) I really liked the fact that Rail is actually used as the bar by which Ruby servers are ratified. jRuby and, the original, Ruby MRI are the only “complete” Ruby servers. Its a shame that we don’t have such a stick by which to measure the ColdFusion server and that each of the ever increasing number CF Frameworks tweak their codebase to make sure that they work on the 3 servers.Anyway, I’ve written an entire blog post or at least it feels like that. Sorry Charlie.Basically, as you so eloquently put it Charlie, I agree, the whole community needs to pull together and work together. Intentional or not, we all need to be aware of what we write to avoid causing silly ructions like today’s for no real reason because of a few ill phrased words.

    • Thorsten says:

      I followed the tutorial to get Railo 3.3.3 on Tomcat 7 running. I got to the railo admininstrator.
      But I failed to get my sample .cfm-File working.
      I created a railoweb folder with an index.cfm file below webapps.
      If I open up the source code is shown, but not processed by railo.
      If I put your code fragments in a blank page is shown.
      Any help is appreciated.

    • […] Configuring and Running Railo Powered CFML Applications with Jelastic ( […]

    Leave a Reply

    Your email address will not be published.