Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] maxFormContentSize Configuration??

Hi Jan

yes, setting

org.eclipse.jetty.server.Request.maxFormContentSize=

in the system properties worked.
I think I tried that, but perhaps it was a wrong property :-)

Thanks

--
Michael Szalay
Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
http://www.basis06.ch - source of smart business

----- Ursprüngliche Mail -----
Von: "Jan Bartel" <janb@xxxxxxxxxxx>
An: "JETTY user mailing list" <jetty-users@xxxxxxxxxxx>
Gesendet: Montag, 15. August 2011 02:40:53
Betreff: Re: [jetty-users] maxFormContentSize Configuration??

Michael,

You should be able to set the system property
org.eclipse.jetty.server.Request.maxFormContentSize,
or on the ContextHandler representing the webapp call
setMaxFormContentSize() (this could be the
WebAppContext either in a context xml file or in code, depending on how you
start your webapps).

cheers
Jan



On 11 August 2011 18:06, Michael Szalay <michael.szalay@xxxxxxxxxx> wrote:

> Hi all
>
> we use Jetty 7.2 in an osgi environment (Karaf).
> I have the following problem:
>
> java.lang.IllegalStateException: Form too large857459>200000
>        at
> org.eclipse.jetty.server.Request.extractParameters(Request.java:251)
>        at
> org.eclipse.jetty.server.Request.getParameterMap(Request.java:670)
>
> Where can I change the maxFormContentSize?
>
> I tried in WEB-INF/jetty.xml, in the system properties and in jetty.xml,
> but nothing did work.
> I cannot debug it because the git-tree for jetty-git is not available.
> Anyone can help?
>
> Regards Michael
>
> --
> Michael Szalay
> Senior Software Engineer
>
> basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
> http://www.basis06.ch - source of smart business
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top