<?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: Glassfish v3 with Merb and Warbler</title>
	<atom:link href="http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/</link>
	<description>Doctor&#039;s orders</description>
	<lastBuildDate>Tue, 19 Jul 2011 18:09:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: LOTD #15: Deploying Merb application on GlassFish v3 using Warbler &#171; Miles to go &#8230;</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-1008</link>
		<dc:creator>LOTD #15: Deploying Merb application on GlassFish v3 using Warbler &#171; Miles to go &#8230;</dc:creator>
		<pubDate>Fri, 21 Aug 2009 23:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-1008</guid>
		<description>[...] GlassFish v3 with Merb and Warbler explains how to use Warbler to deploy a Merb application on GlassFish v3. Here is a quote&#160;from the blog: [...]</description>
		<content:encoded><![CDATA[<p>[...] GlassFish v3 with Merb and Warbler explains how to use Warbler to deploy a Merb application on GlassFish v3. Here is a quote&nbsp;from the blog: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-316</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 07 Dec 2008 13:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-316</guid>
		<description>@kris I had exactly the same problem. The problem is that GF can&#039;t find your JRuby install. I fixed the problem by starting GF with the -Djruby.home=/path/to/your/jruby
In my original post I had this wrong (did -DJRUBY_HOME) but since corrected it.
Let me know if this works!</description>
		<content:encoded><![CDATA[<p>@kris I had exactly the same problem. The problem is that GF can&#8217;t find your JRuby install. I fixed the problem by starting GF with the -Djruby.home=/path/to/your/jruby<br />
In my original post I had this wrong (did -DJRUBY_HOME) but since corrected it.<br />
Let me know if this works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-311</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Fri, 05 Dec 2008 16:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-311</guid>
		<description>Man... I can&#039;t figure out what I&#039;m doing wrong here.  After the following steps:

- updated the jruby merb spec to 1.0.3 just now

- copied the latest jruby-rack.jar (0.9.3) into the warble gems lib folder... also moved the 1.5 jruby jar into here as well since it has 1.4 from the gem.  If I &quot;jar tf  &#124; grep *.jar&quot; I see the proper libs:

WEB-INF/lib/jruby-rack-0.9.3.jar
WEB-INF/lib/jruby.jar

- create a simple app with &quot;jruby -S merb-gen core demo&quot;, no orm/jdbc to worry about so that i only have bare bones merb app (if i fire this up in jruby -S merb it loads fine)

- jruby -S warble config

- edit the warble.rb config file to remove invalid directories

- jruby -S warble war which creates the jar as expected

- start up GF: &quot;asadmin start-domain&quot;

- using the web frontend at localhost:4848 to deploy.  When I deploy the jar, I see in glassfish/domains/domain1/log/server.log file the error &quot;javax.servlet.ServletException: org.jruby.rack.RackInitializationException: no such file to load -- time&quot;  

The full stack trace is here: http://pastie.org/331932

I figured I&#039;d post the walk through in case I&#039;m doing something wrong.  I&#039;m running on OS X 10.5, not that should matter too much.  I would love to get this working.  

I&#039;m trying to do a POC to sell jruby + merb as there is a requirement to use a SQL server DB.  It&#039;s a deep rooted personal desire to *not* do this on Windows!  I was able to integrate merb to SQL Server nicely with Sequel&#039;s JDBC support, but I need to work out the deployment better beforehand.

Thanks again for posting this in the first place... it was tremendously helpful and timely!</description>
		<content:encoded><![CDATA[<p>Man&#8230; I can&#8217;t figure out what I&#8217;m doing wrong here.  After the following steps:</p>
<p>- updated the jruby merb spec to 1.0.3 just now</p>
<p>- copied the latest jruby-rack.jar (0.9.3) into the warble gems lib folder&#8230; also moved the 1.5 jruby jar into here as well since it has 1.4 from the gem.  If I &#8220;jar tf  | grep *.jar&#8221; I see the proper libs:</p>
<p>WEB-INF/lib/jruby-rack-0.9.3.jar<br />
WEB-INF/lib/jruby.jar</p>
<p>- create a simple app with &#8220;jruby -S merb-gen core demo&#8221;, no orm/jdbc to worry about so that i only have bare bones merb app (if i fire this up in jruby -S merb it loads fine)</p>
<p>- jruby -S warble config</p>
<p>- edit the warble.rb config file to remove invalid directories</p>
<p>- jruby -S warble war which creates the jar as expected</p>
<p>- start up GF: &#8220;asadmin start-domain&#8221;</p>
<p>- using the web frontend at localhost:4848 to deploy.  When I deploy the jar, I see in glassfish/domains/domain1/log/server.log file the error &#8220;javax.servlet.ServletException: org.jruby.rack.RackInitializationException: no such file to load &#8212; time&#8221;  </p>
<p>The full stack trace is here: <a href="http://pastie.org/331932" rel="nofollow">http://pastie.org/331932</a></p>
<p>I figured I&#8217;d post the walk through in case I&#8217;m doing something wrong.  I&#8217;m running on OS X 10.5, not that should matter too much.  I would love to get this working.  </p>
<p>I&#8217;m trying to do a POC to sell jruby + merb as there is a requirement to use a SQL server DB.  It&#8217;s a deep rooted personal desire to *not* do this on Windows!  I was able to integrate merb to SQL Server nicely with Sequel&#8217;s JDBC support, but I need to work out the deployment better beforehand.</p>
<p>Thanks again for posting this in the first place&#8230; it was tremendously helpful and timely!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-304</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-304</guid>
		<description>@Kris You are running into the &#039;out dated JRuby-Rack&#039; problem. If you upgrade jruby-rack to 0.9.3 you problem will go away. I was using Merb 1.0.3 at the time.</description>
		<content:encoded><![CDATA[<p>@Kris You are running into the &#8216;out dated JRuby-Rack&#8217; problem. If you upgrade jruby-rack to 0.9.3 you problem will go away. I was using Merb 1.0.3 at the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Kessler</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-303</link>
		<dc:creator>Jacob Kessler</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-303</guid>
		<description>I must be too used to playing around with trunk builds, then. It works with the version of Glassfish I&#039;m using, so at the very least it will be in the next Glassfish release. Gem 0.9.1 should also be out today, if that helps.</description>
		<content:encoded><![CDATA[<p>I must be too used to playing around with trunk builds, then. It works with the version of Glassfish I&#8217;m using, so at the very least it will be in the next Glassfish release. Gem 0.9.1 should also be out today, if that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-302</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Thu, 04 Dec 2008 16:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-302</guid>
		<description>Hi, which version of merb are you running?  I&#039;m following your instructions, however; Merb keeps failing upon deployment in GF with:

org.jruby.rack.RackInitializationException: undefined method `frozen!&#039; for Merb:Module
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/jruby/rack/merb.rb:20:in `load_environment&#039;
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/jruby/rack/merb.rb:80:in `new&#039;
	from :3
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/rack/builder.rb:22:in `instance_eval&#039;
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/rack/builder.rb:22:in `initialize&#039;
	from :3

I&#039;m using GFv3-prelude, and merb-core 1.0.1 gem at the moment.  I will try using the latest/greatest jruby-rack and runtime as well.  Thanks for the tutorial... I&#039;d love to get this working as it makes deployment to server very easy.</description>
		<content:encoded><![CDATA[<p>Hi, which version of merb are you running?  I&#8217;m following your instructions, however; Merb keeps failing upon deployment in GF with:</p>
<p>org.jruby.rack.RackInitializationException: undefined method `frozen!&#8217; for Merb:Module<br />
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/jruby/rack/merb.rb:20:in `load_environment&#8217;<br />
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/jruby/rack/merb.rb:80:in `new&#8217;<br />
	from :3<br />
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/rack/builder.rb:22:in `instance_eval&#8217;<br />
	from /Users/Kris/workspace/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/gtg/loader/rack/builder.rb:22:in `initialize&#8217;<br />
	from :3</p>
<p>I&#8217;m using GFv3-prelude, and merb-core 1.0.1 gem at the moment.  I will try using the latest/greatest jruby-rack and runtime as well.  Thanks for the tutorial&#8230; I&#8217;d love to get this working as it makes deployment to server very easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-300</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 04 Dec 2008 07:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-300</guid>
		<description>@Jacob I don&#039;t believe that works for Merb apps. I seem to recall that Glassfish in that scenario complaint about missing source files (config/environment.rb). And I saw in the log output some RailsDeployer calls, hardly seems Merb geared.</description>
		<content:encoded><![CDATA[<p>@Jacob I don&#8217;t believe that works for Merb apps. I seem to recall that Glassfish in that scenario complaint about missing source files (config/environment.rb). And I saw in the log output some RailsDeployer calls, hardly seems Merb geared.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Kessler</title>
		<link>http://www.rubytutorials.net/2008/12/03/glassfish-v3-with-merb-and-warbler/#comment-299</link>
		<dc:creator>Jacob Kessler</dc:creator>
		<pubDate>Thu, 04 Dec 2008 00:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubytutorials.net/?p=20#comment-299</guid>
		<description>If you want to deploy a non-WAR merb app on v3 prelude, you should be able to use asadmin, just like the other supported containers. Run &quot;asadmin /path/to/your/app&quot; and it should correctly deploy.</description>
		<content:encoded><![CDATA[<p>If you want to deploy a non-WAR merb app on v3 prelude, you should be able to use asadmin, just like the other supported containers. Run &#8220;asadmin /path/to/your/app&#8221; and it should correctly deploy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

