user manual

Chapter 5: Web server to web container connectivity 53
Large data transfer
Enabling chunked upload
To enable chunked upload mode, you must update both of the following:
the Borland web container server.xml file, which is stored in your Partition's
data directory:
adm/tomcat/conf
For more information, go to the Chapter 4, Web components.
the Apache httpd.conf file, which by default is located in the following
directory:
<install_dir>/var/domains/<domain_name>/configurations/
<configuration_name>/mos/apache2/conf
For more information, go to Chapter 4, Web components.
To enable the chunked upload:
1 In the Borland web container server.xml, locate the <Service name="IIOP">
section of the code.
2 By default, the enableChunking attribute is set to false. Change this value to
enableChunking="true"
3 In the Apache httpd.conf file, locate and uncomment the following IIOP
directive:
#IIopChunkedUploading true
Note The chunked upload mode of transfer has an overhead of an extra thread per
each request for the Borland web container.
Changing the upload buffer size
By default, IIopUploadBufferSize is set to 4096 bytes. To change this value:
1 In the Apache httpd.conf, locate the following commented out directive:
#IIopUploadBufferSize 4096
2 Uncomment this directive and set as follows:
IIopUploadBufferSize <value>
where <value> is a numeric value >0 (greater than zero).
Note If you specify an invalid value (non numeric/negative number) then the default
4096 value is employed.
Known content length versus unknown
Based on whether content length is known in advance or not, chunked upload
mode can take one of the following two paths:
chunked upload with known content length
chunked upload with unknown content length