I am using Rail 2.2.2 with JRuby 1.4 to deploy to a Tomcat 6 server. In looking through the Warbler documentation I am stumped on the proper settings for a couple of parameters. In my warble.rb file I see lines for: # config.webxml.jruby.min.runtimes = 2 # config.webxml.jruby.max.runtimes = 4 In my production.rb I have enabled threadsafe mode: # Enable threaded mode config.threadsafe! With threadsafe mode am I supposed to uncommend the min and max runtimes and give them a value? I think that (per the Warble doco) once I turned on threadsafe mode that Warbler would ignore the min and max settings but I am not sure that this is correct? Any advice you can offer is greatly appreciated.
on 2010-02-07 01:39
on 2010-02-08 19:39
On Sat, Feb 6, 2010 at 6:38 PM, MichaelF <michael@fromin.org> wrote: > In my production.rb I have enabled threadsafe mode: > Any advice you can offer is greatly appreciated. Hi Michael, The intent is to have the runtimes set automatically, but if you already have a warbler config file, you may wish to uncomment and set both to "1" just to be sure. If you have any further Warbler-specific questions feel free to follow up with me privately or on the JRuby mailing list. /Nick
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.