Nicolas Micoud
unread,Mar 20, 2024, 9:51:38 AM3/20/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iDempiere
Hi,
Since migration to v11, I encounter issue like this in logs:
14:06:10.276-----------> Request.getParameters: java.lang.IllegalStateException: Form is larger than max length 1048576 [1862]
14:06:10.276-----------> HttpChannel.handleException: handleException /webui/zkau org.eclipse.jetty.http.BadMessageException: 400: Unable to parse form content [1862]
From what I understand, is when user are writing a 'big' email (with some snapshots) and the sending fails.
I think I faced this issue some years ago and solution was to change content of org.adempiere.ui.zk/WEB-INF/jetty-web.xml (by multiplying by 10 value of maxFormContentSize)
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!-- IDEMPIERE-2490 -->
<Set name="maxFormContentSize">10485760</Set>
<Set name="maxFormKeys">2000</Set>
</Configure>
So I think this is not taken in account as log states "Form is larger than max length 1048576" whereas I would expect "Form is larger than max length 10485760".
Any idea?
Thanks,
Nicolas