jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-469

Upgrade to Rails 2.2, JRuby 1.2

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Infrastructure, Web
  • Labels:
    None

Description

Rails 2.2.2 is now thread-safe, so one JRuby instance can process many HTTP requests concurrently. It avoids initializing 4 high memory consumer instances.
Do not forget to close connections :

class ApplicationController < ActionController::Base
  after_filter :close_all_connections
  # ...
  
  private
  def close_all_connections()
    ActiveRecord::Base.clear_active_connections!
  end
end

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. SONAR-727 Upgrade to Rails 2.2

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 02/Dec/08 2:59 AM

http://www.trampolinesystems.com/blog/machines/2008/11/27/rails-22-jruby-jetty-win/

Show
Simon Brandhof added a comment - 02/Dec/08 2:59 AM http://www.trampolinesystems.com/blog/machines/2008/11/27/rails-22-jruby-jetty-win/
Hide
Permalink
Simon Brandhof added a comment - 18/Dec/08 8:03 AM

Could also upgrade to JRuby 1.6.

Show
Simon Brandhof added a comment - 18/Dec/08 8:03 AM Could also upgrade to JRuby 1.6.

People

  • Assignee:
    Unassigned
    Reporter:
    Simon Brandhof
Vote (0)
Watch (0)

Dates

  • Created:
    23/Nov/08 12:29 PM
    Updated:
    04/Apr/09 5:06 PM
    Resolved:
    04/Apr/09 5:06 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.