<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Architecture, Web Production, Web Marketing &#187; ColdFusion</title>
	<atom:link href="http://www.usercore.com/category/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usercore.com</link>
	<description>Matt MacDougall - attempting to grok users, management, marketing, linux, subversion, coldfusion, os x and web geekery</description>
	<lastBuildDate>Thu, 03 Jun 2010 16:24:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PDFFileNotFoundException Inside IsPDFFile and IsPDFObject</title>
		<link>http://www.usercore.com/pdffilenotfoundexception-inside-ispdffile-and-ispdfobject/</link>
		<comments>http://www.usercore.com/pdffilenotfoundexception-inside-ispdffile-and-ispdfobject/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 15:36:48 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.usercore.com/?p=69</guid>
		<description><![CDATA[I&#8217;m having a heck of a time using pdf document variables in CF 8.0.1 on Mac OS X 10.5 and Redhat Linux ES 5.  Those are the only platforms I have to test cf with so perhaps this is a windows issue as well.
From Adobe&#8217;s IsPDFObject documentation, I&#8217;ve taken their example of reading in a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having a heck of a time using pdf document variables in CF 8.0.1 on Mac OS X 10.5 and Redhat Linux ES 5.  Those are the only platforms I have to test cf with so perhaps this is a windows issue as well.</p>
<p>From Adobe&#8217;s IsPDFObject documentation, I&#8217;ve taken their example of reading in a file as a pdf object and writing it out.  I&#8217;ve even gone the extra step of making sure cf thinks the input file is a valid pdf.</p>
<p><code><br />
&lt;cfif IsPDFFile("filein.pdf")&gt;<br />
&lt;cfpdf source="filein.pdf" action="read" name="myPDFform"/&gt;<br />
&lt;cfif IsPDFObject(myPDFform)&gt;<br />
&lt;cfpdf source=#myPDFform# action="write" destination = "fileout.pdf"&gt;<br />
&lt;cfelse&gt;<br />
&lt;p&gt;This is not a PDF.&lt;/p&gt;<br />
&lt;/cfif&gt;<br />
&lt;/cfif&gt;<br />
</code></p>
<p>CF thinks the file is a pdf, it reads the file, it thinks the pdf document variable is valid, then when it tries to write, I get an error:</p>
<p><code><br />
The file or directory (/Library/WebServer/Documents/coldfusion.pdf.PDFDocWrapper@1547134d) specified in the source attribute in the CFPDF tag does not exist.</code></p>
<p><code>The error occurred in /Library/WebServer/Documents/test.cfm: line 4</code></p>
<p><code>2 :     &lt;cfpdf source="filein.pdf" action="read" name="myPDFform"/&gt;<br />
3 :     &lt;cfif IsPDFObject(myPDFform)&gt;<br />
4 :         &lt;cfpdf source=#myPDFform# action="write" destination = "fileout.pdf"&gt;<br />
5 :     &lt;cfelse&gt;<br />
6 :         &lt;p&gt;This is not a PDF.&lt;/p&gt;</code></p>
<p>Given where CF seems to be generating a temp file I could see this being a problem on my Linux box where cf can&#8217;t write to the webroot.  That would not be a problem on my local dev environment though where I can write to the webroot.  On both machines I can successfully access pdf files themselves and write to different files to add watermarks, get and set info, etc.  I just cannot work with the pdf document variable at all.  The last pdf file I tested with here was the CF 8.0.1 release notes from Adobe at around 250k.</p>
<p>When I get a solution to this issue, I&#8217;ll post it.  If anyone has any thoughts here I&#8217;m all ears.  Hopefully someone can point out that I&#8217;m doing something stupid and share a correction.  Otherwise I&#8217;ll submit a bug to Adobe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/pdffilenotfoundexception-inside-ispdffile-and-ispdfobject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mate a Tag-based Event-driven Flex Framework</title>
		<link>http://www.usercore.com/mate-a-tag-based-event-driven-flex-framework/</link>
		<comments>http://www.usercore.com/mate-a-tag-based-event-driven-flex-framework/#comments</comments>
		<pubDate>Sun, 04 May 2008 14:46:35 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/05/04/mate-a-tag-based-event-driven-flex-framework/</guid>
		<description><![CDATA[I&#8217;m new to Flex but still enjoyed the Mate framework presentation from Laura at asfusion.com.  I know that I need to think ahead of time how I&#8217;m going to organize all the events in my application.   This could simply be a design pattern.  The Mate framework has the idea of an Event Map to organize [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m new to Flex but still enjoyed the Mate framework presentation from Laura at asfusion.com.  I know that I need to think ahead of time how I&#8217;m going to organize all the events in my application.   This could simply be a design pattern.  <a href="http://mate.asfusion.com" target="_blank">The Mate framework has the idea of an Event Map to organize events in a central location</a>.  Larger applications with multiple function sets can have multiple event maps.  I like how Mate and the Event Maps are organized.  I don&#8217;t feel like there would be much of an additional learning curve to start using Mate.  It looks pretty lightweight too.</p>
<p>If you&#8217;re looking into Flex, Mate is worth a look.  The site is well organized and has solid documentation so far.  This alpha version of Mate has well written, <a href="http://mate.asfusion.com/page/documentation" target="_blank">clear documentation</a> and an <a href="http://mate.asfusion.com/api_docs" target="_blank">api reference</a><a href="http://mate.asfusion.com/page/documentation" target="_blank"></a>.  The documentation for users of many frameworks and apps is clearly an afterthought.  I really appreciate the Mate team spending time on their docs.  Additionally, I&#8217;ve enjoyed hacking up the <a href="http://mate.asfusion.com/page/examples/flickr-book" target="_blank">FlickrBook example app</a> to get a good idea for what&#8217;s going on with Mate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/mate-a-tag-based-event-driven-flex-framework/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>cfvideo tag for cf9</title>
		<link>http://www.usercore.com/cfvideo-tag-for-cf9/</link>
		<comments>http://www.usercore.com/cfvideo-tag-for-cf9/#comments</comments>
		<pubDate>Sun, 04 May 2008 05:21:33 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/05/03/cfvideo-tag-for-cf9/</guid>
		<description><![CDATA[cfvideo scenes
I think the idea of a cfvideo tag would be a solid feature for the future.  In particular I&#8217;ve wanted to be able to pull off something with streaming video like is done on ted.com.  The overlay at the bottom of each video that shows scene markings is very useful.  It [...]]]></description>
			<content:encoded><![CDATA[<h3>cfvideo scenes</h3>
<p>I think the idea of a cfvideo tag would be a solid feature for the future.  In particular I&#8217;ve wanted to be able to pull off something with streaming video like is done on <a href="http://www.ted.com" target="_blank">ted.com</a>.  The overlay at the bottom of each video that shows scene markings is very useful.  It would be nice if as a developer or content producer if all I needed for navigation within a video were timecodes and optional chapter/scene titles.</p>
<h3>cfvideo subtitles</h3>
<p>I have a use right now for being able to programatically add subtitle overlays to video files.  The <a href="http://www.anatomyofchristianity.org" target="_blank">anatomyofchristianity.org wordpress blog</a> I developed has flash videos that I would like to integrate Bible references into at specific times.  I already need to make a list of the timecodes and references.  If I could just take that list and feed it into a script, that would save me tons of time of using Final Cut for busy work.</p>
<h3>cfvideo tag for lazy amateur editors</h3>
<p>Storage is cheap, bandwidth is cheap, cameras are cheap.  By the time CF9 is released, the cost of storage, bandwidth and cameras will open up working with video to a huge market.  Video files will only get bigger and more irrelevant.  Something like the iMovie 08 takes a step at making simple editing for lazy amateur editors but that&#8217;s still too much for some people.  Being able to have a cfvideo tag that could make cuts, even if they were non destructive for performance enhancement could go a long way in making some cool webapps.</p>
<h3>cfvideo transcoding with user specified tools</h3>
<p>I don&#8217;t think adobe would be able to provide a solid transcoding product without getting into a nightmare of licensing issues.  Maybe I&#8217;m wrong.  It would be nice to just specific some arguments and point cfvideo to ffmpeg for example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/cfvideo-tag-for-cf9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CF9 Centaur Feature Requests</title>
		<link>http://www.usercore.com/cf9-centaur-feature-requests/</link>
		<comments>http://www.usercore.com/cf9-centaur-feature-requests/#comments</comments>
		<pubDate>Sun, 04 May 2008 05:02:43 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/05/03/cf9-centaur-feature-requests/</guid>
		<description><![CDATA[Here&#8217;s some notes I took from the cfObjective community giving feature requests to the Adobe team for ColdFusion 9.  This list is incomplete.  Some requests were hard to catch and I came in a bit late.  But here&#8217;s a bunch that were talked about.  I&#8217;m bolding items I felt were particularly [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some notes I took from the cfObjective community giving feature requests to the Adobe team for <strong>ColdFusion 9</strong>.  This list is incomplete.  Some requests were hard to catch and I came in a bit late.  But here&#8217;s a bunch that were talked about.  I&#8217;m bolding items I felt were particularly well received.  Of course, this is totally subjective.</p>
<ul>
<li>parse action script 3 natively within coldfusion (compile it into java) &#8230; there was passionate discussion here, in my opinion though it seems very difficult and something that wouldn&#8217;t provide enough short term profit for the effort.  I could be missing the big picture though.</li>
<li><strong>ability to throw exceptions in cfscript</strong></li>
<li><strong>cfscript should do all of the language construct</strong></li>
<li>ktml support for rich text editor &#8230; <a href="http://www.interaktonline.com/Products/Online-HTML-Editor/KTML-for-Dreamweaver/EOL/">ktml sounds doubtful as this is a retired product</a></li>
<li>ability to flatten pdf forms, so forms can be created, sent to customer and customers cannot edit.</li>
<li>add &lt;cffinally&gt; tag as in try, catch, finally</li>
<li>transaction managers for nested transactions</li>
<li><strong>a packaging system to easily distribute cf apps as single file</strong>, like java has jar files</li>
<li>tags that generate html would have the capability to use html 4.01 strict not just xhtml</li>
<li><strong>compress javascript files</strong></li>
<li><strong>cfhtmlfoot tag to write content immediately before closing html tag</strong></li>
<li>onrequstend that stops breaking cfcs &#8230; I may have misheard this one</li>
<li><strong>trusted cache and turn it on or off per application</strong></li>
<li><strong>being able to cache parts of a page only</strong></li>
<li><strong>ability to strip down whitespace so html is a single line, aggressive whitespace management</strong></li>
<li>name elements by attributes and be able to clear specific elements in cache</li>
<li>be able to cache something until change</li>
<li>better dealing with null values</li>
<li>info in server monitor about unit tests of code to show code quality to management</li>
<li>ability to script to photoshop, indesign</li>
<li>hibernate, jpa, <strong>orm integration</strong></li>
<li><strong>cfvideo tag like cfimage, ability to add chapters or cut longer video into clips</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/cf9-centaur-feature-requests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Monkey Hard Word Wrap or Selection Wrap in Eclipse</title>
		<link>http://www.usercore.com/eclipse-monkey-hard-word-wrap-or-selection-wrap-in-eclipse/</link>
		<comments>http://www.usercore.com/eclipse-monkey-hard-word-wrap-or-selection-wrap-in-eclipse/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 17:24:03 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/03/11/eclipse-monkey-hard-word-wrap-or-selection-wrap-in-eclipse/</guid>
		<description><![CDATA[The word wrap and selection wrap support in Eclipse leaves a bit to be desired.  The biggest problem for me is that I can&#8217;t remember how to do even do it in a default install.  I think there&#8217;s something in the editor config but it&#8217;s difficult to find and I always forget where [...]]]></description>
			<content:encoded><![CDATA[<p>The word wrap and selection wrap support in Eclipse leaves a bit to be desired.  The biggest problem for me is that I can&#8217;t remember how to do even do it in a default install.  I think there&#8217;s something in the editor config but it&#8217;s difficult to find and I always forget where it is.</p>
<p>I recently found this script for <a href="http://www.aptana.com/docs/index.php/Wrapping_selected_text" title="Eclipse Monkey Wrap Text">Wrapping Text using Eclipse Monkey</a>.  It&#8217;s some simple javascript that does hard wrapping around a certain number of characters per line.  It pays attention to words and will insure that your lines never go beyond a particular column width.</p>
<p>This solution works for my particular needs of having to past in some content from Firefox into html files in Eclipse.  Firefox doesn&#8217;t pay attention to the line brakes in the copying process so I end up getting some huge, ugly looking lines in Eclipse.  For html output, the hard wrap of lines, with a return after each line is fine.  If you&#8217;re using the CFEclipse plugin for Eclipse, there&#8217;s an icon in the tool bar that allows for soft wrapping of the text.  This is really the best way to go for non-destructive wrapping.  But that does assume you&#8217;re using CFEclipse and in that view.  Outside of that, this script using the Eclipse Monkey plugin is a big help.</p>
<p><a href="http://www.eclipse.org/dash/" title="Eclipse Monkey - Project Dash">Eclipse Monkey, Project Dash</a> is sweet.  It basically allows you to build plugins into the Eclipse interface using javascript, offering clean menu integration and hotkey support right out of the box.  I&#8217;ve spent all of 10 minutes thusfar with Eclipse Monkey, have installed this word wrap script and already have some other ideas of scripts I could pull off quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/eclipse-monkey-hard-word-wrap-or-selection-wrap-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Improving MySQL Connections in ColdFusion Administrator</title>
		<link>http://www.usercore.com/improving-mysql-connections-in-coldfusion-administrator/</link>
		<comments>http://www.usercore.com/improving-mysql-connections-in-coldfusion-administrator/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 05:19:03 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2008/02/04/improving-mysql-connections-in-coldfusion-administrator/</guid>
		<description><![CDATA[In tuning a server I came across an interesting note in this MySQL Optimization presentation on the mysql site.
If you run the client and MySQL server on the same machine, use sockets   instead of TCP/IP when connecting to MySQL (this can give you up to a 7.5 % improvement).  You can do [...]]]></description>
			<content:encoded><![CDATA[<p>In tuning a server I came across an interesting note in <a href="http://dev.mysql.com/tech-resources/presentations/presentation-oscon2000-20000719/" title="Optimizing MySQL" target="_blank">this MySQL Optimization presentation on the mysql site</a>.</p>
<blockquote><p>If you run the client and MySQL server on the same machine, use sockets   instead of TCP/IP when connecting to MySQL (this can give you up to a 7.5 % improvement).  You can do this by specifying no hostname or <code>localhost</code> when connecting to the MySQL server.</p></blockquote>
<p>In setting up this server, I thought I had a good idea in setting all the hostnames in the data source connections to 127.0.0.1.  I assumed the server wouldn&#8217;t have to do the extra translation of a hostname to an ip address.  Sure enough it looks like this does more harm than good by forcing a tcp connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/improving-mysql-connections-in-coldfusion-administrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 JRun Interface for OS X VMware Fusion</title>
		<link>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/</link>
		<comments>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 05:16:56 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/12/05/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/</guid>
		<description><![CDATA[I&#8217;ve got CF8 running in single server mode on my MacBook.  I also recently installed VMware Fusion for virtual machine support.  Running virtual machines creates separate lan networks on your system which can raise some networking issues with things like vpn&#8217;s and servers you may run that broadcast to all available ip addresses. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got CF8 running in single server mode on my MacBook.  I also recently installed VMware Fusion for virtual machine support.  Running virtual machines creates separate lan networks on your system which can raise some networking issues with things like vpn&#8217;s and servers you may run that broadcast to all available ip addresses.  JRun for running ColdFusion turned out to be one such problem server.</p>
<p>By default JRun tries to broadcast itself to all available ip addresses.  You can verify your setup by checking your jrun.xml file around line 385.</p>
<p><code>&lt;attribute name="deactivated"&gt;false&lt;/attribute&gt;</code><br />
<code>&lt;attribute name="interface"&gt;*&lt;/attribute&gt;</code><br />
<code>&lt;attribute name="port"&gt;51800&lt;/attribute&gt;</code></p>
<p>That star tells jrun to broadcast itself to all ip addresses hooked up on the machine.   I&#8217;ve even seen it crash trying to broadcast to a fake ip assigned to the firewire port (think that one&#8217;s an Apple bug).</p>
<p>Anyway, there&#8217;s really no need for most of us to broadcast to anything but 127.0.0.1, your localhost.  So change that star to 127.0.0.1 so that the complete line reads:</p>
<p><code>&lt;attribute name="interface"&gt;127.0.0.1&lt;/attribute&gt;</code></p>
<p>Hopefully this will save you a headache, if not now than in the future if you start adding networks to your machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-jrun-interface-for-os-x-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 and Plesk 8 on RedHat 5 via mod_jrun22</title>
		<link>http://www.usercore.com/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/</link>
		<comments>http://www.usercore.com/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 15:33:43 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Server Architecture]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/10/19/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/</guid>
		<description><![CDATA[After installing Plesk 8 on a RedHat 4 box I&#8217;ve needed to install Plesk 8 on Redhat 5.  RedHat 5 uses mod_jrun22.  Well it&#8217;s Apache 2.2 that uses mod_jrun22, so any version of Linux running Apache 2.2 will use this connector.
Since Plesk doesn&#8217;t support CF8 yet, it still writes out its apache directives looking for [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/" title="Plesk 8 on RedHat 4">installing Plesk 8 on a RedHat 4 box</a> I&#8217;ve needed to install Plesk 8 on Redhat 5.  RedHat 5 uses mod_jrun22.  Well it&#8217;s Apache 2.2 that uses mod_jrun22, so any version of Linux running Apache 2.2 will use this connector.</p>
<p>Since Plesk doesn&#8217;t support CF8 yet, it still writes out its apache directives looking for mod_jrun20.  This needs to be modified to get per domain support for CF8 and Apache 2.2</p>
<p>Warning this will void your warranty!</p>
<p>I grepped the plesk install directory looking for mentions of jrun.  I found a binary file that matched: /usr/local/psa/admin/sbin/websrvmng</p>
<p>Looking at this file, on line 228 there&#8217;s a mention of mod_jrun20 in plain text.  This is the part of the websrvmng that writes out the http directives.  After making a backup of this file I took a chance at making an edit.  I simply changed mod_jrun20 to mod_jrun22 and saved the file.</p>
<p>Sure enough, plesk is happy.  Now when checking the ColdFusion box in a domain setup I see &lt;IfModule mod_jrun22.c&gt; in the httpd.include file for that domain rather than &lt;IfModule mod_jrun20.c&gt;.</p>
<p>Be careful here, I&#8217;m sure this change would not survive a plesk update to websrvmng.  After each plesk update double check this file to make sure it still points to mod_jrun22.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-and-plesk-8-on-redhat-5-via-mod_jrun22/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 and Plesk 8 on Red Hat ES 4</title>
		<link>http://www.usercore.com/coldfusion-8-and-plesk-8-on-red-hat-es-4/</link>
		<comments>http://www.usercore.com/coldfusion-8-and-plesk-8-on-red-hat-es-4/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 14:18:52 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Server Architecture]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/</guid>
		<description><![CDATA[By default the Plesk control panel does not work with ColdFusion 8 yet.  It sounds like official support will be available in Q1 of &#8216;08.  I couldn&#8217;t wait that long.  I&#8217;ve been able to get Plesk 8 to work with ColdFusion 8 to a degree.
I assume you&#8217;re familiar with how to install [...]]]></description>
			<content:encoded><![CDATA[<p>By default the Plesk control panel does not work with ColdFusion 8 yet.  It sounds like official support will be available in Q1 of &#8216;08.  I couldn&#8217;t wait that long.  I&#8217;ve been able to get Plesk 8 to work with ColdFusion 8 to a degree.</p>
<p>I assume you&#8217;re familiar with how to install both separately so I&#8217;ll just be going over how to get both to play together.</p>
<p>In my world the Plesk control panel is just used simply used so that staff in our small software company can manage websites and not need to use a shell.  No one else even has access to Plesk.  Because of this, separation and security are not primary concerns.  Also, I have no need to let anyone or myself manage CF DSN&#8217;s from within Plesk, being able to do this in CF Admin is fine.</p>
<p>So what I&#8217;ve done is enable the ColdFusion checkbox used when setting up a website so that CF code can be used on a particular website.  Any ColdFusion management capabilities of Plesk are not enabled.</p>
<p><code>[root@yadda]# /usr/local/psa/bin/cfsetting -s /opt/coldfusion8<br />
I/O warning : failed to load external entity "/opt/coldfusion8/runtime/servers/default/SERVER-INF/jrun.xml"<br />
Config not parsed successfully.</code></p>
<p>Running that cfsetting command with the -s switch and the cf root from the commandline showed me an error plesk was running into.  I found jrun.xml in a different place.</p>
<p><code>/opt/coldfusion8/runtime/servers/coldfusion/SERVER-INF/jrun.xml</code></p>
<p>Since I think jrun.xml should be pretty much the same from CF7 to CF8, I&#8217;m going to just try pointing Plesk to the right place with a simlink.</p>
<p><code>cd /opt/coldfusion8/runtime/servers/ &amp;&amp; ln -s coldfusion default</code></p>
<p>Now I run the cfsetting command again.</p>
<p><code>/usr/local/psa/bin/cfsetting -s /opt/coldfusion8</code></p>
<p>Now I notice when starting up Apache that it&#8217;s trying to startup mod_jrun twice.  In my ColdFusion install I selected to build a mod_jrun connector to hook into Apache during the install.  Turns out that this conflicts with Plesk.  It&#8217;s a simple fix.  Just fire up your httpd.conf file and look for all instances of cfm or jrun.  You should see these entries toward the bottom of the file.  Just comment out the whole block of stuff by putting a hash sign in from of the lines.  Or you could always delete this stuff if you want.</p>
<p>For each website that you enable ColdFusion support for you should see this code in the httpd.include file for the site.<br />
<code><br />
JRunConfig Verbose false<br />
JRunConfig Apialloc false<br />
JRunConfig Ignoresuffixmap false<br />
JRunConfig Serverstore /opt/coldfusion8/runtime/lib/wsconfig/psa/jrunserver.store<br />
JRunConfig Bootstrap 127.0.0.1:51800<br />
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc</code></p>
<p>If you need to do a little troubleshooting, just make sure that you don&#8217;t see code like this in any of the global config files for apache.  As well make sure your jrunserver.store file exists.  And make sure you&#8217;re loading the mod_jrun module somewhere.  Plesk should drop this into zz010_psa_httpd.conf in the conf.d folder.  Make sure that exists: LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/psa/mod_jrun20.so.  And lastly, double check your jrun.xml file you should see a mention of jrun broadcasting on port 51800 &#8230; you should see that in the jrun.servlet.jrpp.JRunProxyService block of the jrun.xml file.  It&#8217;s possible that jrun is running on a different port, if that&#8217;s the case you&#8217;ll need to change it to 51800.  Or somehow find out how to change the Plesk default.</p>
<p>If you have any troubles, post a comment here and I&#8217;ll see if I can help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-and-plesk-8-on-red-hat-es-4/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 about 15 percent faster on OS X</title>
		<link>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/</link>
		<comments>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 06:05:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://www.usercore.com/2007/06/08/coldfusion-8-about-15-percent-faster-on-os-x/</guid>
		<description><![CDATA[I&#8217;ve been exclusively using CF8 for development, leaving testing environments on CF7.  In some rough testing, I&#8217;m clocking the new engine to be about 15 percent faster.  I&#8217;m still using JRun4 and Java 1.4.2 on my 
.  I expect even further speed increases on Linux where I do not need to use [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been exclusively using CF8 for development, leaving testing environments on CF7.  In some rough testing, I&#8217;m clocking the new engine to be about 15 percent faster.  I&#8217;m still using JRun4 and Java 1.4.2 on my <script type="text/javascript" language="javascript" src="http://www.jdoqocy.com/placeholder-2175417?target=_blank&#038;text=%3Clink%3EIntel+Core+2+Duo+Macbook%3C%2Flink%3E&#038;mouseover=Y"></script></p>
<p><img src="http://www.awltovhc.com/image-2460889-10388557" width="1" height="1" border="0"/>.  I expect even further speed increases on Linux where I do not need to use such an old version of Java.  When I&#8217;ve bothered to time the improvements, I&#8217;m get roughly 15%, yet it feels like more.  Much of what I&#8217;m doing recently involves <a href="http://www.fusebox.org">working with Fusebox</a>, which when set in developer mode basically recompiles the whole site at every hit.  This can get pretty heavy when testing out new stuff.  I made the switch on my dev machine to CF8 about midway through the project and do really notice the improvement.  So even with the boring stuff like speed enhancements and stability, CF8 is looking well worth it.  I look forward to a public launch soon, problems with RC1 have been minor.</p>
<p><a href="http://www.anrdoezrs.net/click-2460889-10423101"></p>
<p><img src="http://www.awltovhc.com/image-2460889-10423101" width="150" height="40" alt="" border="0"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.usercore.com/coldfusion-8-about-15-percent-faster-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
