<?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"
	>

<channel>
	<title>LazyApps</title>
	<atom:link href="http://blog.lazyapps.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lazyapps.com</link>
	<description>simple problems need simple solutions</description>
	<pubDate>Sun, 11 May 2008 19:51:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>OpenBD vs. ColdFusion Gotchas</title>
		<link>http://blog.lazyapps.com/2008/05/07/openbd-vs-coldfusion-gotchas/</link>
		<comments>http://blog.lazyapps.com/2008/05/07/openbd-vs-coldfusion-gotchas/#comments</comments>
		<pubDate>Wed, 07 May 2008 12:13:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[OpenBD]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[gotchas]]></category>

		<guid isPermaLink="false">http://blog.lazyapps.com/?p=4</guid>
		<description><![CDATA[This is just a random collection of gotchas and other stuff I stumble over trying to port my apps from ColdFusion to OpenBD.
CFFTP: The attribute connection must be a valid variable name. In CF a connection named  &#8220;123abc&#8221; is valid, in  OpenBD it&#8217;s not.
cffunction: When the returntype is set to date OpenBD always [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a random collection of gotchas and other stuff I stumble over trying to port my apps from ColdFusion to OpenBD.</p>
<p><strong>CFFTP</strong>: The attribute <em>connection</em> must be a valid variable name. In CF a connection named  &#8220;123abc&#8221; is valid, in  OpenBD it&#8217;s not.</p>
<p><strong>cffunction</strong>: When the <em>returntype</em> is set to <em>date</em> OpenBD always returns a date object, but in CF you can return an integer, like the epoch.</p>
<p><strong>Tags:</strong> OpenBD doesn&#8217;t support comments inside of tags. &lt;cfset taxes = 0 &lt;!&#8212; show me the money &#8212;&gt; /&gt; will work on CF, but not on OpenBD.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lazyapps.com/2008/05/07/openbd-vs-coldfusion-gotchas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenBD + Tomcat Example Setup</title>
		<link>http://blog.lazyapps.com/2008/05/07/openbd-tomcat-example-setup/</link>
		<comments>http://blog.lazyapps.com/2008/05/07/openbd-tomcat-example-setup/#comments</comments>
		<pubDate>Wed, 07 May 2008 12:03:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[OpenBD]]></category>

		<category><![CDATA[classpath]]></category>

		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.lazyapps.com/?p=3</guid>
		<description><![CDATA[Note: I&#8217;ve experienced some weird behavior running multiple apps on a global OpenBD setup like this. I have reverted back to copying the runtime libraries into every apps own /WEB_INF/lib directory, and removed the added shared.loader entry in catalina.properties
This is how I&#8217;ve setup OpenBD on Tomcat to easily upgrade when a new version is released, [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">Note: I&#8217;ve experienced some weird behavior running multiple apps on a global OpenBD setup like this. I have reverted back to copying the runtime libraries into every apps own /WEB_INF/lib directory, and removed the added shared.loader entry in catalina.properties</span></p>
<p>This is how I&#8217;ve setup OpenBD on Tomcat to easily upgrade when a new version is released, AND to eliminate the need of having the OpenBD runtime inside every webapp.</p>
<p>I&#8217;m using Tomcat 6.x but I imagine this applies to jetty etc. as well with a little tweaking.</p>
<p>It&#8217;s not battle tested in any way, And I&#8217;m sure there are gotchas to this approach, but it have worked so far (approx. 5 hrs)&#8230;</p>
<p>I have not needed /bluedragon/jars + /bluedragon/scripts yet, so they are not mapped or linked.</p>
<p>1. Download the openbluedragon.war distro.</p>
<p>2. Unzip the WAR package to your directory of choice, for simplicity let&#8217;s make this /path/to/openbd/</p>
<p>3. In /tomcat/conf/catalina.properties, make sure the OpenBD libs are available to the shared class loader (and therefore all apps) in Tomcat, like this:</p>
<p>shared.loader=/path/to/openbd/WEB-INF/lib/*.jar</p>
<p>4. Copy both /path/to/openbd/WEB-INF/web.xml and /path/to/openbd/WEB-INF/bluedragon/bluedragon.xml to yourwebapp/WEB-INF/</p>
<p>5. Change the attribute BLUEDRAGON_XML in web.xml to /WEB-INF/bluedragon.xml</p>
<p>That&#8217;s it. You now have a centralized place for OpenBD runtime files, and full config options pr. webapp. Also, when a new version arrives, just unzip (explode) .war file to /path/to/openbd/ and you are good to go <img src='http://blog.lazyapps.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lazyapps.com/2008/05/07/openbd-tomcat-example-setup/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.769 seconds -->
