Aah, this is what happens when you (meaning me) are on too many [EMAIL PROTECTED] ;-) I read the message and assumed it was on Commons User, since it was about Commons FileUpload, not looking to see that it was actually on Archiva Users. Doh! Sorry about that.
I'm not seeing anywhere that Archiva uses Commons FileUpload directly, so it must be through some other dependency. Not sure what that is, so I'm not sure how much control you have over it. Perhaps another Archivan can chime in here. -- Martin Cooper On Wed, Nov 26, 2008 at 5:57 PM, Chris Anders <[EMAIL PROTECTED]>wrote: > > 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: [EMAIL PROTECTED] on behalf of Martin Cooper > Sent: Thu 11/27/2008 12:08 PM > To: [email protected] > 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#setSizeMax%28long%29> > > http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setFileSizeMax(long)<http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setFileSizeMax%28long%29> > > http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/disk/DiskFileItemFactory.html#setSizeThreshold(int)<http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/disk/DiskFileItemFactory.html#setSizeThreshold%28int%29> > > -- > Martin Cooper > > > On Wed, Nov 26, 2008 at 5:25 PM, Chris Anders <[EMAIL PROTECTED] > >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! > > > >
