form.attachment.max.size problems

1
0
-1

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

Comments

Submitted by Sean McP on Mon, 10/31/2016 - 01:31

reduce the size of the file being uploaded?

:)

regards

1 answer

1
+3
-1
This one is the BEST answer!

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

Comments

Submitted by alienworkshopsb on Fri, 11/04/2016 - 17:20

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.

Submitted by jreyes_5 on Fri, 11/04/2016 - 17:29

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

Submitted by Lionel Palacin on Mon, 11/07/2016 - 21:40

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

Submitted by jreyes_5 on Tue, 11/08/2016 - 17:50

Thank you very much. All here appreciate your help.

Notifications