This is 1.0.0 release of GlassFish gem. This release is based on
GlassFish
v3 final https://glassfish.dev.java.net/downloads/v3-final.html
release.
Checkout the release notes http://glassfishgem.rubyforge.org/ and
reporthttp://rubyforge.org/tracker/?atid=21080&group_id=5450&func=browseany
issue or send us your comments on the
forum http://rubyforge.org/forum/forum.php?forum_id=21309.
New features in this release
-
Implemented using GlassFish v3 embedded API.
-
Startup time improvement. Almost 15-18% faster startup.
-
Fully Rack compliant
-
Support for running GlassFish gem by passing code block
GlassFish::Server.start(:address=>“127.0.0.1”, :port=>4000) do
use Rack::CommonLogger
use Rack::ShowExceptions
map “/hello” do
use Rack::Lint
run HelloWorld.new
run Proc.new {[200, {“Content-Type” => “text/html”}, “Hello”]}
end
end -
Lots of fixes for Sinatra support (extensions, middleware etc.)
-
New -a CLI switch to bind to a given IP address
-
Grizzly (NIO based HTTP library) configuration thru glassfish.yml
$ gfrake config
Then look inside config/glassfish.yml.
-
Improved support for running Rackup scripts
Bug fixes
Following bugs form the rubyforge issue tracker:
http://rubyforge.org/tracker/?atid=21080&group_id=5450&func=browse
25812http://rubyforge.org/tracker/index.php?func=detail&aid=25812&group_id=5450&atid=21080
ActionController::Request.remote_ip is not set
26147http://rubyforge.org/tracker/index.php?func=detail&aid=26147&group_id=5450&atid=21080
Setting Hostname IP Address Incorrectly
26149http://rubyforge.org/tracker/index.php?func=detail&aid=26149&group_id=5450&atid=21080
Glassfish Gem fails to load Rails application in the production
environment
26208http://rubyforge.org/tracker/index.php?func=detail&aid=26208&group_id=5450&atid=21080
Can’t get glassfish to start rails in thread-safe mode
26821http://rubyforge.org/tracker/index.php?func=detail&aid=26821&group_id=5450&atid=21080
Error when running rack app
26866http://rubyforge.org/tracker/index.php?func=detail&aid=26866&group_id=5450&atid=21080
JVM crash probably due to log file running over limit
26935http://rubyforge.org/tracker/index.php?func=detail&aid=26935&group_id=5450&atid=21080
rack.run_once not getting set
27030http://rubyforge.org/tracker/index.php?func=detail&aid=27030&group_id=5450&atid=21080
Extending CLASSPATH poisons glassfish gem?
27125http://rubyforge.org/tracker/index.php?func=detail&aid=27125&group_id=5450&atid=21080
Application Environment not passed to Sinatra