Skip to content

Instantly share code, notes, and snippets.

@robrasmussen
Created February 13, 2012 22:14
Show Gist options
  • Save robrasmussen/1820926 to your computer and use it in GitHub Desktop.
Save robrasmussen/1820926 to your computer and use it in GitHub Desktop.
16:02:45,177 ERROR [org.torquebox.core.runtime] (http-localhost-127.0.0.1-8080-2) Error during execution: require %q(rack)
Rack::Builder.new{(
require %q(org/torquebox/web/rails/rackup)
run TorqueBox::Rails.app
)}.to_app: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `cattr_accessor' for ActionController::Dispatcher:Class
at #<Class:0x4d6e7b>.Dispatcher(/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:69) at Module.ActionController(/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:4) at #<Class:0x15f11e7>.(root)(/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at #<Class:0x15f11e7>.(root)(/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:18) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at #<Class:0x15f11e7>.(root)(file:/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/torquebox-server-2.x.incremental.833-java/jboss/modules/org/torquebox/web/main/torquebox-web.jar!/org/torquebox/web/rails/v2_3/dispatcher.rb:18) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at #<Class:0x15f11e7>.(root)(file:/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/torquebox-server-2.x.incremental.833-java/jboss/modules/org/torquebox/web/main/torquebox-web.jar!/org/torquebox/web/rails/v2_3/rackup_generator.rb:18) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at #<Class:0x14d1552>.(root)(file:/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/torquebox-server-2.x.incremental.833-java/jboss/modules/org/torquebox/web/main/torquebox-web.jar!/org/torquebox/web/rails/rackup.rb:3) at org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1720) [jruby.jar:]
at Rack::Builder.initialize(/Users/robert/.rvm/gems/jruby-1.6.5.1@community19/gems/rack-1.1.3/lib/rack/builder.rb:46) at #<Class:0x15f11e7>.(root)(/Users/robert/Projects/Spiceworks/GitTest/jruby_community_feb/config.ru:2)
@jackcompton
Copy link

I am having this same problem... were you able to resolve it?

@robrasmussen
Copy link
Author

Hey Jack, this problem went away for us after we moved off of an incremental build. I believe we also saw a similar error if we redeployed and had any jobs defined in torquebox.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment