I found the issue with establishing a new session deep in the bowels of RubyIO, called by FileUtils, called by PStore, called by CGI::Session, called by Rails...
IO#read returns different values for EOF according to how it's called. If called with a bare arg list, it returns "". If called with a Fixnum, it returns nil. Because we had it always returning "" a copy loop in FileUtils was looping forever.
With the fix, Rails is able to establish a new session (yay!) but recalling that session on a subsequent request blows up (boo!). So it's another step along, and IO#read is closer to correct.
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @
www.ventera.com
- [Jruby-devel] Railing along - sessions almost working Charles O Nutter
- [Jruby-devel] Re: Railing along - sessions almost wo... Charles O Nutter