I’m exploring java deploy. I included every used gems into .war but i
always got this error. Does anyone know how to solve and let me to save
a little time?
GRAVE: Exception caught
C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116:in
each': undefined method
new’ for “Rack::Lock”:String (NoMethodError)
from C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116:in
inject' from C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116:in
build’
from C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack' from C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:113:in
call’
from C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in
run' from C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in
call’
from file:/C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/adapter/rails.rb:35:in
serve_rails' from file:/C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/adapter/rails.rb:40:in
call’
from file:/C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:144:in
call' from file:/C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/handler/servlet.rb:17:in
call’
from :1
…internal jruby stack elided…
from ActionController::MiddlewareStack.build(C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116)
from Array.each(C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116)
from Enumerable.inject(C:/Program Files/Apache Software
Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/middleware_stack.rb:116)
from ActionController::MiddlewareStack.build(C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130)
from ActionController::Dispatcher.build_middleware_stack(C:/Program
Files/Apache Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:113)
from ActionController::Dispatcher.call(C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34)
from #Class:01x788315.run(C:/Program Files/Apache Software
Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108)
from ActionController::Dispatcher.call(file:/C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/adapter/rails.rb:35)
from Rack::Adapter::Rails.serve_rails(file:/C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/adapter/rails.rb:40)
from Rack::Adapter::Rails.call(file:/C:/Program Files/Apache Software
Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:144)
from JRuby::Rack::RailsRequestSetup.call(file:/C:/Program Files/Apache
Software Foundation/Tomcat
6.0/webapps/JBCode/WEB-INF/lib/jruby-rack-0.9.4.jar!/rack/handler/servlet.rb:17)
from Rack::Handler::Servlet.call(:1)
from (unknown).(unknown)(:1)