Jruby 1.6.0.RC2 + Rails3 + Glassfish-gem = big fail -
having problems getting glassfish run on server. jruby absoutely maddening begin with, killing me.
i have pretty complex app, won't go many details, other rails2 version working under jruby 1.5.1.
when start , first hit on server following error:
feb 19, 2011 12:20:14 com.sun.grizzly.jruby.rackgrizzlyadapter dispatchrequest warning: (nomethoderror) undefined method `call' nil:nilclass org.jruby.exceptions.raiseexception: (nomethoderror) undefined method `call' nil:nilclass @ rack::handler::grizzly.call(/usr/local/rvm/gems/jruby-1.6.0.rc2/gems/glassfish-1.0.3.dev-universal-java/lib/rack/handler/grizzly.rb:55)
i have tried starting glassfish every way since sunday , have swapped out various gems. seems bundler 1.0.10 has issues. broke rails2 app.
any insite anywhere start looking appreciated.
the app works fine when running webrick.
the jruby stack still has long way go. figured debacle out. turns out rackup.rb file pulled glassfish yet unidentified source (i hacked , moved on) has logic supports rack in development, test or production. using multistage environment test things out. had a, shocker, staging environment. worked fine under old glassfish detected , ran rails separately created host of issues rails3 application running config.ru rack file.
i post update blog when nailed down correctly. can't monkey patch because glassfish loads installed gem location not own project or bundle repository.
Comments
Post a Comment