What I've learned about Railo
Posted by Jason Durham | Tags: ColdFusion , Railo
Railo works on a myriad of application servers. Throughout the product lifespan, Railo has provided interoperability to at least a half-dozen or so of these. Perhaps this is why centralized documentation is scarce. The current release is now coming bundled with Resin. In my relatively small world of Microsoft, I hadn't heard of Resin. When it came time to configure it, there were certainly some growing pains of not being able to point+click at websites to configure them.
What's different with Railo
As I mentioned above, there are now 3 parts of the puzzle for developers/admins coming from my experience. Railo is the CFML engine, Resin is the middle man, and IIS (or Resin's web server) facilitates the communication with the client and server. In some cases, Resin must be aware of IIS configurations so they know how to play nice together. One example, is virtual hosts/sites. In other cases, Resin and Railo must be synced (mappings, for example). To top things off, Resin isn't very forgiving if you violate the XML schema of its resin.conf file. I have yet to find logging that would make debugging the mal-formed XML easier. However, perhaps that's another part of the documentation I haven't stumbled over.
Unlike ColdFusion 8 Developer/Standard (not sure on Enterprise), Railo is context-based. This means you can set different parameters for each application running through Railo. In order to modify an applications settings, you must access the Railo context for that application. The installer creates a start menu item for the Railo Administrator and directs you to http://localhost:8600/railo-context/admin/index.cfm. This was somewhat misleading to me. That link will only allow you to make changes to applications accessed via http://localhost/. If your development machine uses the basic http://localhost/siteFolder/ environment, you're probably fine making all changes to the link in the start menu. However, if your sites setup to route by host name, each of them will have their own context. The sites running on my development machines use a host name of dev.mydomain.com. Therefore, each application has it's own Railo administrator located at http://dev.mydomain.com/railo-context/admin/index.cfm. Be sure to create the appropriate mappings and DSNs in the correct context.
Are you Adobe ColdFusion developer considering switching to Railo?
Spend some time reading through the Resin configuration docs and wiki. Also, search the Yahoo Railo group archive. Whatever time you budget to install and configure Railo, double it.
I'm not quite ready to give any 'final thoughts' on my opinion of Railo. I installed Railo over the holiday season, which may have led to slow responses for help. During my quest for documentation/help, I found many people very happy with the support Railo provides. I was surprised (and elated) that Gert Franz offered to log into my box and save me the trouble of trying to piece together terminology that was not familiar to me. +20 points for Railo.
6 responses so far ↓
Leave a Comment