Always something new to find in Railo

Even for myself this was absolutely stunning. I decided to write a series of tips for Railo and by doing this I stumbled across a problem Andrea Campolonghi had, who writes the Railo AJAX tag extensions we will include very soon. The problem was or is that he needed to read the content of a zip file that is inside another zip archive. Now how to do that without unzipping it into a local folder.

[More]

Upgrading the JRE used in Railo

When you install Railo, the default JRE that comes with it is 1.6.0_01. So you might want to upgrade it some when.

[More]

Running Railo 3.1 from a CD

A while ago on the getRailo.org community mailing list, there was a request to setup a "Resin Express" because Railo Express that we currently package uses Jetty and the Pretty URL support in Jetty is nill. A few days later, Gert put together and provided a download for Railo-Resin Express.

Pierre-Olivier Chassay was recently wanting to put Railo on a CD with a functional database. I pointed him at Gert's post and he gave it a shot. He blogged his experience his effort getting Railo on a CD as well as getting the H2 Database working as well. Thanks Pierre-Olivier for sharing this information!

Railo 3.1: Building your own Built-In-Function

Ever wish you could just install a frequently used UDF to the server since you use it so much? Take any of the numerous UDFs found at CFLib.org for example. How about... QueryRowToStruct()? That's a pretty useful function. Wonder why they didn't build this in? With Railo 3.1 RC, you can build this in yourself. With this blog post, I'm going to outline two different installation concepts, server wide and local context.

First, server wide:

  1. Click on the "Download" link on QueryRowToStruct and you'll be prompted to download QueryRowToStruct.cfm
  2. For server wide installation, you'll want to put this in the following directory:
    {railo installation directory}/lib/railo-server/context/library/function/
  3. Restart the server (I had to, I'm going to verify if this step is really necessary or if it can be fixed :) )

Once installed, I shouldn't have to cfinclude or copy/paste that function anywhere. I can create a test.cfm in my localhost and run the example code on QueryRowToStruct description page.

Now, you may be in a particular situation where you can't have this server-wide because you share the server with other people or because there's a conflict. You could just install it to your local context. Each virtual host you make should have its own WEB-INF directory, so you have a global admin and a local admin.

You would repeat all of the steps above, except for #2, you'll want to install this here instead:

{your website root directory}/WEB-INF/railo/library/function/

Remember, you don't have to use anything specific from CFLib.org. You can write your own user defined function or install the one that you frequently use. I bet this makes you wonder if Railo 3.1 could give you the ability to create your own Built-In-Tag? ;) You can and there's been some changes, so I plan on investigating and outlining in a new blog post. If you want to see if you can figure it out for yourself, you can use Andrea Campolonghi's <cfajaxproxy> as a great example. This example includes installation directions and will only work on Railo 3.1.020 build or higher.

Update: The resin webserver doesn't need to be restarted, but the Railo servlet engine does. You can do this one of two ways, log into the admin portal and click Restart or via code: <cfadmin action="restart" type="server" password="serverPassword">

Configuring Railo for the application server - Part 2

I am Continuing my blog related to the config settings in Resin and I would like to complete the explanation about the app-default.xml file and discuss the resin.conf file.

[More]

Building Railo from the latest SVN source code

Over on An Architect's View, you'll find a complete, step-by-step description of how to build Railo from source code. We'll be incorporating this into our standard documentation in due course but wanted to put it out there as a blog post to get some feedback on the process.

Railo Installation guides

In this blog entry I want to gather all different Railo installation guides I have found in the past couple of months and share them with you. Many people are asking us about an installation guide for their system. We will have guides for all different kind of operating systems on our new Railo website next month, but for the moment this list should be able help you with your installation problems.

[More]

Struct addressing in Railo

There is a major difference in how Railo addresses structs in comparison to the CFML standard. The result is that implicit addressing, (as I call it) works in the CFML standard but not in Railo. This is an issue we are long aware of AND we will NOT fix it.

[More]

Installing Resin/Railo on CentOS

There are a lot of users who would like to test Railo on their Linux systems but who are confused about how to get started. In this short tutorial I'm going to show you how easy it is to get up and running with a simple app server on CentOS 5.2. More tutorials are going to follow over the next weeks.

[More]

A short install intermezzo

Before I post part III of Railo 3.0 release entry, just a quick one on how to update Railo from one version to a newer one.

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner