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
  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 | 12 months 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

  5. 0

    500 "Server error" when use User Management Console

    Oracle Community | 9 years ago | 542020
    javax.servlet.ServletException: Cannot initialize Hyperion DSF. Error: Missing class: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl Dependent class: com.hyperion.workflow.engine.server.services.modelrepository.WfProductSchemaParser Loader: SharedServices9.web.interop:0.0.0 Code-Source: /u0/SOA/SOA_Suite/j2ee/Hyperion/applications/SharedServices9/interop/WEB-INF/lib/wf_eng_server.jar Configuration: WEB-INF/lib/ directory in /u0/SOA/SOA_Suite/j2ee/Hyperion/applications/SharedServices9/interop/WEB-INF/lib The missing class is not available from any code-source or loader in the system.
  6. 0

    packing jar at ear level very urgent

    Oracle Community | 8 years ago | 544269
    javax.servlet.ServletException: Error instantiating servlet 'action' (servlet class not found, make sure it exists at C:\oc4j\pdk101202_oc4j_extended\j2ee\home\applications\adcenter\sales-webapp/WEB-INF/classes/org/apache/struts/action/ActionServlet.class, in a jar in C:\oc4j\pdk101202_oc4j_extended\j2ee\home\applications\adcenter\sales-webapp/WEB-INF/lib/, in an orion-web.xml specified classpath or global server classpath)

    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. 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