Railo and Tomcat made easy


I have seen several posts recently about installing Railo for local development, so I figured I would point out a nicely pre-configured Railo/Tomcat package out there from the folks at Vivio Technologies, which can be found here: http://railo.viviotech.net.  They have packages for both Windows and Linux, so you should have your bases (and operating systems) covered.   One other benefit of using the package is no web server is required.  Tomcat will act as its own web server.

It is very easy to install new webs using the package, the only thing required is editing your Tomcat server.xml file and add a new entry into the virtual hosts section.  A typical entry will look like this:

<Host name="site1.localhost" appBase="webapps">      
    <Context path="" docBase="C:\Sites\site1.localhost" />
</Host>

After you have made the appropriate changes to your HOSTS file and restart Tomcat you will be in business.

Advertisements

About Robert Zehnder

Web application developer specializing in ColdFusion/Railo and Open Source development.

Posted on November 23, 2009, in ColdFusion, Railo. Bookmark the permalink. 4 Comments.

  1. I can’t get this working.

    No matter what I do, when I browse to my site I get “Page /index.cfm [C:\index.cfm] not found”.

    (Note: my site does not reside in C:\)

  2. I am stumped. I did not run in to that issue when I installed and did not see a way to change the default host scanning through the standard server.xml and web.xml files. I would say your best course of action would be to run the uninstaller and reinstall.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: