undefined method `new' for "Rack::Lock":String with Warbler 1.0.0 + JRuby 1.3.0
+ Rails 2.3.2
---------------------------------------------------------------------------------------------
Key: JRUBY-3789
URL: http://jira.codehaus.org/browse/JRUBY-3789
Project: JRuby
Issue Type: Bug
Components: Rails WAR Deployment
Reporter: Arun Gupta
Using JRuby 1.3.0 + Warbler 1.0.0
Created a template Rails application, warbled it up and deployed the WAR file
on GlassFish v2.1. Got the error:
Caused by: org.jruby.rack.RackInitializationException: undefined method `new'
for "Rack::Lock":String
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middlewar
e_stack.rb:116:in `inject'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middlewar
e_stack.rb:116:in `build'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatche
r.rb:82:in `initialize'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatche
r.rb:52:in `run_prepare_callbacks'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:609:in
`prepare_d
ispatcher'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:183:in
`process'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/config/environment.rb:9
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/app
lications/j2ee-modules/helloworld/WEB-INF/config/environment.rb:26:in `load'
from
/Users/arungupta/tools/glassfish/v2.1/glassfish/nodeagents/cloud-nodeagent/cabernet/gen
erated/jsp/j2ee-modules/helloworld/loader/jruby/rack/rails.rb:26:in
`load_environment'
This error is also reported at:
http://kenai.com/projects/jruby-rack/lists/talk/archive/2009-05/message/2
Not aware of any workaround as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email