java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576)

ICEsoft JIRA Issue Tracker | Arran Mccullough | 2 years ago
  1. 0

    [ICE-10130] ace:fileEntry - Error messages not displayed when using Servlet 3.0 multipart-config params - ICEsoft JIRA Issue Tracker

    icesoft.org | 1 year ago
    java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576)
  2. 0

    When using the file size parameters for the <multipart-config> settings, if the file size is larger than what is set, an error is thrown and the messages are not sent to the server. <multipart-config> <max-file-size>1048576</max-file-size> <max-request-size>1048576</max-request-size> <file-size-threshold>1</file-size-threshold> </multipart-config> Error stack trace: Jul 16, 2014 1:28:31 PM org.icefaces.ace.component.fileentry.FileEntryResourceHandler isResourceRequest WARNING: Problem reading multi-part form upload, likely due to a file upload being cut off from the client losing their network connection or closing their browser tab or window. java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576) at org.apache.catalina.connector.Request.parseParts(Request.java:2784) at org.apache.catalina.connector.Request.parseParameters(Request.java:3043) at org.apache.catalina.connector.Request.getParameter(Request.java:1148) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383) at org.netbeans.modules.web.monitor.server.MonitorRequestWrapper.getParameter(MonitorRequestWrapper.java:199) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:140) at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:91) at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:62) at java.util.Collections$UnmodifiableMap.get(Collections.java:1339) at org.icefaces.impl.application.WindowScopeManager.isDisposeWindowRequest(WindowScopeManager.java:192) at org.icefaces.impl.application.WindowScopeManager.isSessionAwareResourceRequest(WindowScopeManager.java:74) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32) at javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137) at org.icefaces.impl.application.SessionTimeoutMonitor.isSessionAwareResourceRequest(SessionTimeoutMonitor.java:41) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32) at org.icefaces.impl.util.CharacterEncodingHandler.isResourceRequest(CharacterEncodingHandler.java:73) at javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:590) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576) at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:804) at org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:284) at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:304) at org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:129) at org.apache.catalina.connector.Request.parseParts(Request.java:2722) ... 36 more Jul 16, 2014 1:28:31 PM org.icefaces.impl.context.DOMResponseWriter logUnclosedNode WARNING: Missing end-element for: #document (path: #document)

    ICEsoft JIRA Issue Tracker | 2 years ago | Arran Mccullough
    java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576)
  3. 0

    When using the file size parameters for the <multipart-config> settings, if the file size is larger than what is set, an error is thrown and the messages are not sent to the server. <multipart-config> <max-file-size>1048576</max-file-size> <max-request-size>1048576</max-request-size> <file-size-threshold>1</file-size-threshold> </multipart-config> Error stack trace: Jul 16, 2014 1:28:31 PM org.icefaces.ace.component.fileentry.FileEntryResourceHandler isResourceRequest WARNING: Problem reading multi-part form upload, likely due to a file upload being cut off from the client losing their network connection or closing their browser tab or window. java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576) at org.apache.catalina.connector.Request.parseParts(Request.java:2784) at org.apache.catalina.connector.Request.parseParameters(Request.java:3043) at org.apache.catalina.connector.Request.getParameter(Request.java:1148) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383) at org.netbeans.modules.web.monitor.server.MonitorRequestWrapper.getParameter(MonitorRequestWrapper.java:199) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:140) at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:91) at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:62) at java.util.Collections$UnmodifiableMap.get(Collections.java:1339) at org.icefaces.impl.application.WindowScopeManager.isDisposeWindowRequest(WindowScopeManager.java:192) at org.icefaces.impl.application.WindowScopeManager.isSessionAwareResourceRequest(WindowScopeManager.java:74) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32) at javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137) at org.icefaces.impl.application.SessionTimeoutMonitor.isSessionAwareResourceRequest(SessionTimeoutMonitor.java:41) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32) at org.icefaces.impl.util.CharacterEncodingHandler.isResourceRequest(CharacterEncodingHandler.java:73) at javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:590) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576) at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:804) at org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:284) at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:304) at org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:129) at org.apache.catalina.connector.Request.parseParts(Request.java:2722) ... 36 more Jul 16, 2014 1:28:31 PM org.icefaces.impl.context.DOMResponseWriter logUnclosedNode WARNING: Missing end-element for: #document (path: #document)

    ICEsoft JIRA Issue Tracker | 2 years ago | Arran Mccullough
    java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (55392185) exceeds the configured maximum (1048576)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    fail to start jchem web services in tomcat 7 on ubuntu 12.04

    chemaxon.com | 5 months ago
    java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (168894427) exceeds the configured maximum (52428800)
  6. 0

    Tomcat 8 - Maximum File Size

    Stack Overflow | 6 months ago | user1578872
    org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (4719402) exceeds the configured maximum (1048576)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException

      the request was rejected because its size (55392185) exceeds the configured maximum (1048576)

      at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>()
    2. org.apache.tomcat
      ServletFileUpload.parseRequest
      1. org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:804)
      2. org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:284)
      3. org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:304)
      4. org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:129)
      4 frames
    3. Glassfish Core
      RequestFacade.getParameter
      1. org.apache.catalina.connector.Request.parseParts(Request.java:2722)
      2. org.apache.catalina.connector.Request.parseParameters(Request.java:3043)
      3. org.apache.catalina.connector.Request.getParameter(Request.java:1148)
      4. org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:383)
      4 frames
    4. org.netbeans.modules
      MonitorRequestWrapper.getParameter
      1. org.netbeans.modules.web.monitor.server.MonitorRequestWrapper.getParameter(MonitorRequestWrapper.java:199)
      1 frame
    5. JavaServlet
      ServletRequestWrapper.getParameter
      1. javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:140)
      1 frame
    6. JSF
      RequestParameterMap.get
      1. com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:91)
      2. com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:62)
      2 frames
    7. Java RT
      Collections$UnmodifiableMap.get
      1. java.util.Collections$UnmodifiableMap.get(Collections.java:1339)
      1 frame
    8. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.isResourceRequest
      1. org.icefaces.impl.application.WindowScopeManager.isDisposeWindowRequest(WindowScopeManager.java:192)
      2. org.icefaces.impl.application.WindowScopeManager.isSessionAwareResourceRequest(WindowScopeManager.java:74)
      3. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32)
      3 frames
    9. JavaEE 7
      ResourceHandlerWrapper.isResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137)
      1 frame
    10. org.icefaces.impl
      CharacterEncodingHandler.isResourceRequest
      1. org.icefaces.impl.application.SessionTimeoutMonitor.isSessionAwareResourceRequest(SessionTimeoutMonitor.java:41)
      2. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.isResourceRequest(SessionAwareResourceHandlerWrapper.java:32)
      3. org.icefaces.impl.util.CharacterEncodingHandler.isResourceRequest(CharacterEncodingHandler.java:73)
      3 frames
    11. JavaEE 7
      FacesServlet.service
      1. javax.faces.application.ResourceHandlerWrapper.isResourceRequest(ResourceHandlerWrapper.java:137)
      2. javax.faces.webapp.FacesServlet.service(FacesServlet.java:590)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    13. org.netbeans.modules
      MonitorFilter.doFilter
      1. org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    15. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames