form.attachment.max.size problems

Hello, I have already changed the value of this parameter and restart the service but still receive the same error:

28/10/2016 14: 24: 15,999 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.FileUploadServlet File is Too Big
org.apache.commons.fileupload.FileUploadBase $ FileSizeLimitExceededException: The field pbUpload0 ITS Exceeds maximum permitted size of 26,214,400 bytes.

Any ideas?

BonitaBPMCommunity-7.3.1-Tomcat-7.0.67

Hi,

You can change the file size limit in this configuration file: tenants/1/tenant_portal/console-config.properties Or in tenant_template_portal/console-config.properties if you want to change the configuration before the tenant creation.

Please note that a side effect of increasing the file size limit is the impact on the Java memory. You’ll probably have to extend the memory allowed for the JVM in order to handle large files.

Cheers

reduce the size of the file being uploaded?

:slight_smile:

regards

Hi, I have already modificate these files:
./setup/platform_conf/initial/tenant_template_portal/console-config.properties
./setup/platform_conf/initial/tenant_template_portal/forms-config.properties

The file “tenants/1/tenant_portal/console-config.properties” doesn’t exists.

I installed the production edition (BonitaBPMCommunity-7.3.1-Tomcat-7.0.67) for Linux (Debian 8).

It still doesn´t work.

A detail, the error listed before said “The field pbUpload0 ITS Exceeds maximum permitted size of 26,214,400 bytes” (26,214,400 bytes = 25 Mb) but in the forms-config.properties file had for default 15Mb.

I appreciate your help.

jreyes_5 = alienworkshopsb
Sorry, I’m really bad at remembering accounts.

Hi,

Yes I think you need to pull the configuration first to have the file “tenants/1/tenant_portal/console-config.properties”.

Have a look to see this documentation to pull the configuration and push it back.

Cheers

Thank you very much. All here appreciate your help.