response.setBufferSize() has no effect when using the response writer

Solution Unverified - Updated -

Issue

  • We use response.setBufferSize() to increase the response buffer. It seems to have no effect though when using the response writer; the response is still committed at the same point as when using the default buffer size.
  • We are trying to configure http response buffer size for JBoss server (domain mode), but we couldn't find a proper configuration parameter for that. The goal is to set the size of response to be written before it is flushed to the client side.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.4.0 and earlier
  • JBoss Enterprise Web Server (EWS) 2.0.1 and earlier
  • Tomcat 7.0.47 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.