Raf's Lab

Thursday May 27, 2010

Roller: maximum configured size exceeded

As sone of you may have realised, I am using Apache Roller http://roller.apache.org for this blog. It's fast and plugs very quickly into a J2EE/Servlet environment and above all else is Free.
However if you are trying to upload large files to it, even by increasing the maximum files uploadable settings within the server-wide settings, this will still fail, and you will most likely be presented with
To get around this, edit your

webapps/<roller-app-directory>/WEB-INF/classes/struts.properties

and add/change the following line
struts.multipart.maxSize=<max-file-size-in-bytes>

Ensuring you enter the maximum size you would like in bytes. Restart your Tomcat server
e.g
struts.multipart.maxSize=20000000
would set the max file upload size to 20Mb

This is a reported bug in https://issues.apache.org/jira/browse/ROL-1631

Comments:

Post a Comment:
  • HTML Syntax: Allowed

Calendar

Search

Twitter

Feeds

Links

Navigation

Referrers