People are generally prescribing something like this to configure maxFormContentSize for jetty in the jetty.xml: In my experience, in 2024 with a recent version of jetty (9.4.53), this isn’t working inside apache’s karaf or in embedded mode within maven, and may not be working in other containers as well.