<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Andrew Schwabe&apos;s Blog - Railo</title>
			<link>http://blog.schwabe.net/index.cfm</link>
			<description>Flex and CF and all things Wack.</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 09:33:22 -0400</pubDate>
			<lastBuildDate>Tue, 22 Jun 2010 17:08:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>aschwabe@schwabe.net</managingEditor>
			<webMaster>aschwabe@schwabe.net</webMaster>
			
			
			
			
			
			<item>
				<title>Building Facebook apps with CFML</title>
				<link>http://blog.schwabe.net/index.cfm/2010/6/22/Building-Facebook-apps-with-CFML</link>
				<description>
				
				Packt Publishing put up an article I wrote about getting started with Facebook application development using CFML.  This was based on a presentation I did at &lt;a href=&quot;http://ncdevcon.com&quot;&gt;NCDevCon&lt;/a&gt; last month.  Take a look, let me know if it helped ya...

&lt;a href=&quot;http://www.packtpub.com/article/facebook-application-development-with-coldfusion-railo&quot;&gt;http://www.packtpub.com/article/facebook-application-development-with-coldfusion-railo&lt;/a&gt;

I&apos;m considering writing another article about using the new Facebook Social Plugins and the new Graph API since it is a bit different from the old RESTful API that most developers have been using.
				
				</description>
						
				
				<category>Facebook</category>				
				
				<category>Open Source</category>				
				
				<category>Railo</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 22 Jun 2010 17:08:00 -0400</pubDate>
				<guid>http://blog.schwabe.net/index.cfm/2010/6/22/Building-Facebook-apps-with-CFML</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Flash Builder 4 (aka Flex 4 aka &quot;Gumbo&quot;) is released!</title>
				<link>http://blog.schwabe.net/index.cfm/2010/3/22/Flash-Builder-4-aka-Flex-4-aka-Gumbo-is-released</link>
				<description>
				
				Lots of aka&apos;s (i know).  Flex 4 SDK (open source) has been out for a while, or at least as a public beta.  Now that Flash Builder 4 (the new IDE that replaces Flex Builder 3 -- note the product naming difference), there is a lot to be excited about.

A new skinning system that brings in the best of declarative graphics and fixes quirks with scale 9 and manual skinning of components.  Supposedly everything is a lot more efficient and light weight.  Flex 3 was pretty to look at, but a bit memory intensive.  I don&apos;t have specifics on that yet, but all improvements are welcome to make it scalable for larger apps.

It is also designed for backward compatibility, so hopefully all our Flex3 apps compile nicely.

Looks like a great upgrade!  If you are into ColdFusion/Railo as well, be sure to check out their bundle of Flash Builder 4 and ColdFusion Builder at a good price.

Here are some details: &lt;a href=&quot;http://www.adobe.com/products/flex/overview/&quot;&gt;http://www.adobe.com/products/flex/overview/&lt;/a&gt;
				
				</description>
						
				
				<category>Adobe Flex</category>				
				
				<category>Open Source</category>				
				
				<category>Railo</category>				
				
				<category>Eclipse</category>				
				
				<category>Flash</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 22 Mar 2010 17:27:00 -0400</pubDate>
				<guid>http://blog.schwabe.net/index.cfm/2010/3/22/Flash-Builder-4-aka-Flex-4-aka-Gumbo-is-released</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>My new articles on packt publishing</title>
				<link>http://blog.schwabe.net/index.cfm/2010/3/11/My-new-articles-on-packt-publishing</link>
				<description>
				
				Packt Publishing asked me to write a bit about Railo.  It took me forever due to being busy (as always), but here they are!  Enjoy and share the love.

Introduction to Railo Open-Source CFML Engine:&lt;br/&gt;
&lt;a target=&quot;new&quot; href=&quot;http://www.packtpub.com/article/introduction-to-railo-open-source&quot;&gt;http://www.packtpub.com/article/introduction-to-railo-open-source&lt;/a&gt;

Tutorial: Rendering web pages as PDF using Railo&lt;br/&gt;
&lt;a target=&quot;new&quot; href=&quot;http://www.packtpub.com/article/rendering-web-pages-pdf-using-railo-open-source&quot;&gt;http://www.packtpub.com/article/rendering-web-pages-pdf-using-railo-open-source&lt;/a&gt;
				
				</description>
						
				
				<category>Adobe Flex</category>				
				
				<category>Open Source</category>				
				
				<category>Railo</category>				
				
				<category>Java</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 11 Mar 2010 19:44:00 -0400</pubDate>
				<guid>http://blog.schwabe.net/index.cfm/2010/3/11/My-new-articles-on-packt-publishing</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Multi-web configuration for Railo 3.1 and BlazeDS</title>
				<link>http://blog.schwabe.net/index.cfm/2009/11/20/Multiweb-configuration-for-Railo-31-and-BlazeDS</link>
				<description>
				
				Seems like lots of people are having a problem with Railo configured for multiple websites on a single host, but also need to support AMF via BlazeDS.

The common symptom is when you restart railo services, sometimes you will get a big error instead of your web page that says something like:

&lt;code&gt;
MessageBroker failed to start: flex.messaging.config.ConfigurationException: MessageBroker already defined from MessageBrokerServlet with init parameter messageBrokerId = &apos;__default__&apos;
&lt;/code&gt;

Here is what I found to work for me:

1. Read this post by Roland Ringgenberg at &lt;a target=&quot;_new&quot; href=&quot;http://groups.google.com/group/railo/msg/230e12e0fc12c625&quot;&gt;the railo google group&lt;/a&gt; and follow the directions to install the java jar and edit the flex/services-config.xml file:

&lt;code&gt;
    &lt;services&gt;
        &lt;service-include file-path=&quot;remoting-config.xml&quot; /&gt;
        &lt;service-include file-path=&quot;proxy-config.xml&quot; /&gt;
        &lt;service-include file-path=&quot;messaging-config.xml&quot; /&gt;        
		&lt;service id=&quot;railoBootstrap&quot; class=&quot;railo.runtime.net.amf.RailoMessageBrokerBootstrapService&quot;&gt;
        	&lt;properties&gt;
            	&lt;messageBrokerId&gt;yourcustomBroker&lt;/messageBrokerId&gt;
            &lt;/properties&gt;
        &lt;/service&gt; 
    &lt;/services&gt;
&lt;/code&gt;

2. For me, railo runs on port 8600 internally, and I have IIS configured to serve up content.  BlazeDS however doesn&apos;t get mapped through IIS, so you need to talk on the native port (again, for MY configuration, YMMV).  So to access it, i needed to open TCP port 8600 through the firewall.

3. Once i could talk to the server over port 8600, I changed my flex app that uses remoting to point to http://myserver:8600/flashservices/gateway/ and eveyrthing worked great!

One other interesting observation... When using Flash remoting with CF7/8/9, you can talk to your CFCs and invoke methods that are set to &quot;public.&quot;  With BlazeDS, your methods need to be marked as &quot;remote&quot; to be accessible.  Minor syntax difference, but a huge impact on security.  make sure you secure your CFCs!
				
				</description>
						
				
				<category>Adobe Flex</category>				
				
				<category>Open Source</category>				
				
				<category>Railo</category>				
				
				<category>Actionscript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 20 Nov 2009 12:54:00 -0400</pubDate>
				<guid>http://blog.schwabe.net/index.cfm/2009/11/20/Multiweb-configuration-for-Railo-31-and-BlazeDS</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Railo 3.1 Install on Linux -- Caucho security note</title>
				<link>http://blog.schwabe.net/index.cfm/2009/8/26/Railo-31-Install-on-Linux--Caucho-security-note</link>
				<description>
				
				Now that Railo 3.1 is out, I think we will see a jump in commercial usage.  I have done a few installs on production machines now, and wanted to point out a security note.

By default when you install Railo 3.1 (with caucho) on Linux (prob the same for OSX), it adds the following to your apache httpd.conf file:

&lt;code&gt;
LoadModule caucho_module /usr/lib/httpd/modules/mod_caucho.so

ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
CauchoStatus yes
&lt;/code&gt;

The bottom one is the problem -- it enables CauchoStatus by default.  That means that you can open up a web browser to http://your.host.com/caucho-status and see status info, but there is a lot of detailed info there, including the names of each of the hosts you configured in resin, so people can snoop and see all the railo-enabled sites on that machine.  This might also give a would-be-attacker the info they need to plan a DOS attack, SQL injection attack, etc.. especially since they can see how the server is responding to their attacks.  Pessimistic, I know, but who can you trust on the Internet anymore ?  Kid hackers are emerging just following directions posted online, and some don&apos;t even really know what they are doing, but they are causing trouble for you and I.  Better to be safe.

So the simple fix is to update your httpd.conf file and set the status option to no:

&lt;code&gt;
CauchoStatus no
&lt;/code&gt;

For those so inclined, check out Nessus, an open source vulnerability scanner, which picked this up on one of our servers.
				
				</description>
						
				
				<category>Macintosh</category>				
				
				<category>Open Source</category>				
				
				<category>Railo</category>				
				
				<category>Linux</category>				
				
				<pubDate>Wed, 26 Aug 2009 13:56:00 -0400</pubDate>
				<guid>http://blog.schwabe.net/index.cfm/2009/8/26/Railo-31-Install-on-Linux--Caucho-security-note</guid>
				
			</item>
			
		 	
			</channel></rss>