Yeah i did modified the file to use "long" instead!, but as i said later
thread, i think it is browser issue, it some how sets content-length to -ve
and then this error !

thanks
PSI

thrasher wrote:
> 
> I wonder in the AppFuse code, or your code, uses an "int" to count the
> number of bytes?  2^32 = 4GB, unsigned.  Signed it would be 2GB.  Since
> int is "signed" in Java, could you be going "negative" in length?  Use a
> long to get around it, if this is the problem.
> 
> -Jason
> 
> 
> 
> 
> PSI wrote:
>> 
>> Hi 
>> 
>> I am using appfuse 1.9.4, and the requirement is that i need to upload
>> file of size @2.5 GB, everything works if file is 1.99GB but anything
>> greater than 2 GB throws weird exception!. 
>> 
>> following is the setting in struts controller:
>> <controller nocache="true" inputForward="true" maxFileSize="2.5GB"/>
>> 
>> Any idea why this is happening?
>> 
>> Thanks,
>> PSI
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/fileupload-Size-greater-than-2-GB---tf3538287s2369.html#a9878607
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to