archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anders" <chris.and...@velsys.com>
Subject RE: fileupload.FileUploadBase size
Date Thu, 27 Nov 2008 01:57:57 GMT

Thankyou for the reply Martin, 

So this is not a simple configuration change for tomcat or the archiva.war file then ?

Chris

-----Original Message-----
From: mfncooper@gmail.com on behalf of Martin Cooper
Sent: Thu 11/27/2008 12:08 PM
To: users@archiva.apache.org
Subject: Re: fileupload.FileUploadBase size
 
I highly recommend reading the user guide and the API docs. That's why we
took the time to write them. ;-) Specifically:

http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setSizeMax(long)
http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setFileSizeMax(long)
http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/disk/DiskFileItemFactory.html#setSizeThreshold(int)

--
Martin Cooper


On Wed, Nov 26, 2008 at 5:25 PM, Chris Anders <chris.anders@velsys.com>wrote:

>
> hi guys,
>
> i am hitting this problem when users try to upload jars larger then the
> default file size of 2097152
>
> SEVERE:
> org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the
> request was rejected because its size (2346075) exceeds the configured
> maximum (2097152)
>
> how can i increase the limit?
>
> cheers
>
> Chris
>


!DSPAM:1,492dfa41487191671575914!




Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message