From: Leif-Jöran O. <el...@gm...> - 2009-03-31 12:16:33
|
Den 2009-03-31 11:10, Swami Kevala skrev: > What about if I am starting exist as a service (on linux), using the > /tools/wrapper/bin/exist.sh file? Where do I need to put this line? > > > Mark Carter wrote: >> Thanks Adam - that worked perfectly. >> >> >> Adam Retter-3 wrote: >>> Have you tried passing it to the JVM using the -D option i.e. >>> >>> -Dorg.mortbay.http.HttpRequest.maxFormContentSize=1048576 >>> >>> I think that should be 1MB. >>> >>> Depending on how you are starting eXist, you may need to put this in >>> your startup.sh or standalone.sh script... >>> >> > Hi, the most robust way is to put it in tools/wrapper/conf/wrapper.conf where you find rows like: wrapper.java.additional.4=-Djetty.home=../../../tools/jetty add one row with your option and make sure the last additional digit part is unique. Cheers, Leif-Jöran |