Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20327

“Form too large” errors submitting view configurations with many jobs

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Windows XP Professional, Version 2002, SP3
      Intel(R)Xeon(R) CPU
      X5670 @ 2.93 GHz
      2,67 GHz, 2,00 GB of RAM
      Physical Address Extension

      Jenkins was today upgraded from 1.527 to 1.537.

      I have created a new job (by copying an older job), and saved.
      I want to integrate the new job into a Jenkins view, select it, press "Edit view", select the new job, press save

      and get the following Java exception:

      javax.servlet.ServletException: java.lang.IllegalStateException: Form too large 241320>200000
        at …
      

      The issue is critical, because I have to implement a lot of new jobs for our testing environment, we are short before a new release of our software.

      Thanks a lot for providing a solution for this problem.

      Attached is the above stacktrace, as well as the output found in the error logging on the Jenkins master server, and the version of all installed plugins.

          [JENKINS-20327] “Form too large” errors submitting view configurations with many jobs

          Jesse Glick added a comment -

          I have marked a bunch of duplicates, but left them open, since it is typically still a crappy design in plugins (or core, as in this original issue) that they encourage forms with gigantic data. Jetty is now configured to meekly accept the whole submission, but your performance will still suffer.

          Jesse Glick added a comment - I have marked a bunch of duplicates, but left them open, since it is typically still a crappy design in plugins (or core, as in this original issue) that they encourage forms with gigantic data. Jetty is now configured to meekly accept the whole submission, but your performance will still suffer.

          mdonohue added a comment -

          What version of Jenkins picked up the jetty change to accept the whole submission? I see Stephen Connolly's patch was applied to winstone, but there hasn't been a deploy of winstone with that patch based on the tags I see, and core/war/pom.xml points at winstone-2.8, which doesn't have the patch.

          mdonohue added a comment - What version of Jenkins picked up the jetty change to accept the whole submission? I see Stephen Connolly's patch was applied to winstone, but there hasn't been a deploy of winstone with that patch based on the tags I see, and core/war/pom.xml points at winstone-2.8, which doesn't have the patch.

          Jesse Glick added a comment -

          Indeed.

          Jesse Glick added a comment - Indeed.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          war/pom.xml
          http://jenkins-ci.org/commit/jenkins/8f012d63d771b22d74eec8396b2895f0e45f0e6f
          Log:
          [FIXED JENKINS-20327] Integrate Winstone 2.9.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: war/pom.xml http://jenkins-ci.org/commit/jenkins/8f012d63d771b22d74eec8396b2895f0e45f0e6f Log: [FIXED JENKINS-20327] Integrate Winstone 2.9.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          war/pom.xml
          http://jenkins-ci.org/commit/jenkins/d76ee3e5179dd50e96e6c8e1d67ffbdec7f88a7b
          Log:
          JENKINS-20327 Noting merge of #1922.

          Compare: https://github.com/jenkinsci/jenkins/compare/ab0198246c1c...d76ee3e5179d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html war/pom.xml http://jenkins-ci.org/commit/jenkins/d76ee3e5179dd50e96e6c8e1d67ffbdec7f88a7b Log: JENKINS-20327 Noting merge of #1922. Compare: https://github.com/jenkinsci/jenkins/compare/ab0198246c1c...d76ee3e5179d

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4373
          [FIXED JENKINS-20327] Integrate Winstone 2.9. (Revision 8f012d63d771b22d74eec8396b2895f0e45f0e6f)

          Result = SUCCESS
          jesse glick : 8f012d63d771b22d74eec8396b2895f0e45f0e6f
          Files :

          • war/pom.xml

          dogfood added a comment - Integrated in jenkins_main_trunk #4373 [FIXED JENKINS-20327] Integrate Winstone 2.9. (Revision 8f012d63d771b22d74eec8396b2895f0e45f0e6f) Result = SUCCESS jesse glick : 8f012d63d771b22d74eec8396b2895f0e45f0e6f Files : war/pom.xml

          Code changed in jenkins
          User: Jesse Glick
          Path:
          war/pom.xml
          http://jenkins-ci.org/commit/jenkins/1a91527767f6f4813835335506100848007623d6
          Log:
          [FIXED JENKINS-20327] Integrate Winstone 2.9.

          (cherry picked from commit 8f012d63d771b22d74eec8396b2895f0e45f0e6f)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: war/pom.xml http://jenkins-ci.org/commit/jenkins/1a91527767f6f4813835335506100848007623d6 Log: [FIXED JENKINS-20327] Integrate Winstone 2.9. (cherry picked from commit 8f012d63d771b22d74eec8396b2895f0e45f0e6f)

          Code changed in jenkins
          User: Jesse Glick
          Path:
          http://jenkins-ci.org/commit/jenkins/e3ccde03907f3464dec56f5dab18e849ce508548
          Log:
          [FIXED JENKINS-20327] Integrate Winstone 2.9.

          (cherry picked from commit 8f012d63d771b22d74eec8396b2895f0e45f0e6f)

          Compare: https://github.com/jenkinsci/jenkins/compare/f5f777f680b7^...e3ccde03907f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: http://jenkins-ci.org/commit/jenkins/e3ccde03907f3464dec56f5dab18e849ce508548 Log: [FIXED JENKINS-20327] Integrate Winstone 2.9. (cherry picked from commit 8f012d63d771b22d74eec8396b2895f0e45f0e6f) Compare: https://github.com/jenkinsci/jenkins/compare/f5f777f680b7 ^...e3ccde03907f

          dogfood added a comment -

          Integrated in jenkins_2.0 #5
          [FIXED JENKINS-20327] Integrate Winstone 2.9. (Revision 8f012d63d771b22d74eec8396b2895f0e45f0e6f)

          Result = SUCCESS
          jesse glick : 8f012d63d771b22d74eec8396b2895f0e45f0e6f
          Files :

          • war/pom.xml

          dogfood added a comment - Integrated in jenkins_2.0 #5 [FIXED JENKINS-20327] Integrate Winstone 2.9. (Revision 8f012d63d771b22d74eec8396b2895f0e45f0e6f) Result = SUCCESS jesse glick : 8f012d63d771b22d74eec8396b2895f0e45f0e6f Files : war/pom.xml

          Not a candidate for 1.642 based LTS as it was fixed in 1.639.

          Oliver Gondža added a comment - Not a candidate for 1.642 based LTS as it was fixed in 1.639.

            stephenconnolly Stephen Connolly
            baue_ang Angela Bauer
            Votes:
            11 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated:
              Resolved: