<?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"
	>
<channel>
	<title>Comments on: How to start Open BlueDragon in MacOS X</title>
	<atom:link href="http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/</link>
	<description>Enrich people's lives and web experience</description>
	<pubDate>Thu, 20 Nov 2008 17:58:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-97</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 21:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-97</guid>
		<description>One thing, the /app1, /app2  and /bluedragon directories would reside under the /openbd.war directory.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->One thing, the /app1, /app2  and /bluedragon directories would reside under the /openbd.war directory.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-96</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 21:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-96</guid>
		<description>Not really, in your wepapp directory you'd have something like this:
/webapp
   /openbd.war
     /app1
     /app2
    /bluedragon
etc.

In the web applications named app1 and app2, the only files in there would be the .cfm and the other web files. When upgrade time comes you'd stop the server, then replace the /bluedragon directory and the web.xml file in the /openbd.war directory.

That said there are a number of advantages to having separate bluedragon instances for each app. For instance if one app takes down its instance, the other ones keep serving .cfm files without going down themselves. It also allows for differing security contexts  etc.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Not really, in your wepapp directory you&#8217;d have something like this:<br />
/webapp<br />
   /openbd.war<br />
     /app1<br />
     /app2<br />
    /bluedragon<br />
etc.</p>
<p>In the web applications named app1 and app2, the only files in there would be the .cfm and the other web files. When upgrade time comes you&#8217;d stop the server, then replace the /bluedragon directory and the web.xml file in the /openbd.war directory.</p>
<p>That said there are a number of advantages to having separate bluedragon instances for each app. For instance if one app takes down its instance, the other ones keep serving .cfm files without going down themselves. It also allows for differing security contexts  etc.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SixSigns</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-95</link>
		<dc:creator>SixSigns</dc:creator>
		<pubDate>Mon, 05 May 2008 20:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-95</guid>
		<description>Ok. understood. But then when there is a new version of bd we will have to update each instance. I highly doubt that this is "good practice", or?</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Ok. understood. But then when there is a new version of bd we will have to update each instance. I highly doubt that this is &#8220;good practice&#8221;, or?<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-94</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 20:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-94</guid>
		<description>Sorry I misread your post. From what I understand, you have to explode the war file, rename that to myapplication.war and then deploy the exploded directory with your apps in each of its own subdirectories.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Sorry I misread your post. From what I understand, you have to explode the war file, rename that to myapplication.war and then deploy the exploded directory with your apps in each of its own subdirectories.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-93</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 20:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-93</guid>
		<description>I believe so yes. That's basically how I deploy on my dev box. Given that Tomcat can handle exploded wars, you should be able to do that without too much trouble.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->I believe so yes. That&#8217;s basically how I deploy on my dev box. Given that Tomcat can handle exploded wars, you should be able to do that without too much trouble.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SixSigns</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-92</link>
		<dc:creator>SixSigns</dc:creator>
		<pubDate>Mon, 05 May 2008 15:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-92</guid>
		<description>Ok, I have not found the equivalent of the XML file (yet) but just one question before:

Couldn't I just take the openbluedragon.war file, rename it to "myapplications.war". Starup Tomcat, it will create a "myapplications" folder for me and deploy all my applications in that folder then?

Sorry, but the J2EE server stuff it rather new currently.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Ok, I have not found the equivalent of the XML file (yet) but just one question before:</p>
<p>Couldn&#8217;t I just take the openbluedragon.war file, rename it to &#8220;myapplications.war&#8221;. Starup Tomcat, it will create a &#8220;myapplications&#8221; folder for me and deploy all my applications in that folder then?</p>
<p>Sorry, but the J2EE server stuff it rather new currently.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-91</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 15:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-91</guid>
		<description>sorry about that, it looks like your blog app rejected the xml snippets I included.

Inside the jboss-web The contents should look something like this:

&#60;jboss-web&#62;
	&#60;context-root&#62;/&#60;/context-root&#62;
&#60;/jboss-web&#62;

and if you want to serve it off a subdirectory off your context root:l

&#60;jboss-web&#62;
	&#60;context-root&#62;/foo&#60;/context-root&#62;
&#60;/jboss-web&#62;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->sorry about that, it looks like your blog app rejected the xml snippets I included.</p>
<p>Inside the jboss-web The contents should look something like this:</p>
<p>&lt;jboss-web&gt;<br />
	&lt;context-root&gt;/&lt;/context-root&gt;<br />
&lt;/jboss-web&gt;</p>
<p>and if you want to serve it off a subdirectory off your context root:l</p>
<p>&lt;jboss-web&gt;<br />
	&lt;context-root&gt;/foo&lt;/context-root&gt;<br />
&lt;/jboss-web&gt;<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-90</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 15:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-90</guid>
		<description>Remember what you have there, each application in your configuration is a separate BlueDragon instance. To do what you want you need to use an exploded war. I'm not sure how it works with Tomcat, since most of my experience has been with JBoss, but I imagine it should be similar. I just had a quick look through the Tomcat manual and it does handle exploded war directories.
What follows are what I use with JBoss:

Name your folder something appropriate, (I use BD.war) but make sure you have .war as part of the folder name.
Put the bluedragon and Web-INF directories into that folder.
In the WEB-INF folder, create a new xml file called jboss-web.xml - this file tells jboss what to serve. The contents should look something like this:

	/


Note you'll need to find the equivalent for Tomcat, but in the sections I read of the website, it looks like you can use something similar.
The jboss-web file tells JBoss to serve the app off the context root. However, if you want this war directory to be a subdirectory off of your root, you would specify that subdirectory name in the jboss-web.xml file, as in

	/foo


Essentially that's all you have to do. Then to serve multiple apps, all you have to do is drop the directory containing your app files (cfm's, htm's and media files) into your exploded war folder in the deploy directory.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Remember what you have there, each application in your configuration is a separate BlueDragon instance. To do what you want you need to use an exploded war. I&#8217;m not sure how it works with Tomcat, since most of my experience has been with JBoss, but I imagine it should be similar. I just had a quick look through the Tomcat manual and it does handle exploded war directories.<br />
What follows are what I use with JBoss:</p>
<p>Name your folder something appropriate, (I use BD.war) but make sure you have .war as part of the folder name.<br />
Put the bluedragon and Web-INF directories into that folder.<br />
In the WEB-INF folder, create a new xml file called jboss-web.xml - this file tells jboss what to serve. The contents should look something like this:</p>
<p>	/</p>
<p>Note you&#8217;ll need to find the equivalent for Tomcat, but in the sections I read of the website, it looks like you can use something similar.<br />
The jboss-web file tells JBoss to serve the app off the context root. However, if you want this war directory to be a subdirectory off of your root, you would specify that subdirectory name in the jboss-web.xml file, as in</p>
<p>	/foo</p>
<p>Essentially that&#8217;s all you have to do. Then to serve multiple apps, all you have to do is drop the directory containing your app files (cfm&#8217;s, htm&#8217;s and media files) into your exploded war folder in the deploy directory.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SixSigns</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-89</link>
		<dc:creator>SixSigns</dc:creator>
		<pubDate>Mon, 05 May 2008 14:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-89</guid>
		<description>Yes, I also deployed Tomcat on MacOS X and configured Apache to route to Tomcat for some applications. Works perfectly.
Just one thing hits me a little strange: Does each of my application has to have a bluedragon and a Web-Inf folder with all the configuration, drivers, etc in it? Isn't there a "global CFIDE" so to say?</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Yes, I also deployed Tomcat on MacOS X and configured Apache to route to Tomcat for some applications. Works perfectly.<br />
Just one thing hits me a little strange: Does each of my application has to have a bluedragon and a Web-Inf folder with all the configuration, drivers, etc in it? Isn&#8217;t there a &#8220;global CFIDE&#8221; so to say?<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-88</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 14:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-88</guid>
		<description>Exactly. Given that Tomcat is at the core of JBoss that's to be expected.

Right now I'm running an exploded war of the developers version of blue dragon for j2ee on my macBook at home. Its much easier than the Jetty option. Also given that Apache is integrated into OSX, its very easy to set up mod_jk and run Tomcat/JBoss via Apache.

regards,
larry</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Exactly. Given that Tomcat is at the core of JBoss that&#8217;s to be expected.</p>
<p>Right now I&#8217;m running an exploded war of the developers version of blue dragon for j2ee on my macBook at home. Its much easier than the Jetty option. Also given that Apache is integrated into OSX, its very easy to set up mod_jk and run Tomcat/JBoss via Apache.</p>
<p>regards,<br />
larry<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SixSigns</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-87</link>
		<dc:creator>SixSigns</dc:creator>
		<pubDate>Mon, 05 May 2008 12:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-87</guid>
		<description>Or Tomcat for that matter</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Or Tomcat for that matter<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry C. Lyons</title>
		<link>http://blog.sixsigns.com/2008/05/04/how-to-start-open-bluedragon-in-macos-x/#comment-86</link>
		<dc:creator>Larry C. Lyons</dc:creator>
		<pubDate>Mon, 05 May 2008 12:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sixsigns.com/?p=194#comment-86</guid>
		<description>Thanks for the suggestion, but for OSX users it may be easier to run JBOSS and just drop the war file into the deploy directory.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Thanks for the suggestion, but for OSX users it may be easier to run JBOSS and just drop the war file into the deploy directory.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
