Forum: Rails deployment Large size file upload issue

Posted by Vikas Maan (maan_vikas)
on 2010-07-16 06:58
Hi,
   I have developed a small ruby on rails application to upload a user
chosen file. On Webrick server it uploads all size of files but after
deploying same
application on glassfish v2 server it only uploads small size files upto
50kb and
gives error for files bigger than that.

  I have tried file column plugin too, that has the same problem of
uploading
on small files.

  If anyone else has faced this same issue please let us know.

thanks
Vicky
Posted by Sam Wang (samiswt)
on 2010-07-23 18:36
Vikas Maan wrote:
> Hi,
>    I have developed a small ruby on rails application to upload a user
> chosen file. On Webrick server it uploads all size of files but after
> deploying same
> application on glassfish v2 server it only uploads small size files upto
> 50kb and
> gives error for files bigger than that.
> 
>   I have tried file column plugin too, that has the same problem of
> uploading
> on small files.
> 
>   If anyone else has faced this same issue please let us know.
> 
> thanks
> Vicky

Hello, there!

It seems like the problem about the configuration of WEBrick Server, why 
don't you change to Phusion Passenger. It's better than WEBrick and I've 
just made a example of uploading files.
Posted by Vikas Maan (maan_vikas)
on 2010-07-25 13:09
Hi Sam,
thanks to see your reply.
I would like to change to Passenger but I am running server on windows 
and
as per I know Passenger is not availabe for windows.


thanks
Maan

Sam Wang wrote:
> Vikas Maan wrote:
>> Hi,
>>    I have developed a small ruby on rails application to upload a user
>> chosen file. On Webrick server it uploads all size of files but after
>> deploying same
>> application on glassfish v2 server it only uploads small size files upto
>> 50kb and
>> gives error for files bigger than that.
>> 
>>   I have tried file column plugin too, that has the same problem of
>> uploading
>> on small files.
>> 
>>   If anyone else has faced this same issue please let us know.
>> 
>> thanks
>> Vicky
> 
> Hello, there!
> 
> It seems like the problem about the configuration of WEBrick Server, why 
> don't you change to Phusion Passenger. It's better than WEBrick and I've 
> just made a example of uploading files.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.