Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Setting maxFormContentSize with the jetty-maven-plugin

I'm going nuts trying to set the maxFormContentSize for the
jetty-maven-plugin (version 8.0.1.v20110908)

Using the mvn jetty:run target I've tried the following things with no
success - the maxFormContenSize stays at 200000 bytes:
* add a -Dorg.mortbay.jetty.Request.maxFormContentSize=-1 to the mvn
command line
* Add
to the plugin configuration in the POM
* Add a custom jetty.xml with:
<Call class="java.lang.System" name="setProperty">
and specify it in the jettyConfig element in the plugin configuration
(which actually throws adn exception because Jetty can't find the
Server class)

I thought the second option would certainly work but not luck. Is
there something basic I'm missing on how to configure this?


Back to the top