user manual
42 BES Developer’s Guide
Apache to Borland web container connectivity
Within the server.xml file are the following lines of code that pertain to the IIOP
connector configuration.
<Connector className="com.borland.catalina.connector.iiop.IiopConnector"
name="tc_inst1 debug="0" minProcessors="5" maxProcessors="75""
enableChunking="false" port="0" canBufferHttp10Data="true"
downloadBufferSize="4096" />
Use these lines of code and the following attributes to configure the Borland
web container IIOP connector.
Table 5.1 IIOP connector attributes
Attribute Default Description
name tc_instl The name by which this connector can be reached by
Apache and IIS servers.
debug 0 (zero) Integer that sets the level of debug information.
When set to 0 (zero) - the default, debug is turned off.
To turn debug on, set to 1. For very detailed debug
messages, set to 99.
minProcessors 5 The number of minimum threads previously created
to service requests on this connector.
maxProcessors 75 The number of maximum threads that will be created
on this connector to service requests.
enableChunking false Enables chunking behavior on the connector. To
enable chunking, set this attribute to true. Important:
To enable chunking, you must also set the servlet
response header Transfer-Encoding value to chunked.
For more information, go to “Downloading large data”
on page 50 .
downloadBufferSize 4096 Defines the "chunked" buffer size employed when
enableChunking is set to true. This directive accepts a
numeric value >0. Essentially, the larger the number
of bytes you set this directive to, the less the number
of CORBA RPCs that are required to send the data to
Apache or IIS. However, the larger you set this
directive, the more memory will be consumed in
servicing the transaction. Tuning this parameter
allows you to fine-tune the performance charactistics.
This enables the administrator to weigh the RPC
costs against memory resource usage to optimize
uploading on their system.
Note: If an invalid value is presented (non numeric/
negative number) then the default 4096 value is
employed. For more information, go to “Downloading
large data” on page 50.










