GlassFish v3 gem on JRuby 1.1 RC2

JRuby 1.1 RC2 was released earlier today an GlassFish v3 gem works like a charm on it :)

Read the complete announcement here. The key features of RC2 are:
  1. 260 issues resolved
  2. Large IO refactoring
  3. Less memory than previous release
    1. Control total number of JIT'd methods
    2. Support a JIT cache between runtimes to return permgen
    3. 50-70% reduction in generated methods
Here are the steps for quick verification on v3 gem ...
  1. Download JRuby 1.1 RC2
  2. Install Rails and create a simple Rails application as described in TOTD #24.
  3. Install GlassFish v3 gem using the command as shown below:

    bin/jruby -S gem install glassfish             
    JRuby limited openssl loaded. gem install jruby-openssl for full support.
    http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
    Successfully installed glassfish-0.1.1-universal-java
    1 gem installed
  4. And now the simple application can be easily deployed on GlassFish gem as:

    jruby -S glassfish_rails hello

    Notice this command needs to be given from the parent directory of the application. The Applcation environment is as shown below:

    JRuby 1.1 RC2 Application Environment

    and the application output looks like exactly as expected:

    JRuby 1.1 RC2 Application Output
More details about GlassFish and JRuby can be found @ GlassFish wiki and JRuby wiki. Help us test your application on the v3 gem and file issues in JIRA or GlassFish Issue Tracker.

Please use the gem and send us feedback on GlassFish forums, dev@glassfish or gem mailing list.

Technorati: jruby ruby rubyonrails glassfish v3 gem
Comments:

I happened to run across a show-stopping problem (for me - a complete noob in this area) on SXDE 1/08. It seems as though jruby tries to \*create\* /dev/null rather than just opening it for writing.

http://jira.codehaus.org/browse/JRUBY-2125

I did not have this problem on Windows.

BTW, is it expected that drag and drop of just about all of the jMaki widgets does not work with 1.1? I spent a lot of time this weekend trying to figure out a rather large set of tools (NetBeans, jruby, jMaki, Phobos, MySQL, ...) and this was the straw that made me stop looking at jruby. I suspect that it has something to do with the fact that when a new view is created it creates a .erb file rather than a .rhtml file. Any pointers to what is going on here would be most appreciated.

Thank you very much for your frequent blog entries and screencasts. They have been very helpful.

Posted by Mike Gerdts on February 17, 2008 at 11:49 AM PST #

[Trackback] BitNami provides easy-to-use, integrated and multiplatform install bundles for different open source apps. They released JRubyStack last week which includes JRuby 1.1 RC2, Rails 2.0.2, GlassFish v3 Gem 0.1.1, MySQL 5.0.45 and some other miscellaneous c...

Posted by Arun Gupta's Blog on March 11, 2008 at 06:03 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today