File uploading is not working when file size exceeds 10 KB
----------------------------------------------------------

                 Key: JRUBY-2668
                 URL: http://jira.codehaus.org/browse/JRUBY-2668
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
         Environment: Windows XP Pro / GlassfishV3 / JRuby 1.1.2 / Rails 2.1
            Reporter: Frederic Jacquemin
            Priority: Blocker
             Fix For: JRuby 1.1+



When using Jruby1.1.2+Glassfish (latest gem available) and trying to upload a 
file>10Kb; I got the following message in the log : 

/!\ FAILSAFE /!\  Sun Jun 15 22:54:07 +0200 2008
  Status: 500 Internal Server Error
  stack level too deep
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:547:in
 `read_multipart'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:547:in
 `loop'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:547:in
 `read_multipart'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:470:in
 `parse_multipart_form_parameters'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:400:in
 `parse_formatted_request_parameters'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_process.rb:80:in
 `request_parameters'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:304:in
 `parameters'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:22:in
 `request_method'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request.rb:35:in
 `method'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:431:in
 `extract_request_environment'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in
 `recognize'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in
 `handle_request'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in
 `dispatch'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in
 `dispatch'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in
 `dispatch_cgi'
    
C:/JRuby/jruby-1.1.2/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in
 `dispatch'
    <script>:62:in `service'
    :1

------------------------------------------------------------------------------
Somehow this problem does not happen with JRuby 1.1.2 on Mongrel.

is there anything I can change in some configuration file to prevent this bug?


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