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

Cannot add/deletee/modify a user via Configure Global Security, Matrix based, when we have 1345 <permission> lines in config.xml for 104 users

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Stack trace

      javax.servlet.ServletException: java.lang.IllegalStateException: Form too large 234430>200000
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:783)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:636)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:89)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      ...

      I had to modify config.xml and reload Jenkins. This is a pain.
      It used to work before it's upgraded to 1.554.2.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Trivial workaround is to set the java system property org.eclipse.jetty.server.Request.maxFormContentSize (e.g. -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000). Instructions how this works here: https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

            Show
            danielbeck Daniel Beck added a comment - Trivial workaround is to set the java system property org.eclipse.jetty.server.Request.maxFormContentSize (e.g. -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000 ). Instructions how this works here: https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

              People

              • Assignee:
                Unassigned
                Reporter:
                wgracelee wgracelee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: