tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: FileUploadBase$IOFileUploadException
Date Wed, 01 Sep 2010 22:26:57 GMT
AFAIK, the said threshold determines when a file is too big to be hold
in memory and should be written to disk.  So, I think that "Permission
denied" actually comes from your file system.  You have to read the
docs (or the source code), but I guess that it tries to write to
${catalina.base}/temp (aka $CATALINA_TMPDIR, aka java.io.tmpdir ).

Best regards,
Konstantin Kolinko

2010/9/2 Paul Szynol <pjs38@columbia.edu>:
>
> Chris, I agree.  "Exceeds threshold size" or something along those lines
> would be a lot more helpful.
> Paul
>
> On 9/1/10 5:59 PM, Christopher Schultz wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Paul,
>>
>> On 9/1/2010 5:28 PM, Paul Szynol wrote:
>>>
>>> Increasing the value of .setSizeThreshold() did the trick.  Thanks for
>>> pointing me in that direction--I should have sent my question here about
>>> 12 hrs ago! :)
>>
>> Strange that you get Permission Denied instead of some other exception.
>> If you are up-to-date on commons fileupload, you might suggest that they
>> change their error message to make it easier to understand why the error
>> is occurring.
>>
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAkx+zNwACgkQ9CaO5/Lv0PAYrACfaKbXoZ47sADRvCuxYIcGbBC6
>> jJkAoISByEJPau4o78H43Q4yC2jCULjn
>> =DZ6s
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message