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

Michael Emmerich Michael.Emmerich at framfab.de
Tue Feb 26 11:48:39 CET 2002


Martin,

>   We use OpenCMS 4.4.6  with Tomcat 4.0.1.
>   Is there a limitation in Tomcat or in Opencms-servlet itself?
   
>   Is there a possibility to do something without an upgrade?
   
This was a limitation by OpenCms and it was changed in version 4.5.15, so an
update to a new version is nescessary.

The other solution would be to get the class
com.opencms.core.CmsRequestHttpServlet from the CVS repository and exchange
only this class.

Bye,
	Michael
   
>   >   -----Ursprüngliche Nachricht-----
>   >   Von: Michael Emmerich [mailto:emmerich at german-navy.de]
>   >   Gesendet: Montag, 25. Februar 2002 20:35
>   >   An: opencms-dev at www.opencms.com
>   >   Betreff: Re: [opencms-dev] OpenCmsServlet threw exception
>   >   java.io.IOException: Posted content length of 36238773 
>   >   exceeds limit of
>   >   8388608
>   >   
>   >   
>   >   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(CmsReques
>   >   tHttpServlet.jav
>   >   > a:628)
>   >   >         at
>   >   > 
>   >   com.opencms.core.CmsRequestHttpServlet.<init>(CmsRequestHttp
>   >   Servlet.java:134
>   >   > )
>   >   >         at
>   >   > 
>   >   com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServle
>   >   t.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.internalDoFi
>   >   lter(Application
>   >   > FilterChain.java:247)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>   >   licationFilterCh
>   >   > ain.java:193)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>   >   dWrapperValve.ja
>   >   > va:243)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invoke(StandardPip
>   >   eline.java:472)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.
>   >   java:943)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardContextValve.invoke(Standar
>   >   dContextValve.ja
>   >   > va:201)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invoke(StandardPip
>   >   eline.java:472)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.
>   >   java:943)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardContext.invoke(StandardCont
>   >   ext.java:2344)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>   >   stValve.java:164
>   >   > )
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error
>   >   DispatcherValve.
>   >   > java:170)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>   >   rtValve.java:170
>   >   > )
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>   >   lve.java:462)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invoke(StandardPip
>   >   eline.java:472)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.
>   >   java:943)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardEngineValve.invoke(Standard
>   >   EngineValve.java
>   >   > :163)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invokeNext(Standar
>   >   dPipeline.java(C
>   >   > ompiled Code))
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.StandardPipeline.invoke(StandardPip
>   >   eline.java:472)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.
>   >   java:943)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.connector.http.HttpProcessor.process(Htt
>   >   pProcessor.java:
>   >   > 1011)
>   >   >         at
>   >   > 
>   >   org.apache.catalina.connector.http.HttpProcessor.run(HttpPro
>   >   cessor.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