[opencms-dev] OpenCmsServlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608

Michael Emmerich emmerich at german-navy.de
Mon Feb 25 20:34:43 CET 2002


Hello Martin,

which version of OpenCms do you use?

There was a limitation of 8MB uploads in prvious version of OpenCms but
this was changed in the current development tree. So the upcoming major
release will not have this limitation anymore.

Bye,
	Michael


> Hi everybody,
> 
> we have problems in uploading files with file-size  greater than 8MByte into
> the OpenCMS-system.
> We always get a "StandardWrapperValve[OpenCmsServlet]: Servlet.service() for
> servlet OpenCmsServlet threw exception
> java.io.IOException: Posted content length of 36238773 exceeds limit of
> 8388608"-error....
> 
> This failure (se below) is written in the file
> "localhost_log.2002-02-xx.txt" in Tomcat-Logs.
> 
> I have already adapted the "max_allowed_packet"-Paramter of the
> mySQL-database in my.cnf to 128M, so this is not the problem.
> 
> It seems, that it is not possible to upload files with file-size greater
> than 8MByte because of a opencms-servlet-restriction.
> Is this right?
> Do I have a chance to reconfigure it to a greater size?
> How?
> 
> Failure in Tomcat-log:
> ============================================================================
> ========
> 2002-02-25 14:35:26 StandardWrapperValve[OpenCmsServlet]: Servlet.service()
> for servlet OpenCmsServlet threw exception
> java.io.IOException: Posted content length of 36238773 exceeds limit of
> 8388608
>         at
> com.opencms.core.CmsRequestHttpServlet.readRequest(CmsRequestHttpServlet.jav
> a:628)
>         at
> com.opencms.core.CmsRequestHttpServlet.<init>(CmsRequestHttpServlet.java:134
> )
>         at
> com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:522)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:117)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:201)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)
>         at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
> ompiled Code))
>         at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>         at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1011)
>         at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
> )
>         at java.lang.Thread.run(Thread.java:498)
> 
> _________________________________________________________________________
> Martin Buehrle, FCI1
> EADS - European Aeronautic Defence and Space Company
> UNTERSCHLEISSHEIM
> eMail: Martin.Buehrle at lfk.eads.net
> _________________________________________________________________________

-- 
Home   : emmerich at german-navy.de
Work   : michael.emmerich at framfab.de
ICQ    : 18897063
WWW    : German Naval History http://www.german-navy.de



More information about the opencms-dev mailing list