Java7
Continuous Integration
Apache Archiva: The request was rejected because its size exceeds the configured maximum
Aug 23rd
Somewhere today i installed Apache Archiva (Build Artifact Repository Manager) on my Linux box for testing and was trying to upload an artifact that is 30MB in size (think it was weblogic.jar) and was refused due to file size limit (10MB by default).
I am using Linux, but if you using Windows then its fairly “simpler” to open and write to the below mentioned files.
Modify maximum file upload size
Locate struts.properties and open using your favorite text editor
Locate the struts.multipart.maxSize key, change out the value to a higher value.
Increase timeout threshold (to accommodate a longer file transfer)
Locate jetty.xml and open using your favorite text editor
This is usually located in the conf folder of your Apache Archiva installation
Locate maxIdleTime
Change out the default configured value to a higher threshold
Restart Apache Archiva to let the s
To save a modified file in VI editor and quit to prompt, issue <Esc>, “:wq”, <Enter>.
To discard changes made to a file in VI editor, and quit to prompt, issue <Esc>, “:q!”, <Enter>.
To toggle between edit and view modes of VI editor, issue <Esc> or <Insert> or “i”.





