form parameters for huge data are not processed on submit












0















We have a Spring MVC application. It is started into a tomcat container (version 8.0.46)

When submitting huge data in a form it seems that the application is ignoring them.



For example, if I submit (using jQuery.post) the form with 30.000 parameters it works, I can see the data being processed. If I send a request that contains 50.000 parameters the data it's not processed any longer. I'm sure that the data gets sent from the browser to the application because I've looked into the HttpServletRequest request (everything is to be there).



Debugging the code, I found out that the



WebUtils.getParametersStartingWith(request, (prefix != null ? prefix + prefixSeparator : null))


in



public ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) 


returns nothing.



This seems to be because



Enumeration<String> paramNames = request.getParameterNames();


returns nothing.



I thought it's an tomcat issue, that the maximum number of parameters or size is set too low, so, I've changed them in server.xml in my tomcat. Unfortunately, this didn't solved the issue because, it seems that tomcat simply ignores my new settings.



Did anyone encounter this behaviour?










share|improve this question





























    0















    We have a Spring MVC application. It is started into a tomcat container (version 8.0.46)

    When submitting huge data in a form it seems that the application is ignoring them.



    For example, if I submit (using jQuery.post) the form with 30.000 parameters it works, I can see the data being processed. If I send a request that contains 50.000 parameters the data it's not processed any longer. I'm sure that the data gets sent from the browser to the application because I've looked into the HttpServletRequest request (everything is to be there).



    Debugging the code, I found out that the



    WebUtils.getParametersStartingWith(request, (prefix != null ? prefix + prefixSeparator : null))


    in



    public ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) 


    returns nothing.



    This seems to be because



    Enumeration<String> paramNames = request.getParameterNames();


    returns nothing.



    I thought it's an tomcat issue, that the maximum number of parameters or size is set too low, so, I've changed them in server.xml in my tomcat. Unfortunately, this didn't solved the issue because, it seems that tomcat simply ignores my new settings.



    Did anyone encounter this behaviour?










    share|improve this question



























      0












      0








      0








      We have a Spring MVC application. It is started into a tomcat container (version 8.0.46)

      When submitting huge data in a form it seems that the application is ignoring them.



      For example, if I submit (using jQuery.post) the form with 30.000 parameters it works, I can see the data being processed. If I send a request that contains 50.000 parameters the data it's not processed any longer. I'm sure that the data gets sent from the browser to the application because I've looked into the HttpServletRequest request (everything is to be there).



      Debugging the code, I found out that the



      WebUtils.getParametersStartingWith(request, (prefix != null ? prefix + prefixSeparator : null))


      in



      public ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) 


      returns nothing.



      This seems to be because



      Enumeration<String> paramNames = request.getParameterNames();


      returns nothing.



      I thought it's an tomcat issue, that the maximum number of parameters or size is set too low, so, I've changed them in server.xml in my tomcat. Unfortunately, this didn't solved the issue because, it seems that tomcat simply ignores my new settings.



      Did anyone encounter this behaviour?










      share|improve this question
















      We have a Spring MVC application. It is started into a tomcat container (version 8.0.46)

      When submitting huge data in a form it seems that the application is ignoring them.



      For example, if I submit (using jQuery.post) the form with 30.000 parameters it works, I can see the data being processed. If I send a request that contains 50.000 parameters the data it's not processed any longer. I'm sure that the data gets sent from the browser to the application because I've looked into the HttpServletRequest request (everything is to be there).



      Debugging the code, I found out that the



      WebUtils.getParametersStartingWith(request, (prefix != null ? prefix + prefixSeparator : null))


      in



      public ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) 


      returns nothing.



      This seems to be because



      Enumeration<String> paramNames = request.getParameterNames();


      returns nothing.



      I thought it's an tomcat issue, that the maximum number of parameters or size is set too low, so, I've changed them in server.xml in my tomcat. Unfortunately, this didn't solved the issue because, it seems that tomcat simply ignores my new settings.



      Did anyone encounter this behaviour?







      java javascript tomcat mvc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 11 at 16:32









      Ahmed Ashour

      1,3401715




      1,3401715










      asked Jan 11 at 14:29









      user983927user983927

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393181%2fform-parameters-for-huge-data-are-not-processed-on-submit%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393181%2fform-parameters-for-huge-data-are-not-processed-on-submit%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

          How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...