title: Camunda Tomcat max file size exceeded
body: <p>I use the camunda (tomcat included) version. When i try to upload large files using the auto-generated form it just freezes and i cant complete the task. In the browser console i saw</p>
  <pre><code>Error: Maximum file size of 5.00 MB exceeded.
      transformFiles http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:1
      submit http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:1
      link http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.17.0:41
      complete http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.17.0:41
      fn http://localhost:8080/camunda/lib/deps.js?bust=7.17.0 line 36 &gt; Function:4
      i http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
      $eval http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
      $apply http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
      compile http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
      dispatch http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:120
      handle http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:120
  </code></pre>
  <p>so i searched on the web how to increase the max file size. I found <a href="https://tecadmin.net/increase-tomcat-upload-file-size-limit/" rel="nofollow noreferrer">this one</a> but in my config it says it is actually configured for files up to 50MB. Of course i restarted the tomcat server!</p>
  <p>Why does my browser say 5MB exceeded?</p>