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:
- 260 issues resolved
- Large IO refactoring
- Less memory than previous release
- Control total number of JIT'd methods
- Support a JIT cache between runtimes to return permgen
- 50-70% reduction in generated methods
Here are the steps for quick verification on v3 gem ...
- Download JRuby
1.1 RC2.
- Install Rails and create a simple Rails application as
described in TOTD
#24.
- 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
- 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:

and the application output looks like exactly as expected:

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
Posted
by Arun Gupta in web2.0 |

|

|

|

|

|
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 07:49 PM PST #
Posted by Arun Gupta's Blog on March 11, 2008 at 01:03 PM PDT #