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.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154) >

Oracle Community | 392 Guest | 8 years ago
  1. 0

    cannot deploy jRuby/Rails app to cluster node

    Oracle Community | 8 years ago | 392 Guest
    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.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154) >
  2. 0

    java-sonar-general - Re: Re: Problems with setup upgrade step and SQL Server - msg#00295 - Recent Discussion OSDir.com

    osdir.com | 11 months ago
    org.jruby.rack.RackInitializationException: org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.server.startup.JdbcDriverDeployer.start()', instance 'org.sonar.server.startup.JdbcDriverDeployer@1ba1f28e, java.lang.RuntimeException: wrapper|?from org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java:132:in `monitorAndThrowReflectionLifecycleException'|?from org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java:115:in `invokeMethod'|?from org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java:89:in `start'|?from org/picocontainer/injectors/AbstractInjectionFactory.java:84:in `start'|?from org/picocontainer/behaviors/AbstractBehavior.java:169:in `start'|?from org/picocontainer/behaviors/Stored.java:132:in `start'|?from org/picocontainer/behaviors/Stored.java:110:in `start'|?from org/picocontainer/DefaultPicoContainer.java:996:in `potentiallyStartAdapter'|?from org/picocontainer/DefaultPicoContainer.java:989:in `startAdapters'|?from org/picocontainer/DefaultPicoContainer.java:746:in `start'|?from org/sonar/api/platform/ComponentContainer.java:70:in `startComponents'|?from org/sonar/server/platform/Platform.java:230:in `executeStartupTasks'|?from org/sonar/server/platform/Platform.java:115:in `start'|?from /home/localuser/sonar-2.12/war/sonar-server/WEB-INF/lib/database_version.rb:64:in `upgrade_and_start'|?from /home/localuser/sonar-2.12/war/sonar-server/WEB-INF/lib/database_version.rb:75:in `automatic_setup'|?from /home/localuser/sonar-2.12/war/sonar-server/WEB-INF/config/environment.rb:108:in `(root)'|?from org/jruby/RubyKernel.java:1063:in `load'|?from /home/localuser/sonar-2.12/war/sonar-server/WEB-INF/config/environment.rb:53:in `load_environment'|?from file:/home/localuser/sonar-2.12/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:46:in `to_app'|?from file:/home/localuser/sonar-2.12/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:191:in `new'|?from <script>:2:in `(root)'|?from org/jruby/RubyKernel.java:2021:in `instance_eval'|?from file:/home/localuser/sonar-2.12/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in `initialize'|?from <script>:2:in `(root)'|
  3. 0

    Reflection security exception

    Google Groups | 6 years ago | Michael Jackson
    org.jruby.rack.RackInitializationException: unable to create shared application instance
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IO error -- action_controller/base

    Google Groups | 7 years ago | mschlimp
    org.jruby.rack.RackInitializationException: IO error -- action_controller/base from file:/base/data/home/apps/grasshopperportal/0.339704143403480118/ WEB-INF/lib/gems.jar!/bundler_gems/jruby/1.8/gems/rails-2.3.5/lib/ initializer.rb:144:in `process' from file:/base/data/home/apps/grasshopperportal/0.339704143403480118/ WEB-INF/lib/gems.jar!/bundler_gems/jruby/1.8/gems/rails-2.3.5/lib/ initializer.rb:113:in `run' from /base/data/home/apps/grasshopperportal/0.339704143403480118/ config/environment.rb:9 from /base/data/home/apps/grasshopperportal/0.339704143403480118/ config/environment.rb:12:in `require' from config.ru:12
  6. 0

    Twitter + AppEngine/JRuby

    Google Groups | 7 years ago | takeru
    org.jruby.rack.RackInitializationException: unable to create shared application instance

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154) >

      at org.jruby.rack.DefaultRackApplicationFactory.getApplication()
    2. JRuby-Rack
      SharedRackApplicationFactory.init
      1. org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:53)
      2. org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:30)
      2 frames