<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"  xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
	<title>&amp;lt;cfset PO = &apos;Pierre-Olivier&apos;/&amp;gt;</title>
	<link>http://po.chassay.net/blog/</link>
	<description>A blog about CFML language, and others topics...</description>
	<generator>Mango 1.6</generator>
	<atom:link href="http://po.chassay.net/blog/feeds/rss.cfm" rel="self" type="application/rss+xml" />
	
		
      <item>
         <title>A file synchronization that works.</title>
         <description>&lt;p&gt;For a while I was searching a tool to get some versioning of my documents I used outside of my svn projects.  I tried differents tools on the market like &lt;a href=&quot;http://www.genie-soft.com/&quot; target=&quot;_blank&quot;&gt;Timeline of Genie-Soft&lt;/a&gt; or &lt;a href=&quot;http://www.altaro.com/&quot; target=&quot;_blank&quot;&gt;Oops!Backup of Altaro&lt;/a&gt;. Finally I purchased the software &lt;a href=&quot;http://allwaysync.com/&quot; target=&quot;_self&quot;&gt;Allway Sync&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Why I choose &lt;a href=&quot;http://allwaysync.com/&quot; target=&quot;_self&quot;&gt;Allway Sync&lt;/a&gt; versus all the others. The cost of 19.99USD is a one-time fee, not a recurring charge. Lifetime upgrades, patches and premium technical support are included. The next licenses are at 9.99USD. Also the simplicity to set the backup everywhere likes a network, Amazon S3, for me I connect it to my NAS without any problem.  And the possibility to have multiple scheduling synchronization for different folders. Because Allway Sync works per folder for monitoring the changes you will end up with multiple jobs. Like that I have a task for my Data who is monitored every 5 mins and my Pictures who are monitored daily.  Another nice feature it&apos;s you can also synchronized bi-directionally with Allway Sync if you have a laptop and desktop both will have the same files everywhere.  It also propagates the deletion of file if you want.&lt;/p&gt;
&lt;p&gt;You can download it &lt;a href=&quot;http://allwaysync.com/download.html&quot; target=&quot;_self&quot;&gt;here&lt;/a&gt; as freeware if you synchronize less than 40 000 files a month for me; I’m at 62 K files per month processed it’s why I need the license.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://allwaysync.com/&quot; target=&quot;_self&quot;&gt;&lt;img style=&quot;border: 0;&quot; src=&quot;/blog/assets/content//images/allwaysync-1_small.gif&quot; alt=&quot;Allway Sync&quot; width=&quot;546&quot; height=&quot;68&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/a-file-synchronization-that-works</link>
         <guid>http://po.chassay.net/blog/post.cfm/a-file-synchronization-that-works</guid>
         <category>General</category><category>Software</category>
         <pubDate>Mon, 03 May 2010 09:52:01 GMT</pubDate>
      </item>	
      <item>
         <title>A new Vaio in our family</title>
         <description>&lt;p&gt;One of the laptop we have at home been a &lt;a href=&quot;http://www.trustedreviews.com/laptops/review/2004/07/08/Sony-VAIO-VGN-S1VP-Notebook/p1&quot; target=&quot;_blank&quot;&gt;SONY VGN-S1VP&lt;/a&gt; and is time was due. Windows XP was starting to be unresponsive completely even after few formats.  The solution to keep it alive was &lt;a href=&quot;http://www.ubuntu.com/&quot; target=&quot;_blank&quot;&gt;Ubuntu&lt;/a&gt; and it works until my wife needed more than the Internet.  Finally yesterday we head to &lt;a href=&quot;http://www.streetsensation.co.uk/tottcrt/tcr_intro.htm&quot; target=&quot;_blank&quot;&gt;Tottenham Court Road&lt;/a&gt; and we bought her a &lt;a href=&quot;http://www.sony.co.uk/product/vn-nw-series/vgn-nw20sf-s&quot; target=&quot;_blank&quot;&gt;SONY VGN NW20SF&lt;/a&gt;. Big changes for her she decided to switch to a 15.5 screen instead of her old 13.4 also when we were looking at the others models who decide to put a numpad on the laptop and having the keyboard offset from the screen??? It’s one of the reasons we choose this model instead of the new serie of SONY the VPC.  Also it’s a SONY; I have a SONY for myself and never had problem with it in the last 3 years. We believe SONY got one of the best screen resolutions on the market. You can read more about the spec of our new toys &lt;a href=&quot;http://www.sony.co.uk/product/vn-nw-series/vgn-nw20sf-s&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.  For us we are now happy with it. Also for myself was the first time I was playing with Windows 7 64 Bit, I can say it&apos;s the samething of Vista for the look in feel.&lt;/p&gt;
&lt;p&gt;&lt;iframe src=&quot;http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=pochassaynet-21&amp;o=2&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;md=0M5A6TN3AXP2JHJBWT02&amp;asins=B002XUR42C&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;
 &lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/a-new-vaio-in-our-family</link>
         <guid>http://po.chassay.net/blog/post.cfm/a-new-vaio-in-our-family</guid>
         <category>General</category>
         <pubDate>Sat, 01 May 2010 11:48:53 GMT</pubDate>
      </item>	
      <item>
         <title>Personal Note : How to update java on centos 5.2</title>
         <description>&lt;p&gt;This post is a reminder to myself on how to update the java version on my VPS a linux Centos hosted at &lt;a title=&quot;Viviotech&quot; href=&quot;http://viviotech.net/&quot; target=&quot;_blank&quot;&gt;Viviotech&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;With a normal browser&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Find the last version of java from the website &lt;a href=&quot;http://java.sun.com/javase/downloads/widget/jdk6.jsp&quot; target=&quot;_blank&quot;&gt;java.sun&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;2. Copy the link of the version without the rpm something like that&lt;/p&gt;
&lt;p&gt;http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u20-linux-i586.bin?BundledLineItemUUID=s7dIBe.ogRAAAAEo4NxbMEqR&amp;amp;OrderID=6F9IBe.ojMoAAAEo0dxbMEqR&amp;amp;ProductID=guBIBe.oc_wAAAEnaDJHqPYe&amp;amp;FileName=/jdk-6u20-linux-i586.bin&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On the VPS&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;1. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# cd /opt/soft/&lt;/pre&gt; Go to where you wants to download the file. &lt;/p&gt;
&lt;p&gt;2. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# wget with the link&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# mv *.bin jdk-6u20-linux-i586.bin that will rename the long file to something more normal.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;4. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# chmod +x jdk-6u20-linux-i586.bin that will make the file executable.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;5. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# ./jdk-6u20-linux-i586.bin execute the installation.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You will need to press &quot;enter&quot; a couple of time to acknowledge the licence and press &quot;Y&quot; at the end.&lt;/p&gt;
&lt;p&gt;6. Now we have a new folder jdk1.6.0_20&lt;/p&gt;
&lt;p&gt;7. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# rm jdk-6u20-linux-i586.bin&lt;/pre&gt; that remove the installation files.&lt;/p&gt;
&lt;p&gt;Now we have to update the old link in 2 places for my setup.&lt;/p&gt;
&lt;p&gt;8. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# vi /etc/profile.d/java.sh&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Modify the path of JAVA_HOME to new version&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;export JAVA_HOME=/opt/soft/jdk1.6.0_20/&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;9. &lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# vi /etc/init.d/resin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Modify the path of JAVA_HOME&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;JAVA_HOME=/your/java/path for me it&apos;s /opt/soft/jdk1.6.0_20&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Voilà&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/personal-note-how-to-update-java-on-centos-5-2</link>
         <guid>http://po.chassay.net/blog/post.cfm/personal-note-how-to-update-java-on-centos-5-2</guid>
         <category>Notes</category><category>Railo</category>
         <pubDate>Thu, 29 Apr 2010 17:43:56 GMT</pubDate>
      </item>	
      <item>
         <title>Moving from BT to Be There</title>
         <description>&lt;p&gt;
After 16
month with BT, I finally decide to change internet provider. I switch to &lt;a href=&quot;https://www.bethere.co.uk/web/beportal/homepage&quot; target=&quot;_blank&quot;&gt;Be
There&lt;/a&gt; and so far I’m really happy with my decision.First of all it’s cheaper and I have a better
service. I took overall 12 days to the
switch occur. And on the day of the switch I lost around 45 minutes of
Internet.&lt;/p&gt;
&lt;p&gt;Here 2 speed test one with BT and one with Be
There&lt;br /&gt;
&lt;img src=&quot;http://www.speedtest.net/result/691132546.png&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;img src=&quot;http://www.speedtest.net/result/697957844.png&quot; alt=&quot;&quot; /&gt;
&lt;br /&gt;&lt;br /&gt;both use the same modem a &lt;a href=&quot;http://draytek.com/user/PdInfoDetail.php?Id=18&quot; target=&quot;_blank&quot;&gt;Draytek Vigor 2020n&lt;/a&gt; for the test. The configuration for
both providers are simple to input to the modem and the advantage you get compare versus the modem
provide by the provider is amazing. For the configuration for Be There look &lt;a href=&quot;http://beusergroup.co.uk/technotes/index.php/Draytek_Vigor_2820&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; my only change it&apos;s the modulation because I&apos;m on the package &lt;a href=&quot;https://www.bethere.co.uk/web/beportal/beunlimited&quot; target=&quot;_blank&quot;&gt;Be Unlimited&lt;/a&gt; (you don&apos;t have access to Annex M) and not &lt;a href=&quot;https://www.bethere.co.uk/web/beportal/bepro&quot; target=&quot;_blank&quot;&gt;Pro&lt;/a&gt; you should have the modulation to ADSL2+(G.992.5) instead&lt;/p&gt;
&lt;p&gt; &lt;iframe src=&quot;http://rcm-uk.amazon.co.uk/e/cm?t=pochassaynet-21&amp;o=2&amp;p=8&amp;l=as1&amp;asins=B001NFOXU4&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/moving-from-bt-to-be-there</link>
         <guid>http://po.chassay.net/blog/post.cfm/moving-from-bt-to-be-there</guid>
         <category>Internet Provider</category>
         <pubDate>Thu, 28 Jan 2010 21:39:00 GMT</pubDate>
      </item>	
      <item>
         <title>How to start Railo from a CD with a H2 Database</title>
         <description>&lt;p&gt;Following
my last &lt;a
href=&quot;http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-a-cd&quot;
target=&quot;_self&quot;&gt;post&lt;/a&gt;, here the version with a H2 database.&lt;/p&gt;
&lt;p&gt;Here the steps&lt;/p&gt;
&lt;p&gt;1- Extract this version of &lt;a href=&quot;http://preview.getrailo.org/Railo-Resin-Express.zip&quot;&gt;Railo&lt;/a&gt; into a folder ex c:\railo_cd&lt;/p&gt;
&lt;p&gt;2- Start Railo via the batch c:\railo_cd\start.bat&lt;/p&gt;
&lt;p&gt;3- Update Railo via http://localhost:8080/railo-context/admin/&lt;br/&gt;
Services -&gt; Update -&gt; Execute Update&lt;/p&gt;
&lt;p&gt;4- Go to the web Administrator&lt;br/&gt;
Remove the debugging setting&lt;br/&gt;
Create a new datasource&lt;br/&gt;
Services -&gt; Datasource&lt;br/&gt;
Important the type should be H2 Database Engine&lt;br/&gt;
Click Create&lt;br/&gt;
Database -&gt; Enter the name you wants for it&lt;br/&gt;
Username -&gt; sa&lt;br/&gt;
Password -&gt; leave it blank&lt;br/&gt;
Path -&gt; \railo_cd\database\&lt;br/&gt;
Now you have created a H2 database for your application.&lt;/p&gt;
&lt;p&gt;5- You have by default with Railo a web interface to manage your H2 database
Just click on this file c:\railo_cd\ext-lib\h2.jar&lt;br/&gt;
That will open a new browser here http://localhost:8082/login.jsp&lt;br/&gt;
The jdbc url -&gt;&lt;br/&gt; jdbc:h2:c:\railo_cd\database\NameOfYourDatabase;hsqldb.default_table_type=cached&lt;br/&gt;
Login -&gt; sa&lt;br/&gt;
Password -&gt; leave it blank &lt;/p&gt;
&lt;p&gt;6- Bring your application to a folder under the webroot folder for example
c:\railo_cd\webroot\myApplication&lt;/p&gt;
&lt;p&gt;7- Test your application if everything goes properly proceed with the next steps&lt;/p&gt;
&lt;p&gt;8- Redo the steps 5, 6, 7 and 8 of the previous &lt;a
href=&quot;http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-a-cd&quot;
target=&quot;_self&quot;&gt;post&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to be sure nobody write something in your database you can put your database readonly via this command call readonly() in web interface&lt;/p&gt;
</description>
         <link>http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-with-a-cd-and-a-h2-database</link>
         <guid>http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-with-a-cd-and-a-h2-database</guid>
         <category>Railo</category>
         <pubDate>Sun, 26 Jul 2009 12:49:05 GMT</pubDate>
      </item>	
      <item>
         <title>How to start Railo from a CD</title>
         <description>&lt;p&gt;Ever wanted to give a website to somebody on a CD-ROM. Not just some plain HTML but with some server side like in your server or localhost machine.  Railo offer us this opportunities what you need to do it’s to download this version of &lt;a href=&quot;http://preview.getrailo.org/Railo-Resin-Express.zip&quot;&gt;Railo&lt;/a&gt; from this &lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2009/6/30/Railo-Resin-Express&quot;&gt;blog post&lt;/a&gt; where Gert explain how to do it for a usb stick.&lt;br /&gt; 
Unzip the version you have in a folder ex: c:\Railo_CD&lt;br /&gt; 
You need to do the entire configuration before you burn everything because you cannot rewrite as you want on a CD like a USB sticks.&lt;/p&gt;
&lt;p&gt; 
1- Launch railo via the c:\Railo_CD\start.bat wait until you see something like that&lt;br /&gt; 
====================&lt;br /&gt; 
WEB CONTEXT&lt;br /&gt; 
--------------------&lt;/p&gt;
&lt;p&gt; 
2- Upgrading Railo to the last version&lt;br /&gt; 
The version you download it’s .015 you can go on the server admin via your browser &lt;br /&gt; 
http://localhost:8080/railo-context/admin/&lt;br /&gt; 
Services -&amp;gt; Update -&amp;gt; Execute Update&lt;/p&gt;
&lt;p&gt; 
3- Bring all your website content into a new folder under the webroot for example&lt;br /&gt; 
c:\Railo_CD\webroot\myNewApplication&lt;/p&gt;
&lt;p&gt; 
4- Test your application in your browser if everything works&lt;br /&gt; 
http://localhost:8080/myNewApplication&lt;br /&gt; 
You should think to remove the debugging in the server and also in webcontext  because I’m sure your client doesn’t need it.&lt;/p&gt;
&lt;p&gt; 
5- If everything works now it’s time to start to modify some files to make, if not try to figure out what doesn’t work and fix it.&lt;/p&gt;
&lt;p&gt; 
6- We don’t need to have the jvm.log and the access.log we need to remove them for that we go to this file c:\Railo_CD\conf\resin.conf&lt;br /&gt; 
Comments these 2 lines&lt;br /&gt; 
Line 35&lt;br /&gt; &lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
Line 268 .. 270&lt;br /&gt; 
&lt;code&gt;&lt;span class=&apos;cc_normaltag&apos;&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;format=&apos;%h %l %u %t &lt;span class=&apos;cc_value&apos;&gt;&amp;quot;%r&amp;quot;&lt;/span&gt; %s %b &lt;span class=&apos;cc_value&apos;&gt;&amp;quot;%{Referer}i&amp;quot;&lt;/span&gt; &lt;span class=&apos;cc_value&apos;&gt;&amp;quot;%{User-Agent}i&amp;quot;&lt;/span&gt;&apos;&lt;span class=&apos;cc_normaltag&apos;&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;rollover-period=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;1W&amp;quot;&lt;/span&gt;/&lt;span class=&apos;cc_specialchar&apos;&gt;&amp;amp;amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt; 
7- We need to move somewhere the logs files of Railo for that we edit this file c:\Railo_CD\webroot\WEB-INF\railo\railo-web.xml.cfm Everywhere where you see a mention for logs you put instead {temp-directory}\ in front like that everything will be written to the RAM of the computer.&lt;br /&gt; 
Line 45 &lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
become &lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
Line 74&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
become&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
Line 76&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
become&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
Line 90&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
become&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
Line 154&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;br /&gt; 
become&lt;br /&gt; 
&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt; 
7- Burn the folder on a CD and you can start Railo via the CD 
&lt;/p&gt;
&lt;p&gt; 
8-Voila
&lt;/p&gt;
&lt;p&gt; 
I know you will ask no database I will write another post for that. I was able to manage to run Railo with an H2 database via CD only in reading mode for sure.
&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-a-cd</link>
         <guid>http://po.chassay.net/blog/post.cfm/how-to-start-railo-from-a-cd</guid>
         <category>Railo</category>
         <pubDate>Fri, 24 Jul 2009 11:18:03 GMT</pubDate>
      </item>	
      <item>
         <title>Railo jQuery JSON</title>
         <description>&lt;p&gt;
Just a quick note, for the people who use &lt;a href=&quot;http://jquery.com&quot;&gt;jQuery&lt;/a&gt; and Railo. With the version 3.1.0.017 and higher of Railo and jQuery 1.3.2 you can now use returnformat=json like in
CF8. No need any more for you to use serializeJson at the end of
cffunction to have JSON format.&lt;/p&gt;
&lt;p&gt;Here an example from &lt;a href=&quot;http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/json-jquery-and-coldfusion-56&quot;&gt;John Wish Blog&lt;/a&gt; with CF8&lt;/p&gt;
&lt;p&gt;Your CFC&lt;/p&gt;
&lt;p&gt;
&lt;pre class=&quot;brush: cf&quot;&gt;
&lt;cfcomponent output=&quot;false&quot; hint=&quot;I return data as CF native JSON&quot;&gt;
&lt;cffunction name=&quot;GetProducts&quot; output=&quot;false&quot; access=&quot;remote&quot;&gt;

&lt;cfset var qryExample = QueryNew(&quot;id,title&quot;) /&gt;
&lt;cfset var ndx = &quot;&quot; /&gt;

&lt;cfloop from=&quot;1&quot; to=&quot;5&quot; index=&quot;ndx&quot;&gt;
&lt;cfset QueryAddRow(qryExample) /&gt;

&lt;cfset QuerySetCell(qryExample, &quot;id&quot;, ndx) /&gt;
&lt;cfset QuerySetCell(qryExample, &quot;title&quot;, RepeatString(Chr(64 + ndx), 3)) /&gt; 
&lt;/cfloop&gt; 

&lt;cfreturn qryExample /&gt;

&lt;/cffunction&gt;
&lt;/cfcomponent&gt;
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Your HTML/CFML pages&lt;/p&gt;
&lt;p&gt;
&lt;pre class=&quot;brush: cf&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
function GetProducts(){
  $.getJSON(
    &apos;NewCFComponent.cfc?wsdl&apos;,
    { method : &apos;GetProducts&apos;, returnformat : &apos;json&apos;, queryformat : &apos;column&apos; },
    /*
    When the JSON data has returned, fire this
    callback function and pass in the JSON data
    as it&apos;s argument.
    */
    ShowProducts
  );
}

function ShowProducts(qProducts){
  // matches CF8 implementation of JSON...
  // example: 
  // {&quot;ROWCOUNT&quot;:2,&quot;COLUMNS&quot;:[&quot;ID&quot;,&quot;TITLE&quot;],&quot;DATA&quot;:{&quot;id&quot;:[1,2],&quot;title&quot;:[&quot;AAA&quot;,&quot;BBB&quot;]}}
  if (qProducts.ROWCOUNT==0) {
    alert(&apos;Sorry, no matches found&apos;);
  }
  else {
    for (var i=0; i&lt;qProducts.ROWCOUNT; i++) {
      // loop through JSON recordset...
      // we can reference the fields like this...
      nId = qProducts.DATA.id[i];
      sTitle = qProducts.DATA.title[i];
      //Alert just to show you the result!
      alert(nId+&apos; &apos;+sTitle);
    }
  }
  
}
GetProducts();
// --&gt;&lt;/script&gt;
&lt;/pre&gt;&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/railo-jquery-json</link>
         <guid>http://po.chassay.net/blog/post.cfm/railo-jquery-json</guid>
         <category>Jquery</category><category>Railo</category>
         <pubDate>Sun, 12 Jul 2009 16:22:28 GMT</pubDate>
      </item>	
      <item>
         <title>My first Scotch on the Rock</title>
         <description>&lt;p&gt; &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;On the 1&lt;sup&gt;st&lt;/sup&gt;
June 2009, I attend finally my first “big” conference of Coldfusion (CFML). What
I can say it’s was a good day.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;The organization
of &lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;http://www.scotch-on-the-rocks.co.uk/&quot;&gt;SOTR&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; makes everything possible for us developer to have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;I attend at
the presentation of &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.markdrew.co.uk&quot;&gt;Mark Drew&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; about the difference between the different
frameworks in CF. Mark replace &lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;http://corfield.org/blog/index.cfm/do/blog.entry/entry/No_Scotch_for_me&quot;&gt;Sean Corfield&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; on the fly for this presentation
and he delivers the jobs for it. &lt;span style=&quot;mso-spacerun: yes;&quot;&gt; &lt;/span&gt;Now it’s
to me look more into it &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.coldboxframework.com/&quot;&gt;Coldbox&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; or &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.model-glue.com/&quot;&gt;Model-Glue&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;The next
presentation was the one of &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://blog.flashgen.com/&quot;&gt;Mike Jones&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; about Flex.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;What I can say the presentation was good but
for developer knowing already a lot about Flex. The description and the title
of the presentation were suggesting a different topic.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;After the
lunch I attend at the presentation of &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.railo.ch/blog/&quot;&gt;Gert Franz&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; about &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.getrailo.org/&quot;&gt;Railo&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; since the time I
use Railo it was the first time I was listening a sale pitch from the evangelist
of Railo.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;I knew around 95% of the
content already for it, but always interesting to have a refresh about it.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Another
good presentation follows after the one of David Stockton about &lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;http://www.fusion-reactor.com/labs/analytics.cfm&quot;&gt;Fusion
Analytics&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; and &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.fusion-reactor.com/&quot;&gt;Fusion Reactor&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;. People were more interested about Fusion
Reactor than Fusion Analytics. Maybe Integral should have tried to make 2 presentations
instead of combining both. In any case I will look into it.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;The last
presentation of the day was the one of &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://www.terrenceryan.com/&quot;&gt;Terry Ryan&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; about the new IDE of Adobe:
&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;http://labs.adobe.com/wiki/index.php/Bolt&quot;&gt;Bolt&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;Since Terry wasn’t having the
rights to tell us a lot about it, he show us how to create extension for
it.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;That will be a powerful tool, in one
example he showed us how to bring all the projects of &lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;&lt;a href=&quot;http://www.riaforge.org/&quot;&gt;RIAFORGE&lt;/a&gt; into Bolt,&lt;/span&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt; no need of unzipping
everything anymore!&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-GB;&quot;&gt;Overall it’s
been a great day meat some great people and hopes to see them next year.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/my-first-scotch-on-the-rock</link>
         <guid>http://po.chassay.net/blog/post.cfm/my-first-scotch-on-the-rock</guid>
         <category>Conference</category>
         <pubDate>Mon, 01 Jun 2009 20:06:44 GMT</pubDate>
      </item>	
      <item>
         <title>Railo 3.1.0.012 Mango 1.3.1  Add-ons function</title>
         <description>&lt;p&gt;To use the Add-ons function of Mango 1.3.1 with Railo 3.1.0.012.
You need to modify the files updater.cfc&lt;/p&gt;
&lt;p&gt;The file is located YourBlog/components/updater.cfc&lt;/p&gt;
&lt;p&gt;In the function downloadPlugin you need to change around the line 214&lt;/p&gt;
&lt;p&gt;Original Line&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span class=&apos;cc_cftag&apos;&gt;&amp;lt;cffile action=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;rename&amp;quot;&lt;/span&gt; &lt;br /&gt;        source=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;#local.pluginDir#&amp;quot;&lt;/span&gt; &lt;br /&gt;   destination=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;#userPluginsDir##local.plugin#&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;New line&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;&lt;span class=&apos;cc_cftag&apos;&gt;&amp;lt;cfdirectory action=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;rename&amp;quot;&lt;/span&gt; &lt;br /&gt;       newdirectory=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;#userPluginsDir##local.plugin#&amp;quot;&lt;/span&gt; &lt;br /&gt;          directory=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;#local.pluginDir#&amp;quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
I tested over Windows Vista 32 bits and Linux Centos 5.2&lt;br&gt;
I already submited as a &quot;bug&quot; to mango forum but I wanted more people aware of it.</description>
         <link>http://po.chassay.net/blog/post.cfm/railo-3-1-0-012-mango-1-3-1-add-ons-function</link>
         <guid>http://po.chassay.net/blog/post.cfm/railo-3-1-0-012-mango-1-3-1-add-ons-function</guid>
         <category>Mango</category><category>Railo</category>
         <pubDate>Sun, 10 May 2009 16:26:10 GMT</pubDate>
      </item>	
      <item>
         <title>Railo 3.1.0.012 Apache 2.2 Vista 32 bits CF8 </title>
         <description>&lt;p&gt;To install Railo 3.1.0.012 on Vista beside a version of CF8 already running with Apache 2.2 it&apos;s not so complicated.&lt;/p&gt;
&lt;p&gt;I will suggest to install it like that instead of using the Express version because in the Express version the SES doesn&apos;t work and you have also to tweak somes files to point it to the right directory.&lt;/p&gt;
&lt;p&gt;You need to follow this &lt;a href=&quot;http://blog.mxunit.org/2008/11/yeah-but-does-it-run-in-enter-your-cf.html&quot; mce_href=&quot;http://blog.mxunit.org/2008/11/yeah-but-does-it-run-in-enter-your-cf.html&quot;&gt;good tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For myself I had make one modification to get everything running properly&lt;/p&gt;
&lt;p&gt;It&apos;s in the file resin.conf &lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;code&gt;&lt;span class=&apos;cc_normaltag&apos;&gt;&amp;lt;host id=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;railo&amp;quot;&lt;/span&gt; root-directory=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;f:/&amp;quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&apos;cc_normaltag&apos;&gt;&amp;lt;web-app id=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;/&amp;quot;&lt;/span&gt; root-directory=&lt;span class=&apos;cc_value&apos;&gt;&amp;quot;www&amp;quot;&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&apos;cc_normaltag&apos;&gt;&amp;lt;/host&amp;gt;&lt;/span&gt;&lt;/code&gt;
&lt;/p&gt; </description>
         <link>http://po.chassay.net/blog/post.cfm/railo-3-1-0-012-apache-2-2-vista-32-bits-cf8</link>
         <guid>http://po.chassay.net/blog/post.cfm/railo-3-1-0-012-apache-2-2-vista-32-bits-cf8</guid>
         <category>Railo</category>
         <pubDate>Sun, 10 May 2009 16:04:15 GMT</pubDate>
      </item>	
      <item>
         <title>Mango Basic Pod Plugin Quick Note</title>
         <description>&lt;p&gt;&lt;span style=&quot;color: #000000; font-family: &apos;Times New Roman&apos;; font-size: 16px; line-height: normal;&quot;&gt;
&lt;div style=&quot;background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #ffffff; font-size: 11px; font-family: &apos;trebuchet ms&apos;, helvetica, sans-serif; color: #8c8c73; line-height: 18px; background-position: initial initial; margin: 8px;&quot;&gt;
&lt;p style=&quot;margin-bottom: 14px; text-align: justify;&quot;&gt;Just a quick note for the user of the Basic Pod Plugin.&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 14px; text-align: justify;&quot;&gt;You can add in your pod some JavaScript, Object, Embed who allow you to put some video of &lt;a style=&quot;color: #ff7800; text-decoration: underline;&quot; href=&quot;http://www.youtube.com&quot;&gt;YouTube&lt;/a&gt; or anything else you wants.&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 14px; text-align: justify;&quot;&gt;The trick it&apos;s to go in your admin of CF or Railo and to change the script protection.&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 14px; text-align: justify;&quot;&gt;For Railo you find it&apos;s under Settings -&amp;gt; Application -&amp;gt; Script-protect should be to none&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 14px; text-align: justify;&quot;&gt;For CF8 it&apos;s under Server Settings -&amp;gt; Settings -&amp;gt; uncheck Enable Global Script Protection&lt;/p&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/mango-basic-pod-plugin-quick-note</link>
         <guid>http://po.chassay.net/blog/post.cfm/mango-basic-pod-plugin-quick-note</guid>
         <category>Mango</category>
         <pubDate>Mon, 04 May 2009 17:19:43 GMT</pubDate>
      </item>	
      <item>
         <title>Mango New Plugin Basic Pod</title>
         <description>&lt;p&gt;When first I tried the &lt;a href=&quot;http://www.visual28.com/articles/sidenote&quot;&gt;side note&lt;/a&gt; plugin from Mark Aplet was a nice plugin and works properly.&lt;/p&gt;
&lt;p&gt;Afterward I needed to have one at the top and one at the bottom of my page; also I wanted to have a title for each.&lt;/p&gt;
&lt;p&gt;I realize by duplicating the plugin and incrementing it, it was working properly but it wasn&apos;t automated in the &lt;a href=&quot;/blog/post.cfm/mango-modification-sidenote-plugin-to-basic-pod-plugin&quot;&gt;first version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Everything was done manually.&lt;/p&gt;
&lt;p&gt;Now I create Basic Pod version 0.1 who allows you from the main plugin to duplicate it.&lt;/p&gt;
&lt;p&gt;Only the main Basic Pod has the ability to create others Basic Pod.&lt;/p&gt;
&lt;p&gt;You have the possibilitie to add a title for each.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/assets/content//download/basicPod.zip&quot;&gt;Download Basic Pod here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;unzip the plugin into your folder components/plugins/user/&lt;/span&gt;&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/mango-new-plugin-basic-pod</link>
         <guid>http://po.chassay.net/blog/post.cfm/mango-new-plugin-basic-pod</guid>
         <category>Mango</category>
         <pubDate>Wed, 15 Apr 2009 21:22:10 GMT</pubDate>
      </item>	
      <item>
         <title>Modification sideNote Plugin to basic Pod Plugin</title>
         <description>&lt;p&gt;Mark Aplet from &lt;a href=&quot;http://www.visual28.com/articles/sidenote&quot;&gt;www.visual28.com&lt;/a&gt; creates a nice plugin for Mango to allow you to add a side note.&lt;/p&gt;
&lt;p&gt;I wanted to have the possibilities to add a title for it and more than one.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To have more than one for the moment I create another plugin but in the
future I would like to find a way to create it automatically inside the main
plugin.&lt;/p&gt;
&lt;p&gt;Download basic Pod here&lt;/p&gt;
&lt;p&gt;Download basic Pod 1 here&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;unzip the plugin into your folder components/plugins/user/&lt;/p&gt;
&lt;p&gt;**************************************************&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Update: New Release of the Basic Pod can be found &lt;/span&gt;&lt;a href=&quot;/blog/post.cfm/mango-new-plugin-basic-pod&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; with explanation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;**************************************************&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/mango-modification-sidenote-plugin-to-basic-pod-plugin</link>
         <guid>http://po.chassay.net/blog/post.cfm/mango-modification-sidenote-plugin-to-basic-pod-plugin</guid>
         <category>Mango</category>
         <pubDate>Sun, 12 Apr 2009 12:10:03 GMT</pubDate>
      </item>	
      <item>
         <title>Installing Railo 3.1.0.012 on Linux Cent OS 5.2</title>
         <description>&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How to install Railo:&lt;/p&gt;
&lt;p&gt;Why another blog entry on the subject: because I was needed to read 5 different blogs to get it work properly.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;http://www.railo.ch/blog/index.cfm/2008/11/12/Installing-ResinRailo-on-CentOS&quot;&gt;Railo Blog&lt;/a&gt;, &lt;a href=&quot;http://www.garyrgilbert.com/blog/index.cfm/2008/11/6/Installing-Railo-3-on-Linux-CentOS-Part-1&quot;&gt;Gary Gilbert&lt;/a&gt;, &lt;a href=&quot;http://www.hockeypfef.net/index.cfm/2008/9/29/Railo-Server-and-Apache&quot;&gt;Chris aka hockeypFeF&lt;/a&gt;, &lt;a href=&quot;http://www.mikebenner.com/post.cfm/install-railo-on-slicehost-centos-5-2-part-3&quot;&gt;Mike Benner&lt;/a&gt; and &lt;a href=&quot;http://www.bigkidsdidit.co.uk/post.cfm/install-railo-apache-mysql-on-centos-sun-jdk&quot;&gt;Mark Mcaulay&lt;/a&gt; for posting their own experiences how to install it.&lt;/p&gt;
&lt;p&gt;To start you will need these tools&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# yum install make nano httpd-devel openssl-devel lynx&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;First of all we will need to get the latest jdk from Sun and install it&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# cd opt
-bash-3.2# mkdir soft
-bash-3.2# cd soft
-bash-3.2# curl -L -O
&apos;http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u13-linux-i586.bin?BundledLineItemUUID=BXlIBe.p1iMAAAEgGLURNnCV&amp;amp;OrderID=r6lIBe.pMTMAAAEgCLURNnCV&amp;amp;ProductID=RGtIBe.ou1AAAAEfpVYcydOO&amp;amp;FileName=/jdk-6u13-linux-i586.bin&apos;
-bash-3.2# chmod +x jdk-6u13-linux-i586.bin
-bash-3.2# ./jdk-6u13-linux-i586.bin &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You will need to press &quot;enter&quot; a couple of time to acknowledge the liscence and press &quot;Y&quot; at the end.&lt;/p&gt;
&lt;p&gt;When it&apos;s done we need to add Java to our path&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2#  nano /etc/profile.d/java.sh&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In this file add these 2 lines:&lt;/p&gt;
&lt;p&gt;export JAVA_HOME=/opt/soft/jdk1.6.0_13/&lt;br /&gt;export PATH=$JAVA_HOME/bin:$PATH&lt;/p&gt;
&lt;p&gt;Save your file and make it executable like that:&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# chmod +x /etc/profile.d/java.sh&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now you have to log off of SSH and comeback in&lt;/p&gt;
&lt;p&gt;You will be able to test if java is properly install with this command line&lt;/p&gt;
&lt;p&gt;java -version&lt;/p&gt;
&lt;p&gt;If Java is properly install you will have the java version intall&lt;/p&gt;
&lt;p&gt;Now we need to download Railo&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# cd opt


-bash-3.2# wget http://www.getrailo.org/down.cfm?item=/railo/remote/download/3.1.0.012/server/all/railo-3.1.0.012-resin-3.1.2-without-jre.tar.gz&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;We extract Railo with this command line&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# tar xzf railo-3.1.0.012-resin-3.1.2-without-jre.tar.gz&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Making a relative path to the folder extract to simplify the writing&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# ln -s railo-3.1.0.012-resin-3.1.2-without-jre railo&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now the interesting part the compiling of the module Caucho&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# cd railo


-bash-3.2# ./configure --with-java-home=/opt/soft/jdk1.6.0_13/ --with-apxs=/usr/sbin/apxs


-bash-3.2# make 


-bash-3.2# make install&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;if everything is fine no errors occurs during the last 3 steps&lt;/p&gt;
&lt;p&gt;You can look into your httpd.conf file these new lines will be at the end of your file&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# nano /etc/httpd/conf/httpd.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: plain&quot;&gt;#
# mod_caucho Resin Configuration
#

LoadModule caucho_module /usr/lib/httpd/modules/mod_caucho.so

ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
CauchoStatus yes&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now we need a script to railo start automatically at the startup&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# nano /etc/init.d/resin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: plain&quot;&gt;##############################################
#!/bin/sh
#
# Linux startup script for Resin
# chkconfig: 345 85 15
# description: Resin is a Java Web server.
# processname: wrapper.pl
#
#
JAVA_HOME=/your/java/path for me it&apos;s /opt/soft/jdk1.6.0_13
RESIN_HOME=/your/resin path for me it&apos;s /opt/railo

export JAVA_HOME RESIN_HOME

JAVA=$JAVA_HOME/bin/java
#
# If you want to start the entire Resin process as a different user,
# set this to the user name. If you need to bind to a protected port,
# e.g. port 80, you can&apos;t use USER, but will need to use bin/resin.
#
USER=
#
# Set to the server id to start
#
#SERVER=&quot;-server app-a&quot;
#
ARGS=&quot;-resin-home $RESIN_HOME $SERVER&quot;

if test -r /lib/lsb/init-functions; then
. /lib/lsb/init-functions
else

log_daemon_msg () {
if [ -z &quot;$1&quot; ]; then
return 1
fi

if [ -z &quot;$2&quot; ]; then
echo -n &quot;$1:&quot;
return
fi

echo -n &quot;$1: $2&quot;
}

log_end_msg () {
[ -z &quot;$1&quot; ] &amp;amp;&amp;amp; return 1

if [ $1 -eq 0 ]; then
echo &quot; .&quot;
else
echo &quot; failed!&quot;
fi

return $1
}

fi

case &quot;$1&quot; in
start)
logger &quot;Starting resin&quot;
if test -n &quot;$USER&quot;; then
su $USER -c &quot;$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS start&quot; 1&amp;gt;/dev/null 2&amp;gt;/dev/null
else
$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS start 1&amp;gt;/dev/null 2&amp;gt;/dev/null
fi
logger $?
;;
stop)
logger &quot;Stopping resin&quot;
if test -n &quot;$USER&quot;; then
su $USER -c &quot;$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS stop&quot; 1&amp;gt;/dev/null 2&amp;gt;/dev/null
else
$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS stop 1&amp;gt;/dev/null 2&amp;gt;/dev/null
fi
logger $?
;;
restart)
$0 stop
$0 start
;;
*)
echo &quot;Usage: $0 {start|stop|restart}&quot;
exit 1
esac

exit 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Save the your file and we need to made it executable and bootable at the startup &lt;/p&gt;
&lt;p&gt;We do that with these 3 lines&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;chmod +x /etc/init.d/resin
chkconfig --add resin
chkconfig resin on&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can configure your differents website in the resin.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# nano /opt/railo/conf/resin.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: plain&quot;&gt;&amp;lt;host id=&quot;www.mysite-two.com&quot;&amp;gt;
&amp;lt;host-alias&amp;gt;mysite-two.com&amp;lt;/host-alias&amp;gt;
&amp;lt;root-directory&amp;gt;/path/to/web/files&amp;lt;/root-directory&amp;gt;
&amp;lt;web-app id=&quot;/&quot;&amp;gt;
&amp;lt;document-directory&amp;gt;&amp;lt;/document-directory&amp;gt;
 &amp;lt;/web-app&amp;gt;
&amp;lt;/host&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;you will find the server admin of railo here&lt;/p&gt;
&lt;p&gt;http://you.ip/railo-context/admin.cfm&lt;/p&gt;
&lt;p&gt;and the webserver admin for each domain you add in your resin.conf here&lt;/p&gt;
&lt;p&gt;http://host/railo-context/admin.cfm&lt;/p&gt;
&lt;p&gt;Cleanup&lt;/p&gt;
&lt;p&gt;You can now delete the 2 files you download the jdk-6u13-linux-i586.bin and the railo-3.1.0.012-resin-3.1.2-without-jre.tar.gz&lt;/p&gt;
&lt;p&gt;also in the directory /opt/railo you can delete that&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;-bash-3.2# rm -rf httpd.exe install-service.bat remove-service.bat setup.exe win32&lt;/pre&gt;&lt;/p&gt;</description>
         <link>http://po.chassay.net/blog/post.cfm/installing-railo-3-1-0-012-on-linux-cent-os-5-2</link>
         <guid>http://po.chassay.net/blog/post.cfm/installing-railo-3-1-0-012-on-linux-cent-os-5-2</guid>
         <category>Railo</category>
         <pubDate>Sat, 11 Apr 2009 12:02:46 GMT</pubDate>
      </item>
	
   </channel>
</rss>