2 Replies Latest reply on Aug 14, 2015 10:58 AM by camilo sanchez

    UT000020: Connection terminated as request was larger than 10485760

    valsaraj viswanathan Master

      Hi,

       

      I found following error in log when I uploaded a video file with size 212MB:

      [Server:ltchie-node-00] Caused by: javax.servlet.ServletException: java.io.IOException: UT000020: Connection terminated as request was larger than 10485760

      [Server:ltchie-node-00] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:192) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:160) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] ... 31 more

      [Server:ltchie-node-00] Caused by: java.lang.RuntimeException: java.io.IOException: UT000020: Connection terminated as request was larger than 10485760

      [Server:ltchie-node-00] at io.undertow.servlet.spec.HttpServletRequestImpl.parseFormData(HttpServletRequestImpl.java:754) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at io.undertow.servlet.spec.HttpServletRequestImpl.getParameterNames(HttpServletRequestImpl.java:648) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      [Server:ltchie-node-00] at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:89) [jsf-impl-2.2.8-jbossorg-1.jar:]

      [Server:ltchie-node-00] at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:62) [jsf-impl-2.2.8-jbossorg-1.jar:]

      [Server:ltchie-node-00] at java.util.Collections$UnmodifiableMap.get(Collections.java:1339) [rt.jar:1.7.0_45]

      [Server:ltchie-node-00] at com.sun.faces.application.view.MultiViewHandler.calculateRenderKitId(MultiViewHandler.java:222) [jsf-impl-2.2.8-jbossorg-1.jar:]

      [Server:ltchie-node-00] at javax.faces.application.ViewHandlerWrapper.calculateRenderKitId(ViewHandlerWrapper.java:157) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

      [Server:ltchie-node-00] at javax.faces.application.ViewHandlerWrapper.calculateRenderKitId(ViewHandlerWrapper.java:157) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

       

      What is the solution to fix this?

       

      Thanks!