Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2119

JBWEB-142 - Parameterize org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE

XMLWordPrintable

    • Release Notes
    • Hide
      SHORT DESCRIPTION:
              Provide fix for JBWEB-142.
      LONG DESCRIPTION:
               Patch to parameterize org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE.
      MANUAL INSTALL INSTRUCTIONS:
              Replace the existing %JBOSS_HOME%/server/%JBOSSCONF%/jboss-web.deployer/jbossweb.jar with the new jbossweb.jar
      COMPATIBILITY:
             4.2.0.GA
      SUPERSEDES:
              N/A
      CREATOR:
              Mike Millson
      DATE:
              18-June-2009
      Show
      SHORT DESCRIPTION:         Provide fix for JBWEB-142. LONG DESCRIPTION:          Patch to parameterize org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE. MANUAL INSTALL INSTRUCTIONS:         Replace the existing %JBOSS_HOME%/server/%JBOSSCONF%/jboss-web.deployer/jbossweb.jar with the new jbossweb.jar COMPATIBILITY:        4.2.0.GA SUPERSEDES:         N/A CREATOR:         Mike Millson DATE:         18-June-2009

      Add functionality to parameterize the buffer size of org.apache.jasper.runtime.BodyContentImpl.java (e.g. with an environment variable).

      Currently the buffer size is determined by the org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE constant, which is set 512 bytes, and there is no way to override this.

      Applications with many JSP pages that are larger than 512 bytes would benefit from a larger buffer size by avoiding excessive GC due to creating and destroying char arrays.

              istudens@redhat.com Ivo Studensky
              rhn-support-mmillson Michael Millson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: