Hi All:
I'm having problems deploying a jRuby application to Glassfish v2.1.
It looks like I can sdeploy a JRuby application to the "server"
instance but in a multi-node multi -cluster environment it appears
that if I attempt to deploy a JRuby application to an instances that
is controlled via a node agent I get a rails error:
application initialization failed javax.servlet.ServletException:
org.jruby.rack.RackInitializationException: undefined method
`delegate' for ActiveRecord::NamedScope::Scope:Class
at WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/
named_scope.rb:105:in `each'
at WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/
named_scope.rb:105
at WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/
named_scope.rb:31:in `require'
at loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
at WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:35
at WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:31:in
`require'
at loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
at WEB-INF/gems/gems/rails-2.2.2/lib/initializer.rb:256:in
`require_frameworks' ... 10 levels...
at loader/rack/builder.rb:22:in `instance_eval'
at loader/rack/builder.rb:22:in `initialize'
.....
Has anyone got Ruby on Rails apps deployed to an instance in Glassfish
v2.1 that is not the "server" instance?
Thanks,
Rich