How to Increase Attachment Size in Adempiere

332 views
Skip to first unread message

Munazzar Ali

unread,
Jan 25, 2017, 7:09:01 AM1/25/17
to iDempiere
Dear All,

Hope all is going good..!!

Can any one let me know how can i Increase the Attachment Size in Adempiere Web Version.

Throwing Following Error: 
the request was rejected because its size (9341634) exceeds the configured maximum (5242880)
zkoss.handleError:157: Failed to upload
>>org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (9341634) exceeds the configured maximum (5242880)
>> at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)
>> at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)
>> at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:349)
>> at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
>> at org.zkoss.zk.au.http.AuUploader.parseRequest(AuUploader.java:291)

Thanks and Regards,
Syed Munazzar Ali.

Nicolas Micoud

unread,
Jan 25, 2017, 10:37:59 AM1/25/17
to iDempiere
Hi,

Look at the System Configurator "ZK_MAX_UPLOAD_SIZE" (can be modified in System).

Regards,

Nicolas

Munazzar Ali

unread,
Jan 25, 2017, 11:40:29 PM1/25/17
to iDempiere
I couldn't found "ZK_MAX_UPLOAD_SIZE" in System Configuration. I'm using Adempiere 3.6.

Orlando Curieles

unread,
Jan 25, 2017, 11:42:41 PM1/25/17
to iDempiere
Hi, This is the IDempiere google group, I don't know how is work on ADempiere.

Nicolas Micoud

unread,
Jan 26, 2017, 2:45:21 AM1/26/17
to iDempiere
So you should have a look at org.adempiere.webui.AdempiereWebUI.getUploadSetting().
And then consider migrating to iDempiere ;)

Regards,

Nicolas
Reply all
Reply to author
Forward
0 new messages