<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>JR-Holmes</title>
			<link>http://www.bifrost.com.au/blog/index.cfm</link>
			<description>Yet Another CF Developer</description>
			<language>en-us</language>
			<pubDate>Tue, 07 Sep 2010 17:18:58 -0700</pubDate>
			<lastBuildDate>Tue, 15 Jun 2010 08:28:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>james.holmes@gmail.com</managingEditor>
			<webMaster>james.holmes@gmail.com</webMaster>
			
			
			
			
			
			<item>
				<title>WSS4CF: Secure Webservices with ColdFusion</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2010/6/15/WSS4CF-Secure-Webservices-with-ColdFusion</link>
				<description>
				
				The new project WSS4CF aims to provide WS-Security for CF webservices:

&lt;a href=&quot;http://wss4cf.riaforge.org/&quot;&gt;WSS4CF on RIAForge&lt;/a&gt;

So far both plain and digest username/password tokens are implemented. Hopefully more can be provided in the future.
				
				</description>
						
				
				<category>WSS4CF</category>				
				
				<pubDate>Tue, 15 Jun 2010 08:28:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2010/6/15/WSS4CF-Secure-Webservices-with-ColdFusion</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Fix for Flex Builder 3 crash</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2008/3/13/Fix-for-Flex-Builder-3-crash</link>
				<description>
				
				I came across an issue with Flex builder 3 today - the JVM (and therefore the whole builder app) crashed when switching to design view. It&apos;s a known bug from back in the Beta, but it was &quot;non-reproducible&quot; (damn I hate hearing that).

A helpful soul on the Flex list at House of Fusion suggested some JVM tuning and it seems to be the ticket. 

With FB3 closed (i.e. not running), edit

C:\Program Files\Adobe\Flex Builder 3\FlexBuilder.ini

and make the following changes:

-Xms512m&lt;br /&gt;
-Xmx768m

Try higher settings of you still have grief. If you never had these problems, great; remember this in case they pop up.
				
				</description>
						
				
				<category>Flex</category>				
				
				<pubDate>Thu, 13 Mar 2008 20:11:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2008/3/13/Fix-for-Flex-Builder-3-crash</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Notes on the Fusion Authority Quarterly Update FLEX/AIR articles</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/11/1/Notes-on-the-Fusion-Authority-Quarterly-Update-FLEXAIR-articles</link>
				<description>
				
				The last &lt;a href=&quot;http://www.fusionauthority.com/quarterly/&quot;&gt;Fusion Authority Quarterly Update&lt;/a&gt; focussed on User Interfaces and related topics, including an article on AIR by yours truly and some other Flex/AIR articles.

As it turns out, Adobe were nice enough to release AIR beta 2 and Flex Builder 3 Beta 2 at just about the same time the Journal came out, so some of our articles are now out of date.  Such is life in the fast moving world of software development.

Anyway, the basics are still the same, but AIR apps now need to be signed and there are some other minor changes that are all detailed in the docs on Adobe labs; the FAQ-U 4 articles are still well worth reading. Anyone with questions on the differences for my article is welcome to comment here or send me an email (james.holmes at gmail dot com).
				
				</description>
						
				
				<category>AIR</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 01 Nov 2007 19:16:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/11/1/Notes-on-the-Fusion-Authority-Quarterly-Update-FLEXAIR-articles</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Coldfusion server restarts after a few days? Here&apos;s a possible solution.</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/9/25/Coldfusion-server-restarts-after-a-few-days-Heres-a-possible-solution</link>
				<description>
				
				After experiencing a random cf7 restart recently, I dug around and found this in the log:

&lt;code&gt;Exception java.lang.OutOfMemoryError: requested 1024000 bytes for GrET* in /export1/jdk142-update/ws/fcs/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?
autorestart: Restarting process&lt;/code&gt;

I found some bug reports on Sun&apos;s site, with the usual buck-passing and claims regarding non-reproducibility, with no solid resolution; then I found Steven Erat&apos;s blog on the subject:

&lt;a href=&quot;http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English&quot;&gt;http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English&lt;/a&gt;

Now it all makes sense. After a few days, the hotspot engine is compiling to native code instead of bytecode and has an issue. It fails bad enough that restarting the JVM is necessary.

Now to a question - has anyone seen this with CF8, running Java 6? The Sun bug reports all show 1.4 and 1.5 versions with issues, but I haven&apos;t seen it on 6.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 25 Sep 2007 19:34:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/9/25/Coldfusion-server-restarts-after-a-few-days-Heres-a-possible-solution</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>New cumulative Coldfusion hotfix includes a backported fix from CF8</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/9/19/New-cumulative-Coldfusion-hotfix-includes-a-backported-fix-from-CF8</link>
				<description>
				
				People will probably be aware that CF7.02 cumulative hotfix 3 is now available:

&lt;a href=&quot;http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402465&quot;&gt;http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402465&lt;/a&gt;

One of the items fixed is a personal favourite and it&apos;s been broken for ages:

67753; Disabling connections for a datasource in the cfadmin or using AdminAPI has no effect

This was first fixed in CF8. Thankfully it&apos;s been reworked for CF7 too - thanks Adobe. This was causing us all sorts of issues when we needed to to DB maintenance.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 19 Sep 2007 19:49:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/9/19/New-cumulative-Coldfusion-hotfix-includes-a-backported-fix-from-CF8</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>PHP on JRun Update - hacked and working</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/6/10/PHP-on-JRun-Update--hacked-and-working</link>
				<description>
				
				For anyone still interested, with minor hacking I now have PHP apps running on JRun next to CF. Two things needed hacking so far:

1) The class that deals with the $_SERVER variable, com.caucho.quercus.env.ServerArrayValue, called a method not supported on JRun (see the related entry for details). I just got rid of that call.

2) On my server, for some reason, com.caucho.util.RandomUtil fails when seeding SecureRandom() with System.currentTimeMillis() (the value isn&apos;t long enough). I just commented out the seeding part as SecureRandom sets itself up properly without it (according to the Java 6 docs anyway).

Now I have DokuWiki working fine and as soon as I can get a DB into play I can get phpBB working as well.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Sun, 10 Jun 2007 19:24:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/6/10/PHP-on-JRun-Update--hacked-and-working</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>New mxAjax screencast - mxData</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/New-mxAjax-screencast--mxData</link>
				<description>
				
				Arjun has added a screencast dealing with the mxAjax mxData tag:

&lt;a href=&quot;http://www.techscreencast.com/screencast/mxajax_mxdata/mxajax_mxdata.html&quot;&gt;http://www.techscreencast.com/screencast/mxajax_mxdata/mxajax_mxdata.html&lt;/a&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>AJAX</category>				
				
				<pubDate>Thu, 07 Jun 2007 23:39:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/New-mxAjax-screencast--mxData</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>PHP on JRun doesn&apos;t work just yet</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/PHP-on-JRun-doesnt-work-just-yet</link>
				<description>
				
				A number of us have been following &lt;a href=&quot;http://scripting.riaforge.org/&quot;&gt;Sean Corfield&apos;s JSR-223 experiments&lt;/a&gt; with interest. The PHP flavour relies on &lt;a href=&quot;http://quercus.caucho.com/&quot;&gt;Quercus&lt;/a&gt;, part of the Resin J2EE app server.

For some fun, I deployed Quercus next to CF 8 on the Multiserver install. As it turns out, this won&apos;t work with Quercus in its current form as JRun implements an older Servlet Spec (version 2.3). Quercus uses ServletRequest.getRemotePort(), which is part of the 2.4 version of the spec; this is the error that occurs with apps like phpBB and DocuWiki (and anything else that uses $_SERVER):

error javax.servlet.http.HttpServletRequest.getRemotePort()I
[1]java.lang.NoSuchMethodError

Of course, Quercus could be rewritten for JRun to get around this.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 07 Jun 2007 23:19:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/PHP-on-JRun-doesnt-work-just-yet</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>mxAjax - closing a DomInclude from within the popup window</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/mxAjax--closing-a-DomInclude-from-within-the-popup-window</link>
				<description>
				
				The mxAjax DomInclude (&lt;a href=&quot;http://www.indiankey.com/mxajax/examples/mxDomInclude1.cfm&quot;&gt;http://www.indiankey.com/mxajax/examples/mxDomInclude1.cfm&lt;/a&gt;) automatically provides a way to close the popup content (by clicking the link used to open it). However you might wish to have a link inside the popup that closes the DomInclude.

When you create the DomInclude, keep the created object:

&lt;code&gt;function init() {
  myDomInclude = new mxAjax.DomInclude( {source:&quot;testlink&quot;});
}

addOnLoadEvent(function() {init();});&lt;/code&gt;

Then in your included content, refer to the object you just created:

&lt;code&gt;&lt;a href=&quot;#&quot; onclick=&quot;parent.myDomInclude.killPopup(&apos;external&apos;);&quot;&gt;close&lt;/a&gt;&lt;/code&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>AJAX</category>				
				
				<pubDate>Thu, 07 Jun 2007 18:19:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/6/7/mxAjax--closing-a-DomInclude-from-within-the-popup-window</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>mxAjax installation screencast</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/6/3/mxAjax-installation-screencast</link>
				<description>
				
				Arjun has created a screencast dealing with mxAjax installation:

&lt;a href=&quot;http://www.techscreencast.com/screencast/mxajaxinstallation/mxajaxinstallation.html&quot;&gt;http://www.techscreencast.com/screencast/mxajaxinstallation/mxajaxinstallation.html&lt;/a&gt;

mxAjax is a ColdFusion AJAX tookit providing everything necessary to use AJAX on ColdFusion. It&apos;s based on Scriptaculous/Prototype and uses JSON as the data transport.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>AJAX</category>				
				
				<pubDate>Sun, 03 Jun 2007 21:57:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/6/3/mxAjax-installation-screencast</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>mxAjax and TinyMCE on the same page</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/4/30/mxAjax-and-TinyMCE-on-the-same-page</link>
				<description>
				
				I ran into an issue today where I had TinyMCE and an mxAjax control on the same page and they interfered with each other badly. This is to be expected, as Scriptaculous is part of mxAjax and the issue is described here:

&lt;a href=&quot;http://wiki.script.aculo.us/scriptaculous/show/TinyMCE&quot;&gt;http://wiki.script.aculo.us/scriptaculous/show/TinyMCE&lt;/a&gt;

So as the wiki explains, the TinyMCE script needs to go first, then the mxAjax scripts, then the mxAjax control init code and then finally the TinyMCE init code.
				
				</description>
						
				
				<category>AJAX</category>				
				
				<pubDate>Mon, 30 Apr 2007 22:37:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/4/30/mxAjax-and-TinyMCE-on-the-same-page</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Getting BlogCFC to work on BlueDragon</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/4/6/Getting-BlogCFC-to-work-on-BlueDragon</link>
				<description>
				
				If you use CAPTCHA on your BlueDragon 6.2 based install of BlogCFC, you will probably have an issue with the LylaCaptcha code. The fix is detailed here:

&lt;a href=&quot;http://ray.camdenfamily.com/forums/messages.cfm?threadid=9021AD4F-CDBB-773C-50E1F0EB6364795F&quot;&gt;http://ray.camdenfamily.com/forums/messages.cfm?threadid=9021AD4F-CDBB-773C-50E1F0EB6364795F&lt;/a&gt;

I modified captchaService.cfc at around line 265 to read:

&lt;code&gt;&lt;!--- Compute the next character lef tposition ---&gt;
&lt;cfset aCharacter = CreateObject(&quot;Java&quot;,&quot;java.lang.Character&quot;)&gt;
            &lt;cfset left = left + ((RandRange(150, 200) / 100) * graphics.getFontMetrics().charWidth(JavaCast(&quot;int&quot;,aCharacter.getNumericValue(char)))) /&gt;&lt;/code&gt;

CF7 seems to handle the different methods for getFontMetrics().charWidth() but BlueDragon 6.2 can&apos;t without some help.

UPDATE: added BD version info; this bug should be fixed in BD 7.0.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 06 Apr 2007 20:01:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/4/6/Getting-BlogCFC-to-work-on-BlueDragon</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Hosting change to clear up issues</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/2/10/Hosting-change-to-clear-up-issues</link>
				<description>
				
				For anyone who&apos;s been looking for CFAjax or mxAjax docs (or any other post here), I apologise for the pathetic number of database errors this site has been throwing. It&apos;s not Ray&apos;s code (or mine :-), it&apos;s the HostMySite servers I&apos;ve been hosted on.

After a number of one hour support chats over a few weeks, I gave up and now the site is hosted at Viviotech on a VPS. 

Now that the move is all done (barring anything I missed) I can get to work on more mxAjax docs.
				
				</description>
						
				
				<category>General</category>				
				
				<pubDate>Sat, 10 Feb 2007 02:46:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/2/10/Hosting-change-to-clear-up-issues</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Multiple mxAjax autocomplete controls</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2007/1/21/Multiple-mxAjax-autocomplete-controls</link>
				<description>
				
				People often want more than one autocomplete control on their page. If you examine the autocomplete example:&lt;br /&gt;&lt;br /&gt;function init() {&lt;br /&gt; &amp;nbsp;new mxAjax.Autocomplete({&lt;br /&gt; &amp;nbsp; &amp;nbsp;indicator: &amp;quot;indicator&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;minimumCharacters: &amp;quot;1&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;target: &amp;quot;statecode&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;className: &amp;quot;autocomplete&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;paramArgs: new mxAjax.Param(url,{cffunction:&amp;quot;getStateList&lt;div style=&quot;direction: ltr&quot;&gt;&amp;quot;}),&lt;br /&gt; &amp;nbsp; &amp;nbsp;parser: new mxAjax.CFQueryToJSKeyValueParser(),&lt;br /&gt; &amp;nbsp; &amp;nbsp;source: &amp;quot;searchCharacter&amp;quot;&lt;br /&gt; &amp;nbsp;});&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;you will see that the source and destination can be set to whatever you want. So you can just write two blocks&lt;br /&gt;&lt;br /&gt;new mxAjax.Autocomplete({&lt;br /&gt; &amp;nbsp; &amp;nbsp;indicator: &amp;quot;indicator&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;minimumCharacters: &amp;quot;1&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;target: &amp;quot;CONTROL1&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;className: &amp;quot;autocomplete&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;paramArgs: new mxAjax.Param(url,{cffunction:&amp;quot;SOMEMETHOD1&amp;quot;}),&lt;br /&gt; &amp;nbsp; &amp;nbsp;parser: new mxAjax.CFQueryToJSKeyValueParser(),&lt;br /&gt; &amp;nbsp; &amp;nbsp;source: &amp;quot;CONTROL1&amp;quot;&lt;br /&gt; &amp;nbsp;});&lt;br /&gt;&lt;br /&gt;new mxAjax.Autocomplete({&lt;br /&gt; &amp;nbsp; &amp;nbsp;indicator: &amp;quot;indicator&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;minimumCharacters: &amp;quot;1&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;target: &amp;quot;CONTROL2&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;className: &amp;quot;autocomplete&amp;quot;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;paramArgs: new mxAjax.Param(url,{cffunction:&amp;quot;SOMEMETHOD2&amp;quot;}),&lt;br /&gt; &amp;nbsp; &amp;nbsp;parser: new mxAjax.CFQueryToJSKeyValueParser(),&lt;br /&gt; &amp;nbsp; &amp;nbsp;source: &amp;quot;CONTROL2&amp;quot;&lt;br /&gt; &amp;nbsp;});&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve shown two method names in the CFC to be called, as the argument needs to be named the same as the search source control, but this isn&amp;#39;t a big problem as both of these can in turn call the real method that does the search (so they are just very simple wrapper methods to allow the search to work). Alternatively you could use two optional arguments named after the controls, in a single component.&lt;br /&gt;&lt;/div&gt;
				
				</description>
						
				
				<category>AJAX</category>				
				
				<pubDate>Sun, 21 Jan 2007 08:17:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2007/1/21/Multiple-mxAjax-autocomplete-controls</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Become the hunted...</title>
				<link>http://www.bifrost.com.au/blog/index.cfm/2006/10/25/Become-the-hunted</link>
				<description>
				
				&lt;p&gt;This blog was just added to &lt;a href=&quot;http://www.cfhunt.com/&quot; title=&quot;Go to CFHunt&quot;&gt;CFHunt&lt;/a&gt;. I recommend you add yours too, and let Joshua know about any other sites that should be added.&lt;/p&gt;&lt;p&gt;Here&amp;#39;s more info on &lt;a href=&quot;http://www.usefulconcept.com/index.cfm/2006/10/24/CFHunt--coldfusion-search-engine&quot; title=&quot;CFHunt Info&quot;&gt;CFHunt&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 25 Oct 2006 21:17:00 -0700</pubDate>
				<guid>http://www.bifrost.com.au/blog/index.cfm/2006/10/25/Become-the-hunted</guid>
				
			</item>
			
		 	
			</channel></rss>