I'm using jboss-3.2.1_tomcat-4.1.24.

I need to set the size of the response buffer in a Servlet.  The default (found with 
response.getBufferSize) is 8192.

I've tried using response.setBufferSize, I've tried resetting after the call, but no 
matter what, getBuffersize returns 8192.

log.debug( "output buffer size: " + response.getBufferSize());
  | response.setBufferSize(512);
  | response.reset();
  | log.debug( "output buffer size reset: " + response.getBufferSize());
Result:
output buffer size: 8192
output buffer size reset: 8192

I've also tried changing buffersize in the connector setup in 
jbossweb-tomcat.sar\META-INF\jboss-service.xml.  Like so:

  |             <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
  |                port="80" minProcessors="3" maxProcessors="10" buffersize="512"
  |                enableLookups="true" acceptCount="10" debug="0" 
  |                connectionTimeout="20000" useURIValidationHack="false" 
redirectPort="443" />

Can someone please give me a hand?

Thanks, Greg


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822718#3822718

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822718


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to