Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rails/lib/fcgi_handler.rb calls Dispatcher.reset_application!

#3466

In rails 2.3.4, the fcgi_handler calls Dispatcher.reset_application!

However, Dispatcher doesn't have a reset_application! method -- it went away in rails 2.0 according to posts like: http://www.ruby-forum.com/topic/159026

This means that ror stops responding at times with an error 500.

Reported by The Doctor What · November 6th, 2009 @ 03:53 PM

State: invalid
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. The Doctor What
    The Doctor What
    [06/Nov/2009:04:02:12 :: 29488] Dispatcher failed to catch: undefined method `reset_application!
    ' for ActionController::Dispatcher:Class (NoMethodError)
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:219:in `restore!'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:207:in `reload!'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:177:in `reload_handler'
      /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `to_proc'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:77:in `call'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:77:in `each'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:77:in `process_each_request'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:76:in `catch'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:76:in `process_each_request'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:51:in `process!'
      /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/fcgi_handler.rb:23:in `process!'
      /opt/meta/velocity_overflow/public/dispatch.fcgi:24
    retrying after unhandled exception
    

    November 6th, 2009 @ 04:05 PM

  2. The Doctor What
    The Doctor What

    Sorry, forgot to say where that was from: My log/fastcgi.crash.log

    November 6th, 2009 @ 04:06 PM

  3. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    As far as I can tell, the FastCGI handler has been removed from Rails, also doing a grep for reset_application! shows that the method isn't being called anywhere within Rails.

    I think this ticket can safely be closed.

    June 20th, 2010 @ 04:28 PM

  4. Ryan Bigg
    Ryan Bigg
    • State changed from new to invalid

    June 21st, 2010 @ 02:01 AM