<?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: Living on the edge: JRuby + Merb + Glassfish</title>
	<atom:link href="http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/</link>
	<description>on Rails</description>
	<lastBuildDate>Tue, 02 Mar 2010 19:09:50 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Running Merb on JRuby 1.2 and Glassfish 2.1 &#187; Carl Mercier&#8217;s blog</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-12416</link>
		<dc:creator>Running Merb on JRuby 1.2 and Glassfish 2.1 &#187; Carl Mercier&#8217;s blog</dc:creator>
		<pubDate>Mon, 30 Mar 2009 19:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-12416</guid>
		<description>[...] need to give credit to this page, without which I&#8217;d still be fighting with this whole [...]</description>
		<content:encoded><![CDATA[<p>[...] need to give credit to this page, without which I&#8217;d still be fighting with this whole [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes Gamble</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-264</link>
		<dc:creator>Wes Gamble</dc:creator>
		<pubDate>Thu, 31 Jul 2008 22:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-264</guid>
		<description>Addition to #3 above.  Also, in that same tld file, you have to fix the &quot;bodycontent&quot; elements to be &quot;body-content&quot;.

Mod. to #1 - you can void this by modifying the config.dirs element in the warble.rb file (in config dir.) to exclude the &quot;lib&quot; and &quot;vendor&quot; directories.</description>
		<content:encoded><![CDATA[<p>Addition to #3 above.  Also, in that same tld file, you have to fix the &#8220;bodycontent&#8221; elements to be &#8220;body-content&#8221;.</p>
<p>Mod. to #1 &#8211; you can void this by modifying the config.dirs element in the warble.rb file (in config dir.) to exclude the &#8220;lib&#8221; and &#8220;vendor&#8221; directories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes Gamble</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-263</link>
		<dc:creator>Wes Gamble</dc:creator>
		<pubDate>Thu, 31 Jul 2008 21:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-263</guid>
		<description>I was able to get this working with the merb 0.9.3 gem, warbler 0.9.10 gem, and the following extra steps.  I&#039;m deploying to WebSphere Community Edition 2.1.0 (basically Apache Geronimo).

1) The &quot;jruby -S warble&quot; command will fail because it&#039;s expecting a Rails project structure.  You have to create a &quot;lib&quot; and a &quot;vendor&quot; directory in your project to enable the WAR creation task to finish.

2) This is a repeat of the Nick&#039;s comment above - put config.webxml.booter = :merb to force the required changes to web.xml.

3) This was the tricky part.  The jruby-rack.tld file embedded in the jruby-rack-0.9.1.jar file (which you will find in tmp/war/WEB-INF/lib/jruby-rack-0.9.1 after your first warble attempt) doesn&#039;t validate and Websphere throws this weird ass GBean error.  To fix it, you have to unpack the jruby-rack-0.9.1.jar file, and modify the META-INF/jruby-rack.tld file.  You have to change the tagclass elements to be &quot;tag-class&quot; (don&#039;t forget the closing tags), and then repack up the jruby-rack-0.9.1.jar file and place it in tmp/war/WEB-INF/lib.  When you rerun &quot;jruby -S warble&quot; you should be able to deploy the WAR file (into Websphere at least).</description>
		<content:encoded><![CDATA[<p>I was able to get this working with the merb 0.9.3 gem, warbler 0.9.10 gem, and the following extra steps.  I&#8217;m deploying to WebSphere Community Edition 2.1.0 (basically Apache Geronimo).</p>
<p>1) The &#8220;jruby -S warble&#8221; command will fail because it&#8217;s expecting a Rails project structure.  You have to create a &#8220;lib&#8221; and a &#8220;vendor&#8221; directory in your project to enable the WAR creation task to finish.</p>
<p>2) This is a repeat of the Nick&#8217;s comment above &#8211; put config.webxml.booter = :merb to force the required changes to web.xml.</p>
<p>3) This was the tricky part.  The jruby-rack.tld file embedded in the jruby-rack-0.9.1.jar file (which you will find in tmp/war/WEB-INF/lib/jruby-rack-0.9.1 after your first warble attempt) doesn&#8217;t validate and Websphere throws this weird ass GBean error.  To fix it, you have to unpack the jruby-rack-0.9.1.jar file, and modify the META-INF/jruby-rack.tld file.  You have to change the tagclass elements to be &#8220;tag-class&#8221; (don&#8217;t forget the closing tags), and then repack up the jruby-rack-0.9.1.jar file and place it in tmp/war/WEB-INF/lib.  When you rerun &#8220;jruby -S warble&#8221; you should be able to deploy the WAR file (into Websphere at least).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes Gamble</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-261</link>
		<dc:creator>Wes Gamble</dc:creator>
		<pubDate>Thu, 31 Jul 2008 15:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-261</guid>
		<description>Do you remember what the problem was with the 0.9.3 merb gem?</description>
		<content:encoded><![CDATA[<p>Do you remember what the problem was with the 0.9.3 merb gem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bet-at-home</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-144</link>
		<dc:creator>Bet-at-home</dc:creator>
		<pubDate>Fri, 18 Jul 2008 10:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-144</guid>
		<description>Nice blog, i have added it to my favourites, greetings</description>
		<content:encoded><![CDATA[<p>Nice blog, i have added it to my favourites, greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nando</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-58</link>
		<dc:creator>nando</dc:creator>
		<pubDate>Mon, 07 Jul 2008 16:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-58</guid>
		<description>To get merb running from scratch I&#039;ve also needed these gems:

- mongrel
- builder
- haml
- ruby2ruby

Thanks for the post!</description>
		<content:encoded><![CDATA[<p>To get merb running from scratch I&#8217;ve also needed these gems:</p>
<p>- mongrel<br />
- builder<br />
- haml<br />
- ruby2ruby</p>
<p>Thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Sieger</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-12</link>
		<dc:creator>Nick Sieger</dc:creator>
		<pubDate>Thu, 19 Jun 2008 03:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-12</guid>
		<description>You can also use the following snippet in config/warble.rb:

    config.webxml.booter = :merb

Which means you don&#039;t need the step of copying web.xml, as Warbler will handle it for you.

I hope to make this step more automatic in the future by attempting to detect a Merb vs. Rails application.</description>
		<content:encoded><![CDATA[<p>You can also use the following snippet in config/warble.rb:</p>
<p>    config.webxml.booter = :merb</p>
<p>Which means you don&#8217;t need the step of copying web.xml, as Warbler will handle it for you.</p>
<p>I hope to make this step more automatic in the future by attempting to detect a Merb vs. Rails application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-06-18 &#171; Mike Does Tech</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-6</link>
		<dc:creator>links for 2008-06-18 &#171; Mike Does Tech</dc:creator>
		<pubDate>Wed, 18 Jun 2008 00:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-6</guid>
		<description>[...] Nodeta » Blog Archive » Living on the edge: JRuby + Merb + Glassfish (tags: jruby merb) [...]</description>
		<content:encoded><![CDATA[<p>[...] Nodeta » Blog Archive » Living on the edge: JRuby + Merb + Glassfish (tags: jruby merb) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ab5tract</title>
		<link>http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/comment-page-1/#comment-5</link>
		<dc:creator>ab5tract</dc:creator>
		<pubDate>Fri, 30 May 2008 05:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nodeta.fi/?p=18#comment-5</guid>
		<description>Awesome work! This is should prove really useful for a lot of fringe folk.</description>
		<content:encoded><![CDATA[<p>Awesome work! This is should prove really useful for a lot of fringe folk.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
