<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: My ColdFusion 8 Upgrade</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nkonye</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-173140</link>
		<dc:creator>Nkonye</dc:creator>
		<pubDate>Wed, 15 Apr 2009 08:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-173140</guid>
		<description>Do you know how I can connect CF to a remote database? Thanks.</description>
		<content:encoded><![CDATA[<p>Do you know how I can connect CF to a remote database? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-65181</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 12 Mar 2008 16:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-65181</guid>
		<description>Ian,

Explicitly casting to CHAR was the only thing I had to do for the new Connector/J.  As I said in the comments above, any place MySQL is creating a &quot;string&quot; that ends up as a BLOB (instead of VARCHAR), you get a ByteArray in CF-land.  GROUP_CONCAT was the primary offender for me, but any place you have a computed BLOB (and maybe a literal BLOB) it would happen.  I don&#039;t use FULLTEXT indexes anywhere, so I can&#039;t offer any insight on that.</description>
		<content:encoded><![CDATA[<p>Ian,</p>
<p>Explicitly casting to CHAR was the only thing I had to do for the new Connector/J.  As I said in the comments above, any place MySQL is creating a "string" that ends up as a BLOB (instead of VARCHAR), you get a ByteArray in CF-land.  GROUP_CONCAT was the primary offender for me, but any place you have a computed BLOB (and maybe a literal BLOB) it would happen.  I don't use FULLTEXT indexes anywhere, so I can't offer any insight on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Winter</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-65165</link>
		<dc:creator>Ian Winter</dc:creator>
		<pubDate>Wed, 12 Mar 2008 12:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-65165</guid>
		<description>You mentioned about needing to cast to stop the bytearray error and group_concat, where there any other things that you had to do? I&#039;ve got a fulltext search on a utf8 db and only on the search is it chucking out the error.</description>
		<content:encoded><![CDATA[<p>You mentioned about needing to cast to stop the bytearray error and group_concat, where there any other things that you had to do? I've got a fulltext search on a utf8 db and only on the search is it chucking out the error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-50523</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Tue, 04 Dec 2007 06:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-50523</guid>
		<description>My experience with upgrade to CF8 has been an absolute HORROR story.
Admitted I did not used CF7 very extensively (been away from this CF world for a while and still I thought I&#039;m not bad in general...),
so, here we go, my XP box has a license of CF4.5 running, the box also has an installation of CFMX7 but not running any more (it refuses to be removed from Windows&#039;s Add/Remove utility).

So, most desirable option would be to leave cf4.5 there (the build &quot;footprint&quot; would be small hence maybe more gain on the efficiency end... but if cf8 proves to be more efficient for a given app then of course migrate the app to cf8...), hence, my first attempt was to have cf4.5 and cf8 co-exist, that is, having the new CF8 to use the existing IIS web server instead of its internal web server.
Installation was supposed to be successful, the log indicated one nonfatal error of jndi port 2930 problem, but that is a FATAL failure.
Solution wasn&#039;t easily found.  

So, I had to un-install and re-install, this time, tried to use cf8&#039;s internal web server, it &quot;reluntantly&quot; worked a bit, that is, it was able to launch cf administrator portion, however, the Migration process is a big headache, after taking forever finishing Export, it hanged forever for the Import section and it always hangs there no matter what including reboot, it&#039;s possible the design was by probably done by some stupid outsourced freaks, it won&#039;t even time out for worse case scenario... what xml configuration file(s) that I could manually change to make this damn thing to work, thank you.</description>
		<content:encoded><![CDATA[<p>My experience with upgrade to CF8 has been an absolute HORROR story.<br />
Admitted I did not used CF7 very extensively (been away from this CF world for a while and still I thought I'm not bad in general&#8230;),<br />
so, here we go, my XP box has a license of CF4.5 running, the box also has an installation of CFMX7 but not running any more (it refuses to be removed from Windows's Add/Remove utility).</p>
<p>So, most desirable option would be to leave cf4.5 there (the build "footprint" would be small hence maybe more gain on the efficiency end&#8230; but if cf8 proves to be more efficient for a given app then of course migrate the app to cf8&#8230;), hence, my first attempt was to have cf4.5 and cf8 co-exist, that is, having the new CF8 to use the existing IIS web server instead of its internal web server.<br />
Installation was supposed to be successful, the log indicated one nonfatal error of jndi port 2930 problem, but that is a FATAL failure.<br />
Solution wasn't easily found.  </p>
<p>So, I had to un-install and re-install, this time, tried to use cf8's internal web server, it "reluntantly" worked a bit, that is, it was able to launch cf administrator portion, however, the Migration process is a big headache, after taking forever finishing Export, it hanged forever for the Import section and it always hangs there no matter what including reboot, it's possible the design was by probably done by some stupid outsourced freaks, it won't even time out for worse case scenario&#8230; what xml configuration file(s) that I could manually change to make this damn thing to work, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-34192</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Tue, 04 Sep 2007 16:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-34192</guid>
		<description>Tom,

I&#039;m not running the beta player, just the latest official Linux release (9.0.whatever).  It&#039;s a 32-bit stack the whole way down, so that&#039;s not the issue either.  It seems to be certain movies, not all Flex apps in general, so probably some specific feature(s) in the SDK causes crashes the player, not all Flex apps in general.</description>
		<content:encoded><![CDATA[<p>Tom,</p>
<p>I'm not running the beta player, just the latest official Linux release (9.0.whatever).  It's a 32-bit stack the whole way down, so that's not the issue either.  It seems to be certain movies, not all Flex apps in general, so probably some specific feature(s) in the SDK causes crashes the player, not all Flex apps in general.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Chiverton</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-34122</link>
		<dc:creator>Tom Chiverton</dc:creator>
		<pubDate>Tue, 04 Sep 2007 09:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-34122</guid>
		<description>It&#039;s a shame the Flex dash board didn&#039;t work for you.
Have you tried an updated (beta) flash player ? Could you be using a 64-bit Firefox version (in which case you&#039;ll need to Take Steps).</description>
		<content:encoded><![CDATA[<p>It's a shame the Flex dash board didn't work for you.<br />
Have you tried an updated (beta) flash player ? Could you be using a 64-bit Firefox version (in which case you'll need to Take Steps).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-34066</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Tue, 04 Sep 2007 03:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-34066</guid>
		<description>Jason,

I&#039;m not sure about where to find more info on the MySQL ByteArray.  With GROUP_CONCAT in particular, the link that Neculai posted (http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html) has a bit of info.  In a nutshell, any time a computation in MySQL returns a BLOB (or a BINARY CHAR), it comes back into CF as Java ByteArray, which CF can&#039;t handle correctly.  So you have to recast it to a character string, either in the SQL or in CF.  The former is &#039;CAST(expr AS CHAR)&#039;, and the latter would be &#039;createObject(&quot;java&quot;, &quot;java.lang.String&quot;).init(expr)&#039;.</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>I'm not sure about where to find more info on the MySQL ByteArray.  With GROUP_CONCAT in particular, the link that Neculai posted (<a href="http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html</a>) has a bit of info.  In a nutshell, any time a computation in MySQL returns a BLOB (or a BINARY CHAR), it comes back into CF as Java ByteArray, which CF can't handle correctly.  So you have to recast it to a character string, either in the SQL or in CF.  The former is 'CAST(expr AS CHAR)', and the latter would be 'createObject("java", "java.lang.String").init(expr)'.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Daiger</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-33955</link>
		<dc:creator>Jason Daiger</dc:creator>
		<pubDate>Mon, 03 Sep 2007 15:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-33955</guid>
		<description>Barney,
I upgraded our server from 7 -&gt; 8 and have had many issues but I believe one of them is the MySQL items discussed above.  Can you direct me where to find fixes or examples for hot to resolve these items in the SQL code?

Thanks,
Jason</description>
		<content:encoded><![CDATA[<p>Barney,<br />
I upgraded our server from 7 -&gt; 8 and have had many issues but I believe one of them is the MySQL items discussed above.  Can you direct me where to find fixes or examples for hot to resolve these items in the SQL code?</p>
<p>Thanks,<br />
Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-33734</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Sun, 02 Sep 2007 15:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-33734</guid>
		<description>Neculai,

Looking over the docs, I see you&#039;re probably correct, as long as the max length setting is 512 or less.  I set it higher, because some of the lists I need are quite a bit longer than that, so it returns BLOB regardless.  And I almost always have an ORDER BY clause in there anyway, so I wouldn&#039;t have noticed a change at the 5.0.19 boundary anyway.

I&#039;m not really sure why the return type isn&#039;t VARCHAR for 512 and less, and then TEXT for larger strings (instead of BLOB).  It&#039;s character data, so using BLOB seems weird, but oh well.</description>
		<content:encoded><![CDATA[<p>Neculai,</p>
<p>Looking over the docs, I see you're probably correct, as long as the max length setting is 512 or less.  I set it higher, because some of the lists I need are quite a bit longer than that, so it returns BLOB regardless.  And I almost always have an ORDER BY clause in there anyway, so I wouldn't have noticed a change at the 5.0.19 boundary anyway.</p>
<p>I'm not really sure why the return type isn't VARCHAR for 512 and less, and then TEXT for larger strings (instead of BLOB).  It's character data, so using BLOB seems weird, but oh well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neculai Macarie</title>
		<link>https://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/comment-page-1/#comment-33675</link>
		<dc:creator>Neculai Macarie</dc:creator>
		<pubDate>Sun, 02 Sep 2007 07:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/09/01/my-coldfusion-8-upgrade/#comment-33675</guid>
		<description>MySQL fixed the Group_concat bug in 5.0.19 
http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html

Thanks</description>
		<content:encoded><![CDATA[<p>MySQL fixed the Group_concat bug in 5.0.19<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html</a></p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
