<?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>Against All Odds - Railo</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Thu, 20 Jun 2013 03:51:22 -0700</pubDate>
			<lastBuildDate>Sat, 04 Jun 2011 22:24:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</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>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Configure virtual directory on Tomcat</title>
				<link>http://www.ppshein.net/index.cfm/2011/6/4/Configure-virtual-directory-on-Tomcat</link>
				<description>
				
				In these days, I&apos;ve removed Adobe Coldfusion9 Developer version from my laptop and tried to install Railo 3.2 for testing about ORM feature of it. That&apos;s why I&apos;ve installed the integrated installer of Railo. Before installation Railo, I feel I should remove existing apache from my laptop because I won&apos;t want any conflict will be come out because of Railo. Regarding Railo integrated installer documentation, it used Apache + Tomcat + Railo in it. That&apos;s why I feel I&apos;m correct what I did. 

After a few minutes, Railo is completely installed in my laptop. After that, I need to migrate my existing projects into Railo by configuration on Tomcat. That&apos;s why I need to create virtual directory on Tomcat. Well, I&apos;ve posted &lt;a href=&quot;http://www.ppshein.net/index.cfm/2011/3/26/Install-Apache-and-Create-Virtual-Directory-in-Window-7&quot;&gt;create virtual directory in Apache&lt;/a&gt; and I feel create virtual directory on Tomcat will be same as what I&apos;ve posted about. 

Here is simple way to create virtual directory on Tomcat.

&lt;ul&gt;
&lt;li&gt;1) [tomcat_install]/tomcat/conf/Catalina/localhost/&lt;/li&gt;
&lt;li&gt;2) create XML file. File name is the name of the virtual directory&apos;s name. If you created XML file name as posCFC.xml, your virtual directory will be &quot;http://localhost/&lt;b&gt;posCFC&lt;/b&gt;/&quot;&lt;/li&gt;
&lt;li&gt;
3) add the following coding into this XML file.
&lt;code&gt;
&lt;Context path=&quot;/POS&quot; docBase=&quot;E:/Project/POS&quot; debug=&quot;0&quot; privileged=&quot;true&quot;&gt;
&lt;/Context&gt;
&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;4) Restart your Tomcat. (it&apos;s optional.)&lt;/li&gt;
&lt;/ul&gt;
				
				</description>
				
				
				<category>Apache</category>
				
				<category>Tomcat</category>
				
				<category>Coldfusion</category>
				
				<category>Railo</category>
				
				<pubDate>Sat, 04 Jun 2011 22:24:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/6/4/Configure-virtual-directory-on-Tomcat</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFHttp for Adobe Coldfusion and Railo Coldfusion</title>
				<link>http://www.ppshein.net/index.cfm/2010/11/9/CFHttp-for-Adobe-Coldfusion-and-Railo-Coldfusion</link>
				<description>
				
				I got a problem to test &lt;a href=&quot;http://bit.ly/dr5Bgq&quot; target=&quot;_blank&quot;&gt;web-spider&lt;/a&gt; created by Raymond in my blog yesterday. Even I put the right files and the right coding into my blog, I couldn&apos;t test and run this file. I don&apos;t know why and I don&apos;t want to bother to him anymore. That&apos;s why I kept troubleshooting for it by myself. Few minutes later, I just found it&apos;s because of Railo. 

In Adobe Coldfusion, we need to write the following code if we want to get content from the website inside in CFScript. 

&lt;code&gt;
&lt;cfscript&gt;
	function getContent(url)
		{
			var h = new com.adobe.coldfusion.http();
			h.setURL(url);
			h.setMethod(&quot;get&quot;);
			h.setResolveURL(true);
			variables.queue = [];
			var result = h.send().getPrefix();
			var content = result.filecontent;
			return content;
		}
&lt;/cfscript&gt;
&lt;/code&gt;

In Railo, it&apos;s quite different. We need to write the following code if we want to get content from the website inside in CFScript.

&lt;code&gt;
&lt;cfscript&gt;
	getInfo = new HTTP(url=&apos;http://www.ppshein.net&apos;);
	Results = getInfo.send();
	myStructure = DeSerializeJSON(Results.getPrefix().filecontent);
&lt;/cfscript&gt;
&lt;/code&gt;

That&apos;s the first one I know different between Railo and Adobe. I think there might have a few different functions and tags between them. I can&apos;t convince why Railo don&apos;t want to develop the same function structure and calling style like Adobe Coldfusion. I think they&apos;re trying to make simple than Adobe Coldfusion.
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>Railo</category>
				
				<category>CF Tag</category>
				
				<pubDate>Tue, 09 Nov 2010 00:01:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/11/9/CFHttp-for-Adobe-Coldfusion-and-Railo-Coldfusion</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Finally I&apos;m on BlogCFC</title>
				<link>http://www.ppshein.net/index.cfm/2010/10/23/Finally-Im-on-BlogCFC</link>
				<description>
				
				I&apos;ve spent 24 hours for migration my official blog from MangoBlog to BlogCFC. I don&apos;t want to clarify why I decided to move from MangoBlog to BlogCFC because most of facts have been clarified by Nil at his blog. &lt;a href=&quot;http://nil.checksite.co.uk/index.cfm/2010/1/27/A-Return-to-BlogCFC&quot; target=&quot;_blank&quot;&gt;http://nil.checksite.co.uk&lt;/a&gt;

For me, the important reason that I choose BlogCFC because of Mobile version and others are such as tweetbacks and gravatars picture from comment (which I really like this one :)).

MangoBlog has also advantages such as one-click-plugin-installation and themes which are based on Blogger and Wordpress. Please don&apos;t get me wrong either.

Database migration? No idea. I configured two databases by myself(manual) because my hosting is based on Railo which doesn&apos;t currently support ORM.
				 [More]
				</description>
				
				
				<category>BlogCFC</category>
				
				<category>Coldfusion</category>
				
				<category>Railo</category>
				
				<category>MangoBlog</category>
				
				<pubDate>Sat, 23 Oct 2010 00:55:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/10/23/Finally-Im-on-BlogCFC</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Railo on IIS 7</title>
				<link>http://www.ppshein.net/index.cfm/2010/9/16/railo-on-iis-7</link>
				<description>
				
				&lt;p&gt;Recently, I&apos;ve installed &lt;a href=&quot;http://www.getrailo.org/&quot; target=&quot;_blank&quot;&gt;Railo&lt;/a&gt; on IIS7. Why I need to install Railo? Because, I&apos;m not rich enough to buy Adobe Coldfusion 9 installer for my personal Development. Even Developer Edition isn&apos;t complete enough for me what I want to develop. That&apos;s why I decided to install Railo on my pc. I&apos;ll guide step by step screen-shot explanation. &lt;/p&gt;
&lt;p&gt;1) Download Railo under this website. &lt;a href=&quot;http://www.getrailo.org/down.cfm?item=/railo/remote/download/3.1.2.001/server/windows/railo-3.1.2.001-resin-3.1.9-with-jre-windows.exe&quot; target=&quot;_blank&quot;&gt;http://www.getrailo.org/index.cfm/download/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;2) Install Railo to C:\Railo\ &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;thumbnails&quot; title=&quot;Untitled-1&quot; src=&quot;/assets/content/Railo-on-IIS/1.png&quot; alt=&quot;Railo&quot; /&gt; &lt;/p&gt;
&lt;p&gt;Because, they already wrote not to install Railo in a directory containing space. &lt;a href=&quot;http://ppshein.files.wordpress.com/2010/08/untitled-2.png&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-620&quot; title=&quot;Untitled-2&quot; src=&quot;/assets/content/Railo-on-IIS/rail_warning.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;3) Need to enable 32 bit application on your IIS 7. &lt;em&gt;if your window system type is 64bits, you can skip this step. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/content/Railo-on-IIS/2.png&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;
&lt;p&gt;4) Need to define Handler Mappings. &lt;strong&gt;Server&lt;/strong&gt; &gt; &lt;strong&gt;Sites&lt;/strong&gt; &gt; &lt;strong&gt;Default Website&lt;/strong&gt;. You will see following screen and Click on &lt;strong&gt;Handler Mappings&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-630&quot; title=&quot;Untitled-3&quot; src=&quot;/assets/content/Railo-on-IIS/3.png&quot; alt=&quot;&quot; width=&quot;400&quot; height=&quot;320&quot; /&gt; &lt;/p&gt;
&lt;p&gt;After clicking, click on&lt;strong&gt; Add Script Mapping&lt;/strong&gt; which located on the top of the right side. After that, you will see one following Dialog-Box. And fill all needed information as follow.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-622&quot; title=&quot;Untitled-4&quot; src=&quot;/assets/content/Railo-on-IIS/4.png&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;
&lt;p&gt;5) Need to add Extension on ISAPI filters. &lt;strong&gt;Server&lt;/strong&gt; &gt; &lt;strong&gt;Sites&lt;/strong&gt; &gt; &lt;strong&gt;Default Website&lt;/strong&gt;. You will see following screen and Click on&lt;strong&gt; ISAPI Filters&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-625&quot; title=&quot;Untitled-5&quot; src=&quot;/assets/content/Railo-on-IIS/5.png&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;
&lt;p&gt;After clicking on &lt;strong&gt;ISAPI Filters&lt;/strong&gt;, you will see Dialog box and fill all needed information as follow. &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-626&quot; title=&quot;Untitled-6&quot; src=&quot;/assets/content/Railo-on-IIS/6.png&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;
&lt;p&gt;6) Go to C:\&lt;strong&gt;Railo&lt;/strong&gt;\conf\ and create file name as &lt;strong&gt;host.xml&lt;/strong&gt;. And write following coding in this file. &lt;/p&gt;
&lt;p&gt;&lt;code&gt;
&lt;host host-name=&quot;www2.welcomedriver.com&quot;&gt;
&lt;host-alias&gt;www2.godriver.com&lt;/host-alias&gt;
&lt;root-directory&gt;C:\_webproduction\welcomedriver - production\htdocs&lt;/root-directory&gt;
&lt;web-app id=&quot;welcomedriver&quot; document-directory=&quot;.&quot; /&gt;
&lt;/host&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Configure as above message, you can browse Railo Admin as follow : &lt;a rel=&quot;nofollow&quot; href=&quot;http://localhost:8600/railo-context/admin/server.cfm&quot; target=&quot;_blank&quot;&gt;http://localhost:8600/&lt;strong&gt;railo&lt;/strong&gt;-context/admin/server.cfm&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://ppshein.files.wordpress.com/2010/08/untitled-7.png&quot;&gt;&lt;/a&gt;&lt;img src=&quot;/assets/content/Railo-on-IIS/7.png&quot; alt=&quot;&quot; width=&quot;400&quot; height=&quot;214&quot; /&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enjoy it...!!!&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Best credit to  : &lt;a href=&quot;http://groups.google.com/group/railo/browse_thread/thread/949b8156e4006e3c/0f6e1493906da575?lnk=gst&amp;amp;q=railo+on+IIS#0f6e1493906da575&quot; target=&quot;_blank&quot;&gt;http://groups.google.com/group/railo/browse_thread/thread/949b8156e4006e3c/0f6e1493906da575?lnk=gst&amp;amp;q=railo+on+IIS#0f6e1493906da575&lt;/a&gt;&lt;/p&gt;
				
				</description>
				
				
				<category>IIS7</category>
				
				<category>Coldfusion</category>
				
				<category>Railo</category>
				
				<pubDate>Thu, 16 Sep 2010 17:19:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/9/16/railo-on-iis-7</guid>
				
				
			</item>
			
		 	
			</channel></rss>