Rails 2.3.2 and cache sweepers ------------------------------ Key: JRUBY-3523 URL: http://jira.codehaus.org/browse/JRUBY-3523 Project: JRuby Issue Type: Bug Components: Rails WAR Deployment Environment: Mac OS X Reporter: Miika Leppänen Priority: Critical
I'm updating project to use Rails 2.3.2 and JRuby 1.2.0. What I have done so far is: - updated jruby-complete-1.2.0.jar and latest version of jruby-rack (last update 2009-02-26) to warbler/lib - followed instructions in http://wiki.jruby.org/wiki/Rails_2.3.2 - added {{config.preload_frameworks = true}} to environment.rb Looks like everything except cache sweepers are working. When deployed to Tomcat and trying to use controller that has cache_sweeper defined, following error occurs: {code} NameError (uninitialized constant ActionController::Caching::Sweeper): gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant' ... {code} I found an issue about that [http://rails.lighthouseapp.com/projects/8994/tickets/1977], but didn't find any help from suggested workarounds. The application works with MRI mongrel and JRuby WEBrick and fails only with Tomcat. And if I try to run it in production mode with sweeper enabled in Tomcat, the application hangs when booting, tomcat takes 100% cpu and runs out of memory while later. I tried also with jruby-complete-1.1.6.jar and got the same error in Tomcat. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email