IDEMPIERE-2490 java.lang.IllegalStateException: Form too large (#363)

replace the now defunc setting at jetty.xml with jetty-web.xml
This commit is contained in:
hengsin 2020-11-09 19:26:39 +08:00 committed by GitHub
parent e5a5f1233a
commit e58902ec5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -111,12 +111,6 @@
<Set name="dumpAfterStart"><Property name="jetty.server.dumpAfterStart" deprecated="jetty.dump.start" default="false"/></Set>
<Set name="dumpBeforeStop"><Property name="jetty.server.dumpBeforeStop" deprecated="jetty.dump.stop" default="false"/></Set>
<!-- IDEMPIERE-2490 -->
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
<Arg>1048576</Arg>
</Call>
<!-- IDEMPIERE-2761 -->
<Set class="org.eclipse.jetty.util.resource.Resource" name="defaultUseCaches">false</Set>

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!-- IDEMPIERE-2490 -->
<Set name="maxFormContentSize">1048576</Set>
</Configure>