I get ActiveSupport::StringInquirer when running rails application from inside Glassfish 3.0.1

Hi all
I need some help here.
I run a rails application from inside glassfish web application.
sometime the same link can generate the below error and sometimes it
works fine. The error below is taking from the glassfish server.log
file.
the rails application log does not print any error (it looks like it did
not arrive to the rails application at all)

I thought that the problem is the memory that the glassfish use, so I
increased that. and the problem still happens.

[#|2011-01-25T14:07:59.228+0000|SEVERE|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=49;_ThreadName=Thread-1;|WebModule[/Reports]Application
Error
/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:440:in
load_missing_constant': uninitialized constant ActiveSupport::StringInquirer (NameError) from /XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80:inconst_missing_with_dependencies’
from
/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/rails-2.3.8/lib/initializer.rb:56:in
env' from /XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:29:incall’
from
/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/rack-1.1.0/lib/rack/lock.rb:11:in
call' from /XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:106:incall’
from classpath:/rack/adapter/rails.rb:36:in serve_rails' from classpath:/rack/adapter/rails.rb:41:incall’
from classpath:/jruby/rack/rails.rb:188:in call' from classpath:/rack/handler/servlet.rb:19:incall’
from :1
…internal jruby stack elided…
from
ActiveSupport::Dependencies.load_missing_constant(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80)
from
ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/rails-2.3.8/lib/initializer.rb:56)
from
#Class:01x4a543ea5.env(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:29)
from
ActionController::Failsafe.call(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/rack-1.1.0/lib/rack/lock.rb:11)
from
Rack::Lock.call(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/rack-1.1.0/lib/rack/lock.rb:11)
from
Rack::Lock.call(/XX/glassfishv3/glassfish/domains/SS/applications/DD/WEB-INF/gems/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:106)
from
ActionController::Dispatcher.call(classpath:/rack/adapter/rails.rb:36)
from
Rack::Adapter::Rails.serve_rails(classpath:/rack/adapter/rails.rb:41)
from Rack::Adapter::Rails.call(classpath:/jruby/rack/rails.rb:188)
from
JRuby::Rack::RailsRequestSetup.call(classpath:/rack/handler/servlet.rb:19)
from Rack::Handler::Servlet.call(:1)
from (unknown).(unknown)(:1)
|#]

Thanks in advance

Regards,
Mousa

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs