← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1216617] [NEW] HTTP Status 500 - org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (84161792) exceeds the configured maximum (52428800)..i have spent almost a day trying to deploy DHIS2 to tomcat7, and i have changed the web.xml values to 90MB but still giving the same error, any help am stuck.

 

Are you trying to deploy it via the Tomcat manager? The war file is rather large and this may be the problem.
If you are able to please try copying the war file to the tomcat/webapps directory directly. Tomcat should auto deploy the war.


Dan Cocos
BAO Systems
dcocos@xxxxxxxxxxxxxx
T: +1 202-352-2671 | Skype: dancocos

On Aug 25, 2013, at 1:26 PM, Mathayo Mihayo <princehayo@xxxxxxxxx> wrote:

> Public bug reported:
> 
> Am using window 7 ultimate,tomcat7..if i try to deploy small size file
> it works out...but dhis2 doesnt work..am totally confused..what is the
> way from this ERROR below.
> 
> HTTP Status 500 -
> org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
> the request was rejected because its size (84161792) exceeds the
> configured maximum (52428800)
> 
> type Exception report
> 
> message
> org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
> the request was rejected because its size (84161792) exceeds the
> configured maximum (52428800)
> 
> description The server encountered an internal error that prevented it
> from fulfilling this request.
> 
> exception
> 
> java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (84161792) exceeds the configured maximum (52428800)
> 	org.apache.catalina.connector.Request.parseParts(Request.java:2688)
> 	org.apache.catalina.connector.Request.parseParameters(Request.java:2932)
> 	org.apache.catalina.connector.Request.getParameter(Request.java:1096)
> 	org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383)
> 	org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:184)
> 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:91)
> 	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> 
> root cause
> 
> org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (84161792) exceeds the configured maximum (52428800)
> 	org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:813)
> 	org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:258)
> 	org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:282)
> 	org.apache.catalina.connector.Request.parseParts(Request.java:2621)
> 	org.apache.catalina.connector.Request.parseParameters(Request.java:2932)
> 	org.apache.catalina.connector.Request.getParameter(Request.java:1096)
> 	org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383)
> 	org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:184)
> 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:91)
> 	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> 
> note The full stack trace of the root cause is available in the Apache
> Tomcat/8.0.0-RC1 logs.
> 
> ** Affects: dhis2
>     Importance: Undecided
>         Status: New
> 
> -- 
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1216617
> 
> Title:
>  HTTP Status 500 -
>  org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
>  the request was rejected because its size (84161792) exceeds the
>  configured maximum (52428800)..i have spent almost a day trying to
>  deploy DHIS2 to tomcat7,and i have changed the web.xml values to 90MB
>  but still giving the same error,any help am stuck.
> 
> Status in DHIS 2:
>  New
> 
> Bug description:
>  Am using window 7 ultimate,tomcat7..if i try to deploy small size file
>  it works out...but dhis2 doesnt work..am totally confused..what is the
>  way from this ERROR below.
> 
>  HTTP Status 500 -
>  org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
>  the request was rejected because its size (84161792) exceeds the
>  configured maximum (52428800)
> 
>  type Exception report
> 
>  message
>  org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
>  the request was rejected because its size (84161792) exceeds the
>  configured maximum (52428800)
> 
>  description The server encountered an internal error that prevented it
>  from fulfilling this request.
> 
>  exception
> 
>  java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (84161792) exceeds the configured maximum (52428800)
>  	org.apache.catalina.connector.Request.parseParts(Request.java:2688)
>  	org.apache.catalina.connector.Request.parseParameters(Request.java:2932)
>  	org.apache.catalina.connector.Request.getParameter(Request.java:1096)
>  	org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383)
>  	org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:184)
>  	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:91)
>  	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> 
>  root cause
> 
>  org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (84161792) exceeds the configured maximum (52428800)
>  	org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:813)
>  	org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:258)
>  	org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:282)
>  	org.apache.catalina.connector.Request.parseParts(Request.java:2621)
>  	org.apache.catalina.connector.Request.parseParameters(Request.java:2932)
>  	org.apache.catalina.connector.Request.getParameter(Request.java:1096)
>  	org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383)
>  	org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:184)
>  	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:91)
>  	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> 
>  note The full stack trace of the root cause is available in the Apache
>  Tomcat/8.0.0-RC1 logs.
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1216617/+subscriptions
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp






Follow ups

References