i using activeadmin , have file doing this: activeadmin.register role something--- end however, server gives me error: runtimeerror: circular dependency detected while autoloading constant role /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:461:in `load_missing_constant' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:184:in `const_missing' ~/desktop/boxfox/app/admin/role.rb:1:in `<top (required)>' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:424:in `load' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:424:in `block in load_file' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:616:in `new_constants_in' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:423:in `load_file' /library/ruby/gems/2.0.0/gems/activesuppor...
i using haproxy in front of 2 webapps deployed in tomcat. when testing high availability, made 10000 requests , @ point kill 1 of tomcat instances. 1 or 2 requests errors. request sent using spring's resttemplate. here exception: "org.springframework.web.client.resourceaccessexception: i/o error on post request "http://:8080/myservice/_doaction":unexpected end of file server; nested exception java.net.socketexception: unexpected end of file server" the haproxy stats says in "errors" section, "resp" subsection, when hover on number shown there, 2 : "connection resets during transfers:1 client, 2 servers". means? also, on "warnings" section have "retr":29 , "redis":1. tells me request being redispatched "living" server. assumption correct? here haproxy.cfg: listen tomcat_frontend bind *:8080 timeout client 5000ms timeout server 5000ms mode http option httpclose op...
Comments
Post a Comment