users@glassfish.java.net

Re: JRoR WAR deployment to GF3 fails

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Thu, 30 Jul 2009 22:05:01 -0700

Hi Hassan,

Hassan Schroeder wrote:
> Yeah, again :-)
>
> I thought I would be happy with the glassfish-gem approach which
> works wonderfully, but it turns out that I do need the full app server
> (have to use a Servlet Filter for corporate SSO).
>
> Anyway, this is most recent [GlassFish v3.0-Preview (build 47.4)]
> running on Mac OS Java 1.6.0_07, with JRuby 1.3.1. The app in
> question is Rails 2.1.0. I used the Update Tool to install the jruby
> and jruby-gems add ons. And I manually set the jruby.home using
> the `asadmin create-jvm-options` command.
>
>

v3 preview release had some issue[1] running rails application deployed
as WAR file with JRuby updatecenter install. The fix went in to jruby
1.3.1 UC pakcage but it also required fix in the JRuby container that
went in to v3 trunk after preview release.

So you can do either of the 2 things:

- Uninstall jruby and jruby-gems package using update tool and use your
own jruby installation and gem.
- Or you can simply use the latest b57 v3 promotion[2]

-vivek.

[1]https://glassfish.dev.java.net/issues/show_bug.cgi?id=8224
[2]http://download.java.net/glassfish/v3/promoted/glassfish-v3-preview-b57.zip
> The first error in the log at startup is <http://gist.github.com/158970>
> though the referenced file is definitely there.
>
> Any ideas?
>