LoadError with Rails
Hello,
I'm using LiteSpeed with Ruby on Rails, configured with LSAPI.
My Rails version is 1.2.3
I've this strange error:
A LoadError occurred in distro#index:
Expected config/../app/controllers/tj/tarefa.rb to define Tj::Tarefa
/usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:250:in `load_missing_constant'
The file is there and the error is intermitent.
After lots of tests, I found that it happens after some time of inativity...
The number of seconds of inativity is dependent of the value in LSAPI_MAX_IDLE.
If I set it to 100, and stay 110 seconds without accessing my application, it raises the error.... if I stay less than 100, it works perfectly....
Can someone figure why is this happening ???
Thanks in advance....
Parra
|