Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3912

Jetty is failing because of increased header size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.3
    • 4.5
    • None
    • None

      http://hudson.magnolia-cms.com/job/magnolia-bundle_trunk/info.magnolia$magnolia-integration-tests/1742/consoleFull
      [INFO] [talledLocalContainer] 2011-12-12 00:09:23,107 ERROR fo.magnolia.module.exchangesimple.SimpleSyndicator: Failed to activate content.
      [INFO] [talledLocalContainer] info.magnolia.cms.exchange.ExchangeException: Not able to send the activation request http://localhost:8088/magnoliaTestPublic/.magnolia/activation: Server returned HTTP response code: 413 for URL: http://localhost:8088/magnoliaTestPublic/.magnolia/activation
      [INFO] [talledLocalContainer] at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:431)
      [

      to problem with Jetty buffer size http://jira.codehaus.org/browse/JETTY-336
      Yes, we now send big header during the handshake op

      The solution is to increase buffer size (as mentioned at the end of the issue) using
      <Set name='headerBufferSize'>8192</Set>
      in connector section of jetty.xml, however we don't use static jetty.xml file and http://cargo.codehaus.org/Jetty+6.x doesn't support dynamic setting of this attribute.
      Tomcat doesn't suffer from the same issue.

        Acceptance criteria

              rsiska Robert Šiška
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD