On Sat, Feb 6, 2010 at 6:38 PM, MichaelF <[email protected]> wrote: > 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.
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

