Jruby 1.2.0 / Rack Error


#1

Seeing a bunch of these errors, does anyone know what causes them ?
Solaris x86_64, Jruby 1.2.0, Rails 2.2.2

SEVERE: Exception caught
/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in
c onst_missing': uninitialized constant Rack::Adapter::Rails::Response (NameError) from file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/rack/adapter/rails.rb:34:ins
erve_rails’
from
file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/rack/adapter/rails.rb:44:in
c all' from file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/jruby/rack/rails.rb:145:inca
ll’
from
file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/rack/handler/servlet.rb:17:in
`call’
from :1
…internal jruby stack elided…
from
ActiveSupport::Dependencies::ClassConstMissing.const_missing(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB
-INF/lib/jruby-rack-0.9.3.jar!/rack/adapter/rails.rb:34)
from
Rack::Adapter::Rails.serve_rails(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.ja
r!/rack/adapter/rails.rb:44)
from
Rack::Adapter::Rails.call(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/jrub
y/rack/rails.rb:145)
from
JRuby::Rack::RailsSetup.call(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/r
ack/handler/servlet.rb:17)
from Rack::Handler::Servlet.call(:1)
from (unknown).(unknown)(:1)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

On Tue, Mar 17, 2009 at 7:59 PM, AD removed_email_address@domain.invalid wrote:

   from file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/rack/adapter/rails.rb:44:in

-INF/lib/jruby-rack-0.9.3.jar!/rack/adapter/rails.rb:34)
from Rack::Adapter::Rails.serve_rails(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.ja
r!/rack/adapter/rails.rb:44)
from Rack::Adapter::Rails.call(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/jrub
y/rack/rails.rb:145)
from JRuby::Rack::RailsSetup.call(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB-INF/lib/jruby-rack-0.9.3.jar!/r
ack/handler/servlet.rb:17)
from Rack::Handler::Servlet.call(:1)
from (unknown).(unknown)(:1)

My best guess at this point without more details is that you’ve hit on
either some Rails compatibility bug, or JRuby compatibility bug, or a
combination. A new JRuby-Rack release is needed soon, I’ll try to get
to it in the next week or so. Until then, if you could file a bug at
http://kenai.com/jira/browse/JRUBY_RACK with some more details, I’d
appreciate it!

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

Thanks Nick. Unfortunately i dont have a lot of other details, except
the environment, but will file a more generic bug.

On Tue, Mar 17, 2009 at 9:46 PM, Nick S. removed_email_address@domain.invalid
wrote:

erve_rails’
from ActiveSupport::Dependencies::ClassConstMissing.const_missing(file:/apphome/coolstack/tomcat5/webapps/myapp/WEB
My best guess at this point without more details is that you’ve hit on

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email