End of File Reached Error when using jruby 1.1.5 with RubyCAS-Client
--------------------------------------------------------------------

                 Key: JRUBY-3110
                 URL: http://jira.codehaus.org/browse/JRUBY-3110
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.1.5
         Environment: windows XP pro
jruby 1.1.5
rubycas-client 2.0.1
rails 2.1
            Reporter: Jin Lee


Hello - 

When navigating to a page that has this CAS filter applied : 

before_filter CASClient::Frameworks::Rails::Filter

I am getting the following End of File error message, and the server returns 
500:

Processing PortalController#index (for 127.0.0.1 at 2008-11-04 12:56:52) [GET]
  Session ID: 41dcb6b717ea108a13318a501b49a076
  Parameters: {"controller"=>"portal", "action"=>"index"}
Guessed service url: "http://localhost:3000/";
Redirecting to 
"https://xxx.yyyy.com/cas/login?service=http%3A%2F%2Flocalhost%3A3000%2F";
Redirected to 
https://xxx.yyyy.com/cas/login?service=http%3A%2F%2Flocalhost%3A3000%2F
Filter chain halted as [CASClient::Frameworks::Rails::Filter] 
rendered_or_redirected.
Completed in 0.00373 (267 reqs/sec) | DB: 0.00000 (0%) | 302 Found 
[http://localhost/]
/!\ FAILSAFE /!\  Tue Nov 04 12:56:57 -0800 2008
  Status: 500 Internal Server Error
  End of file reached
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/pstore.rb:354:in `load'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/pstore.rb:354:in `load'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/pstore.rb:310:in `transaction'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:67:in
 `initialize'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/cgi/session.rb:273:in `initialize'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:39:in
 `initialize'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:132:in
 `session'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:168:in
 `stale_session_check!'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:116:in
 `session'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/base.rb:1135:in
 `assign_shortcuts'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/flash.rb:166:in
 `assign_shortcuts_with_flash'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/base.rb:523:in 
`process'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/filters.rb:569:in
 `process_with_filters'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in
 `process_with_session_management_support'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/base.rb:389:in 
`process'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
 `handle_request'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
 `dispatch'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
 `dispatch'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
 `dispatch_cgi'
    
C:/development/acp/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
 `dispatch'
    C:/development/acp/vendor/rails/railties/lib/webrick_server.rb:112:in 
`handle_dispatch'
    C:/development/acp/vendor/rails/railties/lib/webrick_server.rb:78:in 
`service'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/webrick/httpserver.rb:104:in 
`service'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    C:/tools/java/jruby-1.1.5/lib/ruby/1.8/webrick/server.rb:173:in 
`start_thread'
    :1:in `start'

I've tried both the p_store and the cookie_store and have gotten similar error 
messages. 

Thanks - 
Jin Lee

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