javax.servlet.ServletException: > org.jruby.rack.RackInitializationException: undefined method > `delegate' for ActiveRecord::NamedScope::Scope:Class from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105:in > `each' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:35 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' ... 10 levels... from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `instance_eval' from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `initialize' from :3 at > org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:42) >

Oracle Community | 392 Guest | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cannot deploy jRuby/Rails app to cluster node

    Oracle Community | 8 years ago | 392 Guest
    javax.servlet.ServletException: > org.jruby.rack.RackInitializationException: undefined method > `delegate' for ActiveRecord::NamedScope::Scope:Class from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105:in > `each' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:35 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' ... 10 levels... from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `instance_eval' from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `initialize' from :3 at > org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:42) >
  2. 0

    NetBeans Forums - java.lang.NullPointerException deploying war file to glassfish v2 on nb 6.5

    netbeans.org | 1 year ago
    javax.servlet.ServletException: org.jruby.rack.RackInitializationException: exit from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:38:in `run' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails_boot.rb:20:in `run' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:11:in `boot!' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:109 from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:11:in `require' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/environment.rb:11 from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/environment.rb:29:in `load' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails.rb:29:in `load_environment' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails.rb:152:in `new' from <script>:3 from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/rack/builder.rb:22:in `instance_eval' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/rack/builder.rb:22:in `initialize' from <script>:3
  3. 0

    NetBeans Forums - java.lang.NullPointerException deploying war file to glassfish v2 on nb 6.5

    netbeans.org | 1 year ago
    javax.servlet.ServletException: org.jruby.rack.RackInitializationException: exit from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:38:in `run' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails_boot.rb:20:in `run' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:11:in `boot!' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:109 from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/boot.rb:11:in `require' from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/environment.rb:11 from C:\Program Files\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\Jtest\WEB-INF/config/environment.rb:29:in `load' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails.rb:29:in `load_environment' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/jruby/rack/rails.rb:152:in `new' from <script>:3 from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/rack/builder.rb:22:in `instance_eval' from C:/Program Files/glassfish-v2ur2/domains/domain1/generated/jsp/j2ee-modules/Jtest/loader/rack/builder.rb:22:in `initialize' from <script>:3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      > org.jruby.rack.RackInitializationException: undefined method > `delegate' for ActiveRecord::NamedScope::Scope:Class from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105:in > `each' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:105 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:35 > from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' from /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/applications/j2ee-modules/jRubyTest/WEB-INF/gems/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' ... 10 levels... from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `instance_eval' from > /export/home/sjsas/sjsas/sges-2_1/nodeagents/as1-agent/jruby1/generated/jsp/j2ee-modules/jRubyTest/loader/rack/builder.rb:22:in > `initialize' from :3 at > org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:42) >

      at org.jruby.rack.RackServletContextListener.contextInitialized()
    2. JRuby-Rack
      RackServletContextListener.contextInitialized
      1. org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:38)
      1 frame
    3. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
      2 frames
    4. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:353)
      1 frame