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.

There was a problem

This project is archived and is in readonly mode.

Memcached initialization errors on JRuby

#4921

Actually this is not a bug in rails but a memcached java client, anyway I think it's worth preventing it.

The memcache-client for jruby assumes that the server addresses include the port but the default servers list that rails uses doesn't do it and the client raises an initialization error.

Changing just two lines of code this error can be avoided. I include the patch for doing it.

Reported by calavera · June 21st, 2010 @ 05:36 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Nick Sieger
  2. Repository
    Repository
    • State changed from new to resolved

    (from [b8330a22619f647f16a671c1ad58730d8896f806]) preventing memcached initialization errors with default servers list [#4921 Memcached initialization errors on JRuby state:resolved]

    As of this writing the JRuby client does not support a default port.

    Signed-off-by: Xavier Noria fxn@hashref.com
    http://github.com/rails/rails/commit/b8330a22619f647f16a671c1ad5873...

    June 22nd, 2010 @ 03:32 PM