<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>Railo Blog - Tips</title>
<link>http://www.railo.ch/blog/index.cfm</link>
<description>The Railo development blog</description>
<language>de-de</language>
<pubDate>Tue, 07 Sep 2010 07:13:12 +0200</pubDate>
<lastBuildDate>Thu, 19 Aug 2010 12:18:00 +0200</lastBuildDate>
<generator>BlogCFC</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<managingEditor>contact@getrailo.org</managingEditor>
<webMaster>contact@getrailo.org</webMaster>
<itunes:subtitle></itunes:subtitle>
<itunes:summary></itunes:summary>
<itunes:category text="Technology" />
<itunes:category text="Technology">
<itunes:category text="Podcasting" />
</itunes:category>
<itunes:category text="Technology">
<itunes:category text="Tech News" />
</itunes:category>
<itunes:keywords></itunes:keywords>
<itunes:author></itunes:author>
<itunes:owner>
<itunes:email>contact@getrailo.org</itunes:email>
<itunes:name></itunes:name>
</itunes:owner>
<itunes:image href="" />
<image>
<url></url>
<title>Railo Blog</title>
<link>http://www.railo.ch/blog/index.cfm</link>
</image>
<itunes:explicit>no</itunes:explicit>
<item>
<title>Railo Tip: Trimming with cfsavecontent</title>
<link>http://www.railo.ch/blog/index.cfm/2010/8/19/Railo-Tip-Trimming-with-cfsavecontent</link>
<description>
&lt;p&gt;Random tip of the week with &amp;lt;cfsavecontent&amp;gt;:&lt;/p&gt;
[More]
</description>
<category>Tips</category>
<pubDate>Thu, 19 Aug 2010 12:18:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/8/19/Railo-Tip-Trimming-with-cfsavecontent</guid>
</item>
<item>
<title>Railo 3.1.2.019 and open tasks</title>
<link>http://www.railo.ch/blog/index.cfm/2010/8/18/Railo-312019-and-open-tasks</link>
<description>
As part of the latest Railo update, the format of the task object has changed slightly so, if you have any open tasks in your Administrator (under Services &gt; Tasks), it&apos;s probably safer to delete those tasks first, before you update. This applies only to &lt;strong&gt;tasks&lt;/strong&gt;, not scheduled tasks.
If you update while such tasks exist, you &lt;em&gt;may&lt;/em&gt; encounter a null pointer exception when viewing Services &gt; Tasks in the Administrator. To fix that, simply remove the *.tsk files from the WEB-INF/railo/client-tasks folder tree and restart Railo.
</description>
<category>Railo 3.1.2</category>
<category>Tips</category>
<pubDate>Wed, 18 Aug 2010 20:35:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/8/18/Railo-312019-and-open-tasks</guid>
</item>
<item>
<title>Railo Tip: Implicit conversions</title>
<link>http://www.railo.ch/blog/index.cfm/2010/7/16/Railo-Tip-Implicit-conversions</link>
<description>
&lt;p&gt;Following up with &lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2010/7/16/Railo-Tip-Magic-Functions--Getters--Setters&quot;&gt;yesterday&apos;s post&lt;/a&gt;, there&apos;s one more gem in that &lt;a href=&quot;http://classic.railo.ch/en/index.cfm?treeID=342&quot;&gt;old Railo documentation&lt;/a&gt;. Again, this has been around since &lt;em&gt;Railo 2.0&lt;/em&gt;. We&apos;re going to make a new, yet similar example.
[More]
</description>
<category>Tips</category>
<pubDate>Fri, 16 Jul 2010 16:18:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/7/16/Railo-Tip-Implicit-conversions</guid>
</item>
<item>
<title>Railo Tip: Magic Functions - Getters / Setters</title>
<link>http://www.railo.ch/blog/index.cfm/2010/7/16/Railo-Tip-Magic-Functions--Getters--Setters</link>
<description>
&lt;p&gt;I was digging around in the &lt;a href=&quot;http://classic.railo.ch/en/index.cfm?treeID=342&quot;&gt;old Railo 2.0 documentation&lt;/a&gt; and I came across this little gem about magic functions (getters/setters). I thought I&apos;d take a minute to update the documentation a little bit since things have changed as we can no longer rely on &lt;em&gt;this&lt;/em&gt; scope since it is publicly accessible.&lt;/p&gt;
[More]
</description>
<category>Tips</category>
<pubDate>Fri, 16 Jul 2010 01:49:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/7/16/Railo-Tip-Magic-Functions--Getters--Setters</guid>
</item>
<item>
<title>Railo Tips &amp; Tricks</title>
<link>http://www.railo.ch/blog/index.cfm/2010/7/15/Railo-Tips--Tricks</link>
<description>
&lt;p&gt;The team has been attempting to dust off ye ol&apos; wiki. Mark Drew recently added a &lt;a href=&quot;http://wiki.getrailo.org/wiki/Tips_And_Tricks&quot;&gt;Tips &amp; Tricks&lt;/a&gt; section on the &lt;a href=&quot;http://wiki.getrailo.org/&quot;&gt;wiki&lt;/a&gt;.&lt;/p&gt;
</description>
<category>Tips</category>
<pubDate>Thu, 15 Jul 2010 18:15:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/7/15/Railo-Tips--Tricks</guid>
</item>
<item>
<title>Barcode Generation with Railo</title>
<link>http://www.railo.ch/blog/index.cfm/2010/6/23/Barcode-Generation-with-Railo</link>
<description>
&lt;p&gt;In a previous blog post, I mentioned that &lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2010/1/15/Railo-Tip-CreateObjectjava&quot;&gt;createObject() has a 3rd / 4th argument&lt;/a&gt; negates the need to use &lt;a href=&quot;http://javaloader.riaforge.org/&quot;&gt;Javaloader&lt;/a&gt;. Some questions have come up on the &lt;a href=&quot;http://groups.google.com/group/railo&quot;&gt;Railo mailing list&lt;/a&gt; and I thought I&apos;d attach 2 working examples (&lt;a href=&quot;http://railo.ch/blog/enclosures/barcode_samples.zip&quot;&gt;barcode_samples.zip&lt;/a&gt;). One is using the &lt;a href=&quot;http://sourceforge.net/projects/barbecue/files/barbecue/1.5-beta1/barbecue-1.5-beta1.zip/download&quot;&gt;Barbeque library&lt;/a&gt; found on Sourceforge, the other is using &lt;a href=&quot;http://code.google.com/p/zxing/&quot;&gt;Google&apos;s zxing library&lt;/a&gt;. Remember, with a little creativity and expanding these samples, this type of code can be baked into Railo natively (&lt;em&gt;e.g.&lt;/em&gt;: &amp;lt;cfbarcode&amp;gt;) today by placing the code in special directories (&lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2009/7/23/Railo-31-Building-your-own-BuiltInFunction&quot;&gt;Functions&lt;/a&gt; / &lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2009/9/11/CFC-Custom-Tag-Example&quot;&gt;Tags&lt;/a&gt;).&lt;/p&gt;&lt;p&gt;Special thanks to &lt;a href=&quot;http://cfsearching.blogspot.com/&quot;&gt;Leigh&apos;s (cfsearching)&lt;/a&gt; excellent blog for some example legwork in barcode generation.&lt;/p&gt;
</description>
<category>Tips</category>
<category>HowTo</category>
<pubDate>Wed, 23 Jun 2010 01:15:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/6/23/Barcode-Generation-with-Railo</guid>
</item>
<item>
<title>Create a scheduled task that runs every minute in Railo</title>
<link>http://www.railo.ch/blog/index.cfm/2010/3/8/Create-a-scheduled-task-that-runs-every-minute-in-Railo</link>
<description>
&lt;p&gt;So, this is probably confusing to some and I thought I&apos;d try to clear this up. It&apos;s possible to setup Railo to run a task every x &lt;em&gt;hour&lt;/em&gt;, &lt;em&gt;minute&lt;/em&gt; and/or even &lt;em&gt;seconds&lt;/em&gt;. You&apos;ll want to log into your machine and go to the Scheduled Task page ( e.g.: &lt;em&gt;http://{your server}/railo-context/admin/web.cfm?action=services.schedule&lt;/em&gt; )&lt;/p&gt;
[More]
</description>
<category>Tips</category>
<category>HowTo</category>
<pubDate>Mon, 08 Mar 2010 19:51:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/3/8/Create-a-scheduled-task-that-runs-every-minute-in-Railo</guid>
</item>
<item>
<title>Random Friday Railo tip: this.datasource</title>
<link>http://www.railo.ch/blog/index.cfm/2010/2/19/Random-Friday-Railo-tip-thisdatasource</link>
<description>
&lt;a href=&quot;http://www.andyjarrett.com/&quot;&gt;Andy Jarret&lt;/a&gt; recently blogged about the usage of &lt;a href=&quot;http://www.andyjarrett.com/blog/index.cfm/2010/2/12/Applicationwide-datasource-in-Railo&quot;&gt;this.datasource in Application.cfc&lt;/a&gt;. Just goes to show, it pays off reading the patch notes sometimes because it has been there for awhile ( since version 3.1.0.018 ): &lt;pre&gt;[000059] add support for default datasource to cfapplication/application.cfc&lt;/pre&gt; Go visit Andy&apos;s blog post for more details on how to use this.application. :) Another brief note is that this &lt;em&gt;may be changing&lt;/em&gt; slightly in the future, but &lt;em&gt;will always&lt;/em&gt; support the ACF Style ( this.datasource = &quot;[some string]&quot; ).
</description>
<category>Tips</category>
<pubDate>Fri, 19 Feb 2010 23:58:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/2/19/Random-Friday-Railo-tip-thisdatasource</guid>
</item>
<item>
<title>Railo Tip: CreateObject(&apos;java&apos;)</title>
<link>http://www.railo.ch/blog/index.cfm/2010/1/15/Railo-Tip-CreateObjectjava</link>
<description>
&lt;p&gt;I&apos;m actually hesitant to post this because the Railo team is actually trying to make progress on documentation and we have some new documentation policies in place. However, I know if I don&apos;t post this and people eventually find out about it, they&apos;ll wonder why they didn&apos;t know sooner. This tip pertains to Railo&apos;s createObject(&apos;java&apos;) implementation. I&apos;m told that it has been there for awhile, but I couldn&apos;t tell you what build it came from. I&apos;ll share the code and go from there.&lt;/p&gt;
&lt;pre&gt;
&amp;lt;cfset object = createObject(&apos;java&apos;,&apos;path.to.package.classtoinvoke&apos;,&apos;/path/to/jar/file/on/system&apos;)&amp;gt;
&lt;/pre&gt;
&lt;p&gt;Read that line 2 or 3 times and let it sink in a little. Yes, Railo&apos;s createObject(&apos;java&apos;) has a 3rd (and 4th) argument. This is the full documentation on this from Michael is:&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;createObject(&apos;java&apos;,String className,String paths, String delimiter )&lt;/b&gt;&lt;br /&gt;
- &apos;java&apos; (required)&lt;br /&gt;
- className (required) - &lt;em&gt;the full class name (class and package) of the class to invoke.&lt;/em&gt;&lt;br /&gt;
- path (optional) - &lt;em&gt;a list of jar files and directory that contains class files&lt;/em&gt;&lt;br /&gt;
- delimiter (optional) - &lt;em&gt;delimiter used for the path list (default is comma &quot;,&quot;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Sean Corfield will be presenting this to the opemcfml.org advisory board, whether it gets voted on or not remains to be seen. Also, please note that I&apos;m making Documentation/&lt;a href=&quot;http://wiki.getrailo.org/&quot;&gt;Wiki&lt;/a&gt; a high priority for the year 2010.&lt;/p&gt;
</description>
<category>Tips</category>
<category>Features</category>
<pubDate>Fri, 15 Jan 2010 20:22:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2010/1/15/Railo-Tip-CreateObjectjava</guid>
</item>
<item>
<title>Railo 3.1.2 and Transfer</title>
<link>http://www.railo.ch/blog/index.cfm/2009/12/9/Railo-312-and-Transfer</link>
<description>
&lt;p&gt;If you&apos;ve installed or upgraded to Railo 3.1.2+ and you&apos;re also using &lt;a href=&quot;http://transfer.riaforge.org/&quot;&gt;Transfer&lt;/a&gt;, you may (or may have already) bumped into this error:&lt;/p&gt;&lt;pre&gt;Message: Bean creation exception during init() of transfer.TransferFactory
Detail: read acccess is protected:to access the configuration without a password, you need to change the read access to [open] in the Server Administrator&lt;/pre&gt;
&lt;p&gt;To get around this issue, you&apos;ll need to do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Log into your server admin:&lt;ul&gt;&lt;li&gt;http://{hostname}/railo-context/admin/server.cfm?action=security.access&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Change &quot;Access Read&quot; to &quot;Open&quot; and save.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Nothing has changed in regards to code, but a decision was made to tighten down security.&lt;/p&gt;
</description>
<category>Tips</category>
<category>Community</category>
<pubDate>Wed, 09 Dec 2009 17:13:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/12/9/Railo-312-and-Transfer</guid>
</item>
<item>
<title>Resetting password for the Railo admin</title>
<link>http://www.railo.ch/blog/index.cfm/2009/12/8/Resetting-password-for-the-Railo-admin</link>
<description>
&lt;p&gt;A question came up on the mailing list about how to reset passwords if you&apos;ve forgotten them. This entry will cover both the server context and the local web context.&lt;/p&gt;
&lt;h3&gt;Server Context (e.g. http://{hostname}/railo-context/admin/server.cfm )&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;You&apos;ll want to open up the railo-server.xml in your &lt;em&gt;{railo installation}/railo-server/context/&lt;/em&gt; directory.&lt;/li&gt;&lt;li&gt;Look for the line that has &quot;&amp;lt;railo-configuration&quot; and blank out the value of password=&quot;&quot;.&lt;/li&gt;&lt;li&gt;Restart the railo instance and when you reload, you&apos;ll be asked for a new password.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Local Web Context (e.g. http://{hostname}/railo-context/admin/web.cfm )&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;If you&apos;ve forgotten the password for a local web context, you&apos;ll want to make sure you have a default password first.&lt;ul&gt;&lt;li&gt;Log into http://{hostname}/railo-context/admin/server.cfm?action=security.password - Look for &quot;Set default password&quot; and set it.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Open up {host root}/WEB-INF/railo/railo-web.xml.cfm&lt;/li&gt;&lt;li&gt;Look for the line that has &quot;&amp;lt;railo-configuration&quot; and blank out the value of password=&quot;&quot;.&lt;/li&gt;&lt;li&gt;Restart the railo instance and when you reload, you can type in the default password.&lt;/li&gt;&lt;li&gt;Once inside the local web admin, you can click on password on the sidebar and change that local web context password.&lt;/li&gt;&lt;/ol&gt;
&lt;h2&gt;Update (Dec 8th, 2009)&lt;/h2&gt;
&lt;p&gt;Heh. Shortly after this post, Micha pinged me as to why I didn&apos;t just point people to the password reset option in the server context. Truth be told, I forgot about it. Scroll all the way down to the bottom of &lt;em&gt;http://{hostname}/railo-context/admin/server.cfm?action=security.password&lt;/em&gt; and you&apos;ll see this:&lt;br /&gt;
&lt;img src=&quot;http://railo.ch/blog/images/reset_password.png&quot; alt=&quot;Reset Password&quot;&gt; - That will reset the password back to the default.&lt;/p&gt;
</description>
<category>Tips</category>
<category>HowTo</category>
<pubDate>Tue, 08 Dec 2009 19:44:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/12/8/Resetting-password-for-the-Railo-admin</guid>
</item>
<item>
<title>Railo and Tomcat installation</title>
<link>http://www.railo.ch/blog/index.cfm/2009/12/1/Railo-and-Tomcat-installation</link>
<description>
A Railo user just pointed out that we don&apos;t have links to my series of blog posts about installing Railo on Tomcat anywhere on the Railo site or blog so I figured I&apos;d rectify that! I started the series in March (before I joined Railo) and continued through June, beginning with the simplest way to get Railo running (Railo Express) and working up through increasingly sophisticated configurations. Here are links to each of the posts:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_I&quot;&gt;Part I&lt;/a&gt; - Railo Express (w/Jetty)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_II&quot;&gt;Part II&lt;/a&gt; - Railo Express (w/Jetty) - Windows&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_III&quot;&gt;Part III&lt;/a&gt; - Railo on Tomcat - basic setup&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_IV&quot;&gt;Part IV&lt;/a&gt; - Railo on Tomcat with Apache&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_IV_Appendix&quot;&gt;Part IV - Appendix&lt;/a&gt; - Adding mod_rewrite to the mix&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Quick_Tip_Railo_on_Tomcat&quot;&gt;Tomcat Tips&lt;/a&gt; - Enabling directory listing&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_on_Tomcat__multiweb&quot;&gt;Multi-Web Configuration&lt;/a&gt; - Railo on Tomcat with automatic deployment of Railo to new web roots&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://corfield.org/entry/Railo_for_Dummies_Part_V&quot;&gt;Part V&lt;/a&gt; - Enabling SES URLs on Tomcat&lt;/li&gt;
&lt;/ul&gt;
Most of the posts are for Mac OS X but the Apache/Tomcat configuration applies on Windows just the same.
</description>
<category>Tips</category>
<category>HowTo</category>
<pubDate>Tue, 01 Dec 2009 22:24:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/12/1/Railo-and-Tomcat-installation</guid>
</item>
<item>
<title>What&apos;s in a WEB-INF directory?</title>
<link>http://www.railo.ch/blog/index.cfm/2009/9/17/Whats-in-a-WEBINF-directory</link>
<description>
A question came up on the mailing list, &lt;a href=&quot;http://www.dougboude.com/blog/&quot;&gt;Doug Boude&lt;/a&gt; was asking for what all was actually in the WEB-INF/Railo folder and what is it used for? Gert took the time to &lt;a href=&quot;http://www.getrailo.org/index.cfm/documentation/configuration/&quot;&gt;write up some documentation and post it online&lt;/a&gt;. The documentation includes an &lt;a href=&quot;http://www.getrailo.org/index.cfm/documentation/configuration/&quot;&gt;explanation of web context&lt;/a&gt;, what&apos;s in the &lt;a href=&quot;http://www.getrailo.org/index.cfm/documentation/configuration/webinf-folder/&quot;&gt;WEB-INF folder&lt;/a&gt;, &lt;a href=&quot;http://www.getrailo.org/index.cfm/documentation/configuration/additional-files/&quot;&gt;additional files&lt;/a&gt; as well as some &lt;a href=&quot;http://www.getrailo.org/index.cfm/documentation/configuration/tips-and-tricks/&quot;&gt;tips and tricks&lt;/a&gt;.
</description>
<category>Tips</category>
<category>Configuration</category>
<category>Railo 3.1</category>
<pubDate>Thu, 17 Sep 2009 23:35:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/9/17/Whats-in-a-WEBINF-directory</guid>
</item>
<item>
<title>Updating Railo behind Proxy / Firewall</title>
<link>http://www.railo.ch/blog/index.cfm/2009/8/27/Updating-Railo-behind-Proxy--Firewall</link>
<description>
&lt;p&gt;If you&apos;re attempting to update your Railo server and you&apos;re behind a firewall / proxy with restricted outbound access, you can manually download the patch and install yourself.&lt;/p&gt;&lt;p&gt;The patches can always be found at:&lt;br /&gt;http://www.getrailo.org/railo/remote/download/{full patch number}/{full patch number}.rc&lt;/p&gt;&lt;p&gt;So, for example, 3.1.1 is found at:&lt;br /&gt;http://www.getrailo.org/railo/remote/download/3.1.1.000/3.1.1.000.rc&lt;/p&gt;&lt;h3&gt;Now, once you have the .rc file downloaded, what do you do with it?&lt;/h3&gt;&lt;p&gt;Depending on how your Railo is setup, you&apos;re looking the /railo-server/patches folder. In resin, it can be found {resin install}/lib/railo-server/patches -- So, if you&apos;re on a different JEE engine other than Resin, just look around for your /railo-server/patches folder and drop it in place. Once in place, restart the Railo instance in the server context ( http://{hostname}/railo-context/admin/server.cfm ). This will drop your current session and you&apos;ll have to re-log in. When you do, you should be patched!&lt;/p&gt;
</description>
<category>Tips</category>
<category>HowTo</category>
<pubDate>Thu, 27 Aug 2009 18:54:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/8/27/Updating-Railo-behind-Proxy--Firewall</guid>
</item>
<item>
<title>Always something new to find in Railo</title>
<link>http://www.railo.ch/blog/index.cfm/2009/8/20/Always-something-new-to-find-in-Railo</link>
<description>
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]
</description>
<category>Tips</category>
<category>Extension</category>
<category>HowTo</category>
<category>Railo 3.1</category>
<pubDate>Thu, 20 Aug 2009 16:00:00 +0200</pubDate>
<guid>http://www.railo.ch/blog/index.cfm/2009/8/20/Always-something-new-to-find-in-Railo</guid>
</item>
</channel></rss>