<?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 Development By George &#187; coldspring</title>
	<atom:link href="http://www.webdevelopmentbygeorge.com/tag/coldspring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopmentbygeorge.com</link>
	<description>ColdFusion, Flex, and JavaScript Programming</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:45:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>DefaultProperties for ColdSpring Bean Factories</title>
		<link>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=defaultproperties-for-coldspring-bean-factories</link>
		<comments>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 18:13:35 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[coldspring]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbygeorge.com/?p=90</guid>
		<description><![CDATA[So I was playing with the defaultProperties configuration as mentioned on several sites, including this article by Dan Vega that got me going down the path. I wasn&#8217;t able to get it working at first, until I did a little messing around. Turns out that this: 1 2 3 &#60;entry key=&#34;devFilepath&#34;&#62; &#60;value&#62;${baseFilepath}logs&#60;/value&#62; &#60;/entry&#62; Won&#8217;t work. [...]]]></description>
			<content:encoded><![CDATA[<p>So I was playing with the defaultProperties configuration as mentioned on several sites, including this <a href="http://www.danvega.org/blog/index.cfm/ColdSpring">article by Dan Vega</a> that got me going down the path.  I wasn&#8217;t able to get it working at first, until I did a little messing around.  Turns out that this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;entry</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;devFilepath&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${baseFilepath}logs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/entry<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Won&#8217;t work.  The ColdSpring engine won&#8217;t find this as a configuration to populate.  Instead, you have to make sure the whole space between the <value> tags is what you want to have replaced, like so:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;entry</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;devFilepath&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${devFilepath}<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/entry<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Hope that helps someone out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limit on CFC Size?</title>
		<link>http://www.webdevelopmentbygeorge.com/2009/05/07/limit-on-cfc-size/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=limit-on-cfc-size</link>
		<comments>http://www.webdevelopmentbygeorge.com/2009/05/07/limit-on-cfc-size/#comments</comments>
		<pubDate>Fri, 08 May 2009 01:45:03 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Model-Glue]]></category>
		<category><![CDATA[coldspring]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbygeorge.com/?p=66</guid>
		<description><![CDATA[So a few months ago I wrote a post about a java.lang.StackOverflowError I had experienced with Model-Glue and ColdSpring.   You can read about it here and here.  We it reared it's ugly head again today.  I'm not sure exactly what is happening and maybe someone with a better knowledge of ColdSpring can help me out here.  I solved the problem by moving my new function into a different Service.cfc.  Why this worked?  I don't know, but it seems that it has something to do with the size of the file. ]]></description>
			<content:encoded><![CDATA[<p>So a few months ago I wrote a post about a java.lang.StackOverflowError I had experienced with Model-Glue and ColdSpring.   You can read about it <a href="http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror-solution/" target="_self">here</a> and <a href="http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror/">here</a>.  We it reared it&#8217;s ugly head again today.  I&#8217;m not sure exactly what is happening and maybe someone with a better knowledge of ColdSpring can help me out here.  I solved the problem by moving my new function into a different Service.cfc.  Why this worked?  I don&#8217;t know, but it seems that it has something to do with the size of the file.  It&#8217;s only running about 1500 lines in the service, but I have another service with more functions that runs 3000 lines of code.  But moving it out, definitely solves the ColdSpring compile error and allows me to move forward with development.</p>
<p>Any thoughts out there?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopmentbygeorge.com/2009/05/07/limit-on-cfc-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.StackOverflowError &#8211; Solution!</title>
		<link>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror-solution/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javalangstackoverflowerror-solution</link>
		<comments>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror-solution/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 18:09:42 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Model-Glue]]></category>
		<category><![CDATA[coldspring]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbygeorge.com/?p=29</guid>
		<description><![CDATA[Okay, so this turned out to be a twofold thing. One &#8211; I had a circular reference in my ColdSpring file. BeanA needed BeanB and BeanB needed BeanA. The problem was that even though I saw this and had tried to fix it, it wouldn&#8217;t solve the problem. I still kept getting the StackOverflowError showing. [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so this turned out to be a twofold thing.  One &#8211; I had a circular reference in my ColdSpring file.  BeanA needed BeanB and BeanB needed BeanA.  The problem was that even though I saw this and had tried to fix it, it wouldn&#8217;t solve the problem.  I still kept getting the StackOverflowError showing.  Then I happened across <a href="http://www.coldspringframework.org/coldspring/examples/quickstart/index.cfm?page=constructor">this post</a> which basically had a thing about the circular references and that you should use a setter injection instead of constructor injection in order to fix the problem.  I hadn&#8217;t thought of using setter injection for anything other than the things autowired by ModelGlue such as my services in my controllers or the beanfactory so this was a new way of thinking of it for me.  The beauty of it though was that it worked!  My code now compiled.</p>
<p>My thanks go out to <a href="http://www.nodans.com/">Dan Wilson</a> for getting me pointed in the right direction on the google group for Model-Glue!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.StackOverflowError</title>
		<link>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javalangstackoverflowerror</link>
		<comments>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 15:10:52 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Model-Glue]]></category>
		<category><![CDATA[coldspring]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbygeorge.com/?p=18</guid>
		<description><![CDATA[I&#8217;ve been working on building a fairly large Model-Glue application and it&#8217;s been up and running for going on 4 months. Yesterday I was working on some of the planned enhancements when I ran into a 500 ROOT CAUSE: java.lang.StackOverflowError problem. I&#8217;ve tracked it down to one instance of adding one referenced bean onto one [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on building a fairly large Model-Glue application and it&#8217;s been up and running for going on 4 months.  Yesterday I was working on some of the planned enhancements when I ran into a 500  ROOT CAUSE: java.lang.StackOverflowError problem.  I&#8217;ve tracked it down to one instance of  adding one referenced bean onto one of my service instances.  I can comment out the bean and everything compiles.  I can change it to one of my DAO beans and it works, I change it to another of my service beans and it causes the StackOverflowError again.</p>
<p>I have moved some of the ColdSpring.xml out to includes to reduce the file size and that has had no effect.  I updated to 1.2 and had no change either.  I&#8217;ve seen some minor changes in the rest of the error stack when I change up the service I&#8217;m including, but it&#8217;s more often than not this as the next couple lines:</p>
<pre style="overflow-Y:scroll;overflow-X:scroll;">at coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:373)
at coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:387)
at cfAbstractBeanFactory2ecfc1246833417$funcRESOLVEBEANNAME.runFunction(coldspringbeansAbstractBeanFactory.cfc:193)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471)</pre>
<p>followed by a repeating of the above with several other calls to the cfAbstractBeanFactory instance.  I know I&#8217;m not providing much, but I&#8217;m absolutely stumped as to what can be causing the problem.  The bean I am adding that causes the error is also used as a ref bean on another bean without causing the problem.  Any ideas that I could poke around at would be much appreciated!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopmentbygeorge.com/2009/03/11/javalangstackoverflowerror/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

