<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Trunkful.com &lt;cf_gems&gt;</title>
			<link>http://www.trunkful.com/index.cfm</link>
			<description>A ColdFusion blog with some twists. The Twists are BlueDragon and PostgreSQL DB server.  I also specialize in JVM tuning and monitoring.</description>
			<language>en-us</language>
			<pubDate>Sun, 05 Sep 2010 17:21:13 -0500</pubDate>
			<lastBuildDate>Wed, 04 Aug 2010 16:30:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>wilgeno@trunkful.com</managingEditor>
			<webMaster>wilgeno@trunkful.com</webMaster>
			
			
			
			
			
			<item>
				<title>Serving File Downloads with ColdFusion</title>
				<link>http://www.trunkful.com/index.cfm/2010/8/4/Serving-File-Downloads-with-ColdFusion</link>
				<description>
				
				I frequently get asked about providing links to files to be downloaded from ColdFusion websites. Many people will just create a direct link to the file that downloaded such as &quot;myfile.pdf&quot;, but by doing it this way you have no control over how the end user&apos;s browser is going to access that file. Controlling how the end-users browser accesses the file is very simple with ColdFusion. This can be done in ten lines of code or less. And the benefit of doing it this way is you also mask the location on your file server where your downloaded files are stored. Am I doing it this way you could even place these download files outside of the web root for even greater security.

There isn&apos;t much to it just three tags; cfSet, cfHeader and cfContent. Create a new file and name it something like filedownload.cfm and copy the code below into that file and save it. The only thing you should have to do is modify the line that has &quot;[ PATH TO YOUR FILES FOR DOWNLOAD ]&quot; by setting the correct folder path. You should be able to test this by modifying the code that would normally have a link to the file and change the link to call this file and pass is the filename of the file to be downloaded.  The link would should look like something like this: filedownload.cfm?filename=myfile.pdf.

&lt;code&gt;
&lt;cfset folder = &quot;[ PATH TO YOUR FILES FOR DOWNLOAD ]&quot;&gt;
&lt;cfif StructKeyExists(url,&quot;filename&quot;) &amp;&amp; fileExists(folder &amp; filename)&gt;
	&lt;cfset filename = &quot;#url.filename#&quot;&gt;
	&lt;cfset fileInfo = GetFileInfo(folder &amp; filename)&gt;
	&lt;cfset mimeType = getPageContext().getServletContext().getMimeType(folder &amp; filename)&gt;
	&lt;cfheader name=&quot;Content-Disposition&quot; value=&quot;Attachment; filename=#filename#&quot;&gt;
	&lt;cfheader name=&quot;Expires&quot; value=&quot;#Now()#&quot;&gt;
	&lt;cfheader name=&quot;Content-Length&quot; value=&quot;#fileInfo.size#&quot;&gt;
	&lt;cfcontent type=&quot;#mimeType#&quot; file=&quot;#folder##filename#&quot; deletefile=&quot;No&quot;&gt;
&lt;/cfif&gt;
&lt;/code&gt;

&lt;b&gt;So what am I doing here?&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;Checking to make sure a filename was passed and that it exists!&lt;/li&gt;&lt;li&gt;
Getting the file size using getFileInfo.
&lt;/li&gt;&lt;li&gt;Getting the mime type using a little CF mixed with Java.
&lt;/li&gt;&lt;li&gt;Setting the header Content-Disposition. This is critical. By specifying the key word Attachment you will be forcing all browsers to download the file using the default download tool. If you specify &apos;Inline&apos; you can force the browser to try to display the file inside the browser window. Since Internet Explorer can open many MS Office documents in the browser window you need to specify which you want to happen.
&lt;/li&gt;&lt;li&gt;Set the header Expire to now() so the browser will not cache the file.&lt;/li&gt;&lt;li&gt;Specify the length of the content (ie file size) the the browsers download manager can correctly estimate the download time and amount remaining. A nice thing to do for your users when having them download large files.&lt;/li&gt;&lt;li&gt;Delivering the file to the browser using cfContent. This also specifies the file mime type and file name so the browser download manager knows how to handle the file and the name it should use to save the file.&lt;/li&gt;&lt;/ol&gt;

And that is how you should serve up a file to be downloaded using ColdFusion. It&apos;s quick and easy.

&lt;p&gt;&lt;textblock label=&quot;RandomToolsCF9&quot;&gt;&lt;/textblock&gt;&lt;/p&gt;
				
				</description>
						
				
				<category>Random Tools</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 04 Aug 2010 16:30:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/8/4/Serving-File-Downloads-with-ColdFusion</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Get your ColdFusion done here</title>
				<link>http://www.trunkful.com/index.cfm/2010/8/2/Get-your-ColdFusion-done-here</link>
				<description>
				
				Need some ColdFusion coding? Need a CF server installed and configured? Need to figure out why a ColdFusion application or server is crashing? Contact me. I ready for short or long term work and my rates are negotiable. Email me with your ColdFusion needs. 

My full profile is at &lt;a href=&quot;http://www.linkedin.com/in/wilgeno&quot; target=&quot;_new&quot;&gt;linkedIn.com&lt;/a&gt;.

Thirteen plus years of experience in web application development and over eleven years of ColdFusion development and ColdFusion Server administration experience. Experienced in architecting databases using PostgreSQL, MS SQL Server 2005 and MySQL. Some of the technologies I am proficient in include ColdFusion server 7,8 &amp; 9, CFML, CFC, PostgreSQL server, SQL, MySQL, Linux severs, Apache, XHTML/HTML, CSS, XML, and server administration and installation.

Immediately available to do consulting for companies or individuals that need ColdFusion programming or help configuring, tuning or fixing/debugging their ColdFusion server installations. If you need CFML programming or help with your server(s) contact me and we&apos;ll talk about what I can do for you.

Specialties:

ColdFusion programming, ColdFusion server administration, JVM tuning, code tuning, SQL tuning, debugging, consulting, CFML, CFC, programming, ColdFusion Builder, CFEclipse, Linux, Apache, web server administration.

Speaking: Presented one hour talks on writing your own ColdFusion Monitoring tools at the Twin Cities ColdFusion User Group and The Online ColdFusion Meetup.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 02 Aug 2010 17:07:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/8/2/Get-your-ColdFusion-done-here</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>How to CFMAIL Properly and Keep the SPAM in the Can</title>
				<link>http://www.trunkful.com/index.cfm/2010/5/27/How-to-CFMAIL-Properly-and-Keep-the-SPAM-in-the-Can</link>
				<description>
				
				One of the most commonly used ColdFusion tags may also be one of the most misused. I say this because of the ColdFusion code that I&apos;ve seen in production. It appears that a large number people think that all you need to do is open the CFMail tag and type in a to address the from address a subject and then close the tag. And then stuff your email message between the opening and closing tags. People do it this way as this is how they are shown, see the examples below.

&lt;code&gt;

Adobe LiveDocs CF7,8,9:

&lt;cfmail to = &quot;#form.mailto#&quot;
from = &quot;#form.mailFrom#&quot;
subject = &quot;#form.subject#&quot;&gt;
This message was sent by an automatic mailer built with cfmail:
= = = = = = = = = = = = = = = = = = = = = = = = = = =
#form.body#
&lt;/cfmail&gt;

Common blog example found via a typical Google search:

&lt;cfmail
to = &quot;name@yourdomain.com&quot;
from = &quot;name@yourdomain.com&quot;
subject = &quot;Example of CFMail Tag using Coldfusion 5.0&quot;
server = &quot;mail.yourdomain.com&quot;&gt;
Email Message
&lt;/cfmail&gt;

&lt;/code&gt;

While both examples are technically correct and will send an email from your ColdFusion server they all lack what most people are trying to achieve in sending HTML formatted/pretty email messages and messages with attachments. There are precise ways in which the RFC (RFC-822) standard for sending e-mails dictates that these are to be done and ColdFusion allows you to follow the standard exactly. You just need to know how. I am not going to bore you with the RFC standard details, however if you are suffering from insomnia feel free to read them. What I will show you is how to send an HTML formatted email with the proper email message parts and optional file attachments so that it will safely pass most if not all SPAM filter tests and will render properly in mail clients.

The above code would generate email that looked like this when you examine the raw email source.

&lt;code&gt;

Return-Path: &lt;some_address@somedomain.com&gt;
Delivered-To: myaddress@mydomain.com
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on
	mail.mymailserver.com
X-Spam-Level: **
X-Spam-Status: No, score=2.8 required=5.0 tests=HTML_MESSAGE,
	HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,RDNS_NONE autolearn=no version=3.2.4
Message-ID: &lt;1331187905.1191260207349870.JavaMail.root@mail.mymailserver.com&gt;
Date: Mon, 7 Dec 2009 11:35:39 -0600 (CST)
From: John Doe &lt;some_address@somedomain.com&gt;
Reply-To: some_address@somedomain.com
To: myaddress@mydomain.com
Subject: Hows life
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

John Doe,&lt;br&gt;&lt;br&gt;

Just wondering how things are going.

&lt;/code&gt;

Looks good, right? However, there are some issues. There are HTML tags in the body of the message, but there is no text portion of the message. If you notice the header information you will see an item for X-Spam-Status and this indicates a score of 2.8. This score was not high enough yet to dictate that this was SPAM according to this SPAM servers rules (on other email servers it might get flagged as SPAM), but you will notice that the items it flagged were almost all HTML related items such as HTML only. In order to reduce the SPAM score you need to properly format your email messages.
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 27 May 2010 02:30:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/5/27/How-to-CFMAIL-Properly-and-Keep-the-SPAM-in-the-Can</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Thanks Alagad</title>
				<link>http://www.trunkful.com/index.cfm/2010/4/28/Thanks-Alagad</link>
				<description>
				
				The wonderful folks at &lt;a href=&quot;http://www.alagad.com&quot; target=&quot;_blank&quot;&gt;Alagad&lt;/a&gt; had a &lt;a href=&quot;http://www.alagad.com/blog/post.cfm/win-a-free-backpack&quot; target=&quot;_blank&quot;&gt;promotional give away&lt;/a&gt; of three Wenger SwissGear backpacks to help promote &lt;a href=&quot;http://www.alagad.com/blog/post.cfm/what-is-taskforce&quot; target=&quot;_blank&quot;&gt;TaskForce&lt;/a&gt; at &lt;a href=&quot;www.cfobjective.com&quot; target=&quot;_blank&quot;&gt;CF.Objective()&lt;/a&gt;.  &lt;a href=&quot;http://www.alagad.com/blog/post.cfm/backpack-contest-we-have-winners&quot; target=&quot;_blank&quot;&gt;I won one of them!&lt;/a&gt; WooWoo!  Thanks Alagad!
				
				</description>
						
				
				<category>this.Blog</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 28 Apr 2010 11:29:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/4/28/Thanks-Alagad</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion Builder Bug 82358 Fixed</title>
				<link>http://www.trunkful.com/index.cfm/2010/4/13/ColdFusion-Builder-Bug-82358-Fix</link>
				<description>
				
				I just received an email from the ColdFusion Builder developers informing me that a bug I entered (bug# 82358) is fixed. As the snippet of the email below shows the bug fix is in Updater 1. I hope the Updater comes out before the end of my Trial Period. Because I was a beta tester and had the Release Candidate installed I only have 21 days left on my trial version.

I hope the fix was not just increasing the memory allocation in the cfbuilder.ini file. I tried that in the past on Adobe developer recommendations and proved it didn&apos;t help. I do also disagree with the &quot;Easy workaround&quot; since my workaround was to use CFEclipse.

Anyways, this is good news because this was one of the main issues I wasn&apos;t going to buy ColdFusion Builder. I really want to test this now!
				 [More]
				</description>
						
				
				<category>CF Builder</category>				
				
				<pubDate>Tue, 13 Apr 2010 09:39:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/4/13/ColdFusion-Builder-Bug-82358-Fix</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Migrating to ColdFusion Builder from CFEclipse</title>
				<link>http://www.trunkful.com/index.cfm/2010/3/23/Migrating-to-ColdFusion-Builder-from-CFEclipse</link>
				<description>
				
				Many people have been using CFEclipse for several years now and are now migrating to ColdFusion Builder.  Since both are Eclipse based products this is pretty simple, but there are a few things that will not migrate without manual intervention.

First start with installing ColdFusion Builder.  (&lt;a href=&quot;http://www.trunkful.com/index.cfm/2009/7/14/Getting-Started-with-ColdFusion-Builder&quot; target=&quot;_blank&quot;&gt;See this&lt;/a&gt;.)

Next lets import your CFEclipse Projects.  You can do this and it is easy since it is really an Eclipse feature not specific to any add-ons.  Right click in the Navigator view and choose &quot;Import&quot;.  The windows that opens give you many options for what to import. You are going to click and expand the &quot;General&quot;  folder and then choose &quot;Existing Projects into a Workspace&quot; and click the Next Button.

If you are using an SVN and you plan to use an Eclipse SVN plug-in in ColdFusion Builder install that plug in before importing your projects, the import process will automatically reconnect the imported projects to your SVN(s). You will also want to configure the SVN plug-in to access all repositories before you run the imports.
				 [More]
				</description>
						
				
				<category>Random Tools</category>				
				
				<category>CF Builder</category>				
				
				<pubDate>Tue, 23 Mar 2010 14:01:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/3/23/Migrating-to-ColdFusion-Builder-from-CFEclipse</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Adobe ColdFusion Builder Released</title>
				<link>http://www.trunkful.com/index.cfm/2010/3/22/Adobe-ColdFusion-Builder-Released</link>
				<description>
				
				Today Adobe released ColdFusion Builder 1.0. It&apos;s been a long time coming and a lot of people have been patiently waiting for this day.  Unfortunately Adobe should have waited longer and fixed more of the outstanding bugs and painful performance issues.  Then to add to the insult, the price was set at $299 but that does include Flash Builder 4 Standard. However, I still find it way too high of a price for a product that does NOT measure up.  As others will note Flash Builder 4 Standard cost $249 so essentially you are paying $50 for ColdFusion Builder. This is great if you wanted to buy Flash Builder.  Many of us never touch Flash so this is not much of a bargain.   

Then there are performance issues. ColdFusion Builder is painfully slow when it comes to rebuilding project workspaces.  It works fine for little projects, but serious enterprise level web applications with thousands of files and folders, such as what I work on, ColdFusion Builder is just slow or worse yet if just fails and throws errors.  I&apos;ve recorded this as a bug and nothing has been done about the problem as far as I can tell.
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>CF Builder</category>				
				
				<pubDate>Mon, 22 Mar 2010 00:56:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/3/22/Adobe-ColdFusion-Builder-Released</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CFUnited Voting for Topics Ending Today</title>
				<link>http://www.trunkful.com/index.cfm/2010/2/11/CFUnited-Voting-for-Topics-Ending-Today</link>
				<description>
				
				&lt;p&gt;This is another shameless plug by someone wanting to be a speaker at &lt;a target=&quot;_blank&quot; href=&quot;http://cfunited.com/2010/&quot;&gt;CFUnited&lt;/a&gt;.  In case you haven&apos;t been following &lt;a target=&quot;_blank&quot; href=&quot;http://twitter.com/#search?q=cfunited&quot;&gt;#CFUnited&lt;/a&gt; on &lt;a target=&quot;_blank&quot; href=&quot;http://twitter.com&quot;&gt;Twitter&lt;/a&gt; voting for &lt;a target=&quot;_blank&quot; href=&quot;http://cfunited.com/blog/index.cfm/2010/2/8/Topic-Voting-Opens-to-Public&quot;&gt;CFUnited&lt;/a&gt; topics ends today February 12. I have submitted my Homebrewed ColdFusion Monitoring presentation as a topic. If I get enough votes I will teach you how to write your own ColdFusion based monitoring tools so you can monitor your ColdFusion servers. So head on over to the &lt;a target=&quot;_blank&quot; href=&quot;http://cfunited.com/2010/&quot;&gt;CFUnited&lt;/a&gt; website and cast your &lt;a target=&quot;_blank&quot; href=&quot;http://callforspeakers.cfconf.org/?event=vote&amp;amp;eventId=188&quot;&gt;votes&lt;/a&gt; I hope to see you there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;** UPDATE **&lt;/p&gt;
&lt;p&gt;Vote has been extended to February 20th - so get over there and vote...&amp;nbsp; for me ;-)&lt;/p&gt;
				
				</description>
						
				
				<category>this.Blog</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 11 Feb 2010 23:00:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2010/2/11/CFUnited-Voting-for-Topics-Ending-Today</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Adobe ColdFusion Builder Beta 3 Released</title>
				<link>http://www.trunkful.com/index.cfm/2009/12/17/Adobe-ColdFusion-Builder-Beta-3-Released</link>
				<description>
				
				&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://labs.adobe.com/technologies/coldfusionbuilder/&quot;&gt;Adobe Labs&lt;/a&gt; has released ColdFusion Builder Public Beta 3.&amp;nbsp; One of the first things you will notice is they upgraded the code version of Eclipse to 3.5.1 Galileo.&amp;nbsp; For me this was good news since in my normal Eclipse build I&amp;rsquo;ve switched from the Subclipse plug-in to Subversive which is now part of the Eclipse project, as my SVN client. All you need to do is add the Galileo Update Site (&lt;em&gt;http://download.eclipse.org/releases/galileo&lt;/em&gt;). Then select Collaboration --&amp;gt; Subversive SVN Team Provider.&amp;nbsp; You can also choose to select the Subversive SVN Integration for the Mylyn Project at the same time.&lt;/p&gt;
&lt;p&gt;If you read the docs, and I really suggest you do, you will notice Adobe also added full AIR development support. &lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve also noticed a fair amount of improvement in the startup time on both my Mac and my pathetic Windows computer at work. &lt;/p&gt;
&lt;p&gt;Also new in Beta 3 is the Adobe Community Help AIR application Beta.&amp;nbsp; Select Help --&amp;gt; ColdFusion Builder Help to launch the AIR application.&amp;nbsp; In addition to being able to search the local help documents it appears this is an AIR application that is a proxy to Adobe LiveDocs and ColdFusion Blogs that are aggregated via Adobe Feeds (&lt;a href=&quot;http://feeds.adobe.com/&quot; target=&quot;_blank&quot;&gt;http://feeds.adobe.com/&lt;/a&gt;) including my blog.&amp;nbsp; The search interface automatically brings up related content from the Adobe help docs and blogs. This makes it much easier to search on a general topic rather than just searching for various CF tags or functions.&lt;/p&gt;
&lt;p&gt;So far Beta 3 is looking pretty good. There are still bugs and you can report the bugs you find using the public bug tracker &lt;a href=&quot;http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html&quot; target=&quot;_blank&quot;&gt;http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;That&apos;s all for now.&lt;/p&gt;
				
				</description>
						
				
				<category>CF Builder</category>				
				
				<pubDate>Thu, 17 Dec 2009 11:35:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/12/17/Adobe-ColdFusion-Builder-Beta-3-Released</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Homebrewed ColdFusion Monitor Presentation Files</title>
				<link>http://www.trunkful.com/index.cfm/2009/12/10/Homebrewed-ColdFusion-Monitor-Presentation-Files</link>
				<description>
				
				&lt;p&gt;Recently I presented Homebrewed ColdFusion Monitoring to the Twin Cities CFUG and to the Online ColdFusion Meetup. &amp;nbsp;Both presentations went well and I&apos;ve been asked to post my slides and example code.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;Attached to this post is a zip file that contains a PDF version of my slides and the example code plus the CFC I&apos;m using to make a full featured monitoring application. &amp;nbsp;Please note that the code is for CF9 Enterprise. &amp;nbsp;There may be some things that won&apos;t work in earlier versions of CF or the standard edition of CF.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;The recording for my live presentation is at &lt;a href=&quot;http://experts.na3.acrobat.com/p34004904/&quot; target=&quot;_blank&quot;&gt;http://experts.na3.acrobat.com/p34004904/ &lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Enjoy and watch RIAForge. &amp;nbsp;I am planning to release this application to the ColdFusion Community for collaborative development.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thank you to all that attended the presentations and for your wonderful feedback.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Wil&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;p&gt;*UPDATE* - I just uploaded a new zip file with corrected code that actually works this time.&lt;/p&gt;
&lt;textblock label=&quot;RandomTools&quot;&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>JVM Tuning</category>				
				
				<category>Random Tools</category>				
				
				<category>this.Blog</category>				
				
				<pubDate>Thu, 10 Dec 2009 17:01:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/12/10/Homebrewed-ColdFusion-Monitor-Presentation-Files</guid>
				
				<enclosure url="http://www.trunkful.com/enclosures/HomebrewedColdFusionMonitoring.zip" length="7257998" type="application/zip"/>
				
			</item>
			
		 	
			
			
			<item>
				<title>Homebrewed ColdFusion Monitoring at the Online ColdFusion Meetup</title>
				<link>http://www.trunkful.com/index.cfm/2009/12/8/Homebrewed-ColdFusion-Monitoring-at-the-Online-ColdFusion-Meetup</link>
				<description>
				
				&lt;p&gt;
&lt;meta http-equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 3.1  (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt;
	&lt;!--
		@page { margin: 0.79in }
		P { margin-bottom: 0.08in }
	--&gt;
	&lt;/style&gt;    &lt;/meta&gt;
&lt;/meta&gt;
&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;meta http-equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 3.1  (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt;
	&lt;!--
		@page { margin: 0.79in }
		P { margin-bottom: 0.08in }
		A:link { so-language: zxx }
	--&gt;
	&lt;/style&gt;     &lt;/meta&gt;
&lt;/meta&gt;
&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;I am excited to announce that I&apos;ve been invited to speak on December 10th at 6pm CST about writing your own ColdFusion monitoring tools at the Online ColdFusion Meetup that is run by Charlie Arehart.&amp;nbsp; Below is part of the announcement and links to the Meetup site and meeting URL.&amp;nbsp; If you missed the presentation I gave at the TwinCites CFUG or just want to see it again, please join us for this Meetup.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Wil&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What&lt;/b&gt;: &amp;quot;Homebrewed ColdFusion Monitoring &amp;quot;, with Wil Genovese&lt;br /&gt;
&lt;b&gt;WHEN:&lt;/b&gt; Thurs. Dec 10, 6:00pm US ET (UTC/GMT-5) &lt;br /&gt;
&lt;b&gt;MEETING URL:&lt;/b&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://experts.acrobat.com/cfmeetup/&quot;&gt;http://experts.acrobat.com/&lt;wbr&gt;&lt;/wbr&gt;cfmeetup/&lt;/a&gt; &lt;br /&gt;
DURATION: Approx. 1 hour&lt;br /&gt;
&lt;b&gt;Meeting will be recorded.&lt;/b&gt;  URL will be posted after meeting at &lt;a target=&quot;_blank&quot; href=&quot;http://recordings.coldfusionmeetup.com/&quot;&gt;http://recordings.&lt;wbr&gt;&lt;/wbr&gt;coldfusionmeetup.com&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.timeanddate.com/worldclock/fixedtime.html?year=2009&amp;amp;month=12&amp;amp;day=10&amp;amp;hour=18&amp;amp;min=00&amp;amp;sec=0&amp;amp;p1=25&quot;&gt;What time is the meeting in your timezone?&lt;/a&gt;&lt;/b&gt; (shows the time as US ET, and you can choose your city from the list offered to see what time that is in your own timezone)&lt;br /&gt;
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>JVM Tuning</category>				
				
				<category>this.Blog</category>				
				
				<pubDate>Tue, 08 Dec 2009 09:02:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/12/8/Homebrewed-ColdFusion-Monitoring-at-the-Online-ColdFusion-Meetup</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>RegEx IP Address Validation</title>
				<link>http://www.trunkful.com/index.cfm/2009/10/28/RegEx-IP-Address-Validation</link>
				<description>
				
				&lt;p&gt;RegEx IP Address Validation&lt;/p&gt;
&lt;p&gt;I recently had a project at work where I had to add in some strict IP Address validation and restrictions.  We are being required to prevent end users from entering certain IP addresses or ranges.  This is a perfect task for Regular Expressions.  I am not an expert in RegEx, but I can get out basic RegEx expressions.  The first thing I did was search around the net to see if there were expressions already done for IP addresses.  There are, but not entirely what I needed.  The best I could find were expressions to validate the IP address to ensure it is valid.  I didn&apos;t find anything to test for certain ranges of IP Addresses.  Since I can hack at RegEx a bit I took the expression I found to validate the IP address and made modifications to do the tests I needed.  These are the Regular Expressions I hacked up to do the validation and restrictions.&lt;/p&gt;
&lt;p&gt;We were required to block these IP addresses or ranges.&lt;/p&gt;
&lt;code&gt;
0.0.0.0
127.0.0.1
255.255.255.255
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
&lt;/code&gt;
				 [More]
				</description>
						
				
				<category>Random Tools</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 28 Oct 2009 14:38:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/10/28/RegEx-IP-Address-Validation</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Homebrewed ColdFusion Monitor at Twin Cities CFUG</title>
				<link>http://www.trunkful.com/index.cfm/2009/10/17/Homebrewed-ColdFusion-Monitor-at-Twin-Cities-CFUG</link>
				<description>
				
				&lt;p&gt;Sitting at &lt;a href=&quot;http://www.chrisandrobs.com&quot; target=&quot;_blank&quot;&gt;Chris &amp;amp; Rob&apos;s Chicago&apos;s Taste Authority in St. Paul, MN&lt;/a&gt; sipping a Goose Island 312 wheat beer, eating a couple of Chicago dogs and preparing my presentation for Homebrewed ColdFusion Monitoring.&amp;nbsp; I am happy to say the Twin Cities ColdFusion User Group (&lt;a href=&quot;http://www.colderfusion.com&quot; target=&quot;_blank&quot;&gt;http://www.colderfusion.com&lt;/a&gt;) has asked me to talk about the ColdFusion Monitoring tools I&apos;ve written and use at work. I&apos;ve just accepted their invitation to present and I hope to see you there.&lt;br /&gt;
&lt;br /&gt;
I will be updating these tools for ColdFusion 9 and I hope to have a basic standalone app ready to go by the time I give my presentation.&amp;nbsp; (The version I wrote for work is custom for our servers and not portable.)&lt;br /&gt;
&lt;br /&gt;
The Twin Cities CFUG meets the first Wednesday of every month. This meeting will be on November 4th at 6:30 pm with pizza and socializing at 6:00pm.&lt;br /&gt;
&lt;br /&gt;
See you there!&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>JVM Tuning</category>				
				
				<category>this.Blog</category>				
				
				<pubDate>Sat, 17 Oct 2009 19:04:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/10/17/Homebrewed-ColdFusion-Monitor-at-Twin-Cities-CFUG</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion 9 on Snow Leopard</title>
				<link>http://www.trunkful.com/index.cfm/2009/10/17/ColdFusion-9-on-Snow-Leopard</link>
				<description>
				
				&lt;p&gt;Recently I &lt;a href=&quot;http://www.trunkful.com/index.cfm/2009/8/30/ColdFusion-8-Server-on-Snow-Leopard&quot;&gt;posted about upgrading my Mac Book Pro to Snow Leopard&lt;/a&gt; and then getting my already installed ColdFusion 8 running again. I basically had to reconnect CF8 to Apache and reconfigure my Apache settings since the Snow Leopard upgrade wiped them out.&lt;br /&gt;
&lt;br /&gt;
Many people had problems or could not even install CF8 on Snow Leopard. The installer didn&apos;t even run for many people.&amp;nbsp; Since then Adobe has released &lt;a href=&quot;http://www.adobe.com/products/coldfusion/?promoid=BQSVB&quot; target=&quot;_blank&quot;&gt;ColdFusion 9&lt;/a&gt;.&amp;nbsp; It&apos;s shiny and new and oh so fast.&amp;nbsp; So at last weeks Twin Cities CFUG (&lt;a href=&quot;http://www.colderfusion.com&quot; target=&quot;_blank&quot;&gt;http://www.colderfusion.com&lt;/a&gt;) I uninstalled CF8 and installed CF9.&lt;br /&gt;
&lt;br /&gt;
It was pretty straight forward with no issues other than me entering the wrong web root path (doh!).&amp;nbsp; I downloaded the OSX 64 bit version and ran the installer.&lt;br /&gt;
&lt;br /&gt;
I chose to install the Developer Edition and I chose to use the J2EE installation method.&amp;nbsp; I also opted not to install the component to connect CF9 to OpenOffice.&amp;nbsp; I use OpenOffice all the time, but I absolutely refuse to install desktop software on production servers.&amp;nbsp; I don&apos;t plan to use any of those features.&amp;nbsp; Sorry Adobe, you&apos;re just going to have to find a better way to implement creation and reading of office documents.&lt;br /&gt;
&lt;br /&gt;
That&apos;s all really. Enjoy ColdFusion 9 on Snow Leopard&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Sat, 17 Oct 2009 17:38:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/10/17/ColdFusion-9-on-Snow-Leopard</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion 8 Server on Snow Leopard</title>
				<link>http://www.trunkful.com/index.cfm/2009/8/30/ColdFusion-8-Server-on-Snow-Leopard</link>
				<description>
				
				&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;Last night I upgraded my MacBook Pro from Leopard to Snow Leopard.&amp;nbsp; I used the upgrade method instead of the clean install.&amp;nbsp; So far I cannot tell that anything is different.&amp;nbsp; This really does look and feel like an under the hood upgrade.&amp;nbsp; At this point I have not dug into Snow Leopard UI changes, but I have been testing software.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;I&apos;ve had ColdFusion 8 server Developer edition installed on my MacBook Pro for a long time.  After running the Snow Leopard upgrade ColdFusion server started just fine, but it was no longer connected to my Apache installation.  I did remember to backup my httpd-vhosts.conf file, but I neglected to backup the main httpd.conf file.  A nice side note is my /etc/hosts file was preserved by the Snow Leopard upgrade, but I was prepared with a back up just in case.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;So I had to replace my httpd-vhosts.conf file with my backup copy.  Once Apache restarted I was able to access my web root which is also my ColdFusion Builder / CFEclipse workspace folder.  However, as feared ColdFusion server is no longer connected to Apache. &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;So I started searching the web to figure out how to reconnect ColdFusion server to Apache.  A big thanks to Geoff Bowers at the &lt;a href=&quot;http://blog.daemon.com.au/go/blog-post/how-to-install-coldfusion-8-on-leopard-osx&quot; target=&quot;_blank&quot;&gt;daemonite blog&lt;/a&gt; for a detailed blog post with step by step instructions.  The step that starts with &amp;ldquo;Open a terminal window and compile a new JRun &amp;quot;web connector&amp;quot;. Type in the following verbatim, each point on its own line (hitting enter after each line):&amp;rdquo; is the step where I started in order to get ColdFusion reconnected to Apache. &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;Note: &lt;/font&gt;&lt;em&gt;&lt;font size=&quot;3&quot;&gt;I already had Xcode installed due to my use of MacPorts and PostgreSQL. If you do not already have Xcode installed you will need to do that before following the instructions to compile the Apache connector.  You can find the new Xcode installation package on the Snow Leopard DVD.  This will save you from the 1Gb download.&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;I tried the manual restarts like they did with no luck and I actually had to completely reboot my MacBook Pro to complete the process. Upon reboot my ColdFusion Administrator was working and my local CF code was working.  A huge plus with getting ColdFusion working this way is that all my settings, mappings, datasources etc were saved.  If you do have to reinstall ColdFusion from scratch you should copy the neo-datasource.xml and neo-runtime.xml files so you can restore your settings.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font face=&quot;TimesNewRomanPSMT, serif&quot;&gt;&lt;font size=&quot;3&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;Happy ColdFusioning on Snow Leopard!&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Sun, 30 Aug 2009 17:46:00 -0500</pubDate>
				<guid>http://www.trunkful.com/index.cfm/2009/8/30/ColdFusion-8-Server-on-Snow-Leopard</guid>
				
			</item>
			
		 	
			</channel></rss>