GlassFish v3 Gem - 0.1.1 available
By arungupta on Feb 13, 2008
What's New ? - Mainly alignment with Rails convention
- The name of the gem is changed from "GlassFish" to "glassfish".
- The default port number is 3000.
- Applications are deployed at root context ("/"). So the
default application is now deployed "
http://localhost:3000/home/index" instead of "
- The number of concurrent requests can now be set using a
command-line argument (instead of "-J-Djruby.runtime"). So 2 Rails
instances can be created using the following command:
jruby -S glassfish_rails temp -n 2
- Rails instances are created in parallel to improve the startup time of the gem.
If you installed 0.1.0 version of the gem, then you need to uninstall using the following command:
bin/jruby -S gem uninstall GlassFish
Successfully uninstalled GlassFish-0.1.0-java
Remove executables and scripts for
'glassfish_rails, asadmin, asadmin.bat' in addition to the gem? [Yn] Y
And then install the new gem using the following command:
bin/jruby -S gem install glassfish
JRuby limited openssl loaded. gem install jruby-openssl for full support.
Successfully installed glassfish-0.1.1-universal-java
1 gem installed
And for a fresh check out of JRuby trunk, here is the list of gems shown:
bin/jruby -S gem list
\*\*\* LOCAL GEMS \*\*\*
Read more details about the this newly released gem here.
All the latest information about the gem can be found at GlassFish JRuby wiki or JRuby wiki.
Please use the gem and send us feedback on GlassFish forums, dev@glassfish or gem mailing list.
File issues in JIRA or GlassFish Issue Tracker.
Technorati: ruby jruby glassfish v3 gem rubyforge rubyonrails