Forum: JRuby Load Servlet Request Attributes Timeout

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ryan H. (Guest)
on 2009-02-24 18:52
We are getting the following error about a dozen times a day on our
site.

Has anyone seen anything similar to this or have any suggestions?

Thanks
Ryan

****************************

SEVERE: Exception caught
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:77:in
`load_servlet_request_attributes': execution expired (Timeout::Error)
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-complete-1.1.5.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/java/collections.rb:56:in
`each'
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:75:in
`load_servlet_request_attributes'
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:57:in
`initialize'
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:37:in
`initialize'
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:21:in
`create_env'
        from
file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:17:in
`call'
        from :1
        ...internal jruby stack elided...
        from
Rack::Handler::LazyEnv.load_servlet_request_attributes(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-complete-1.1.5.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/java/collections.rb:56)
        from
Java::JavaUtil::Enumeration.each(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:75)
        from
Rack::Handler::LazyEnv.load_servlet_request_attributes(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:57)
        from
Rack::Handler::LazyEnv.initialize(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:37)
        from
Rack::Handler::Env.initialize(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:21)
        from
Rack::Handler::Servlet.create_env(file:/opt/apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/jruby-rack-0.9.2.jar!/rack/handler/servlet.rb:17)
        from Rack::Handler::Servlet.call(:1)
        from (unknown).(unknown)(:1)
Ryan H. (Guest)
on 2009-02-27 17:48
I'd really appreciate any suggestions anyone might have on this?

This seems to be occurring as the http request headers are attempting to
be read. Would anyone have any thoughts on why this might occur? Any
suggestions on settings I could check? Anything on possibly increasing
the timeout value slightly and how that would be done? Any suggestions
on how I might get more information that would be helpful in diagnosing
why it is happening?

Thanks....
This topic is locked and can not be replied to.