Forum: JRuby Jruby 1.2.0 / Rack Error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
AD (Guest)
on 2009-03-18 02:59
(Received via mailing list)
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:in
`s
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:in
`ca
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
Nick S. (Guest)
on 2009-03-18 03:46
(Received via mailing list)
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
AD (Guest)
on 2009-03-18 04:13
(Received via mailing list)
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
This topic is locked and can not be replied to.