You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Per Arnold Blaasmo (JIRA)" <ji...@codehaus.org> on 2011/12/01 11:35:39 UTC

[jira] Commented: (MRM-1150) make web file upload size configurable

    [ https://jira.codehaus.org/browse/MRM-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284669#comment-284669 ] 

Per Arnold Blaasmo commented on MRM-1150:
-----------------------------------------

I just upgraded to running under Tomcat 7.0.22 from Tomcat 6.0.20. Then I discovered that the Archiva war gets unpacked under the work folder instead of the webapps folder. As far as I can see the config is the same, so I do not know why it does not deploy it under the webapps folder.

Anyway, the result is that it is redeployed in the work folder every time Archiva is started. So for me to set the property 'struts.multipart.maxSize' in the struts.properties file does not work any more. It gets overridden every time Archiva is loaded in Tomcat.

Therefore I think this config possibility in the GUI gets more important.
 

> make web file upload size configurable
> --------------------------------------
>
>                 Key: MRM-1150
>                 URL: https://jira.codehaus.org/browse/MRM-1150
>             Project: Archiva
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Brett Porter
>             Fix For: Backlog
>
>
> currently, you need to edit struts.properties in the application. Look into making it editable from ARCHIVA_BASE/conf/*.xml.
> Ideally it would be in archiva.xml and then applied to struts on start up, so it can be edited from the UI.
> Another alternative that may be simpler is to use an environment variable in the jetty.xml configuration.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira