On 08/09/2011 11:56 PM, Caleb James DeLisle wrote:
Hello Phill,
I seem to recall something like that coming from a configuration option in the servlet
container (Jetty/Tomcat/GlassFish) but I can't be sure if that's what you're
seeing without seeing the full error message.
Could you paste exactly what it says?
Indeed, this is not a limitation of XWiki, but a limitation of the
servlet container. From the error, I assume this is the default bundled
Jetty. We used to have an increased limit (committed under
http://jira.xwiki.org/jira/browse/XTJETTY-6 ) but it was somehow lost
when fixing
http://jira.xwiki.org/jira/browse/XTJETTY-10
Anyway, the old way of fixing it wasn't working anymore, since Jetty 6
uses a different parameter.
To quickly fix it for your instance, add this in start_xwiki.sh (on Linux)
XWIKI_OPTS="$XWIKI_OPTS
-Dorg.mortbay.jetty.Request.maxFormContentSize=5000000"
or in start_xwiki.bat (on Windows):
set XWIKI_OPTS=%XWIKI_OPTS%
-Dorg.mortbay.jetty.Request.maxFormContentSize=5000000"
It must be placed among the other settings for XWIKI_OPTS, before the
java command line.
On 08/09/2011 03:50 PM, Moran, Phil (CA - Toronto) wrote:
> Why is there a limit on pages? This page is not that large but it seems almost silly
to have a wiki with a text limit on it. Could not find a preference to change this not
sure what I need to do to continue. Any suggestions
>
> Sincerely,
> Phill
>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/