EOFError while consuming REST web service from glassfish v3
-----------------------------------------------------------

                 Key: JRUBY-2860
                 URL: http://jira.codehaus.org/browse/JRUBY-2860
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.3
         Environment: JRuby 1.1.3, Netbeans 6.5 m1, glassfish-v3tp2, Windows 
XP, Mac OS X 10.5.3, Rails 2.1.0, mysql
            Reporter: Jason Carter
            Assignee: Thomas E Enebo


I recieve this error when I try to access a REST resource running inside of 
Glassfish v3tp2 using Jruby 1.1.3 from the client side consumer irp session as 
well as webbrick session:

>> User.find :all

EOFError: End of file reached
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/timeout.rb:56:in `rbuf_fill'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/timeout.rb:56:in `timeout'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/timeout.rb:76:in `timeout'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/protocol.rb:126:in `readline'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:2031:in 
`read_status_line'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:2020:in `read_new'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:1059:in `request'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:1046:in `request'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:547:in `start'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:1044:in `request'
        from D:/ruby/jruby-1.1.3/lib/ruby/1.8/net/http.rb:781:in `get'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activeresource-2.1.0/lib/active_resource/connection.rb:142:in
 `request'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/benchmark.rb:8:in
 `realtime'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activeresource-2.1.0/lib/active_resource/connection.rb:142:in
 `request'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activeresource-2.1.0/lib/active_resource/connection.rb:109:in
 `get'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activeresource-2.1.0/lib/active_resource/base.rb:560:in
 `find_every'
        from 
D:/ruby/jruby-1.1.3/lib/ruby/gems/1.8/gems/activeresource-2.1.0/lib/active_resource/base.rb:504:in
 `find'
        from (irb):2>>

The same code running inside of webbrick works fine. I am a noob and am not 
quite sure how to track down this problem, but I have searched and searched for 
a solution and thought that surely someone else must be experiencing these same 
issues. 

-- 
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


Reply via email to