user manual
44 BES Developer’s Guide
Apache to Borland web container connectivity
Use these lines of code to configure the Apache web server IIOP connector.
1
"cluster" is used to represent a CORBA server instance that is known to the
system by a single name or URI. The IIOP connector is able to load-balance
across multiple instances, hence the term "cluster" is used.
The following are examples of typical configurations of these 5 lines for the
IIOP connector for Apache 2.0:
Windows example LoadModule iiop2_module C:/BES/lib/apache2/mod_iiop2.dll
IIopLogFile C:/BES/var/domains/base/configurations/j2ee/mos/
Table 5.2 IIOP directives for Apache
Directive default Description
LoadModule <install_dir>/lib/
apache2/mod_iiop2.dll
Enables Apache 2.0 to
load the IIOP connector.
This directive instructs the
Apache web server to load
the Apache mod_iiop2
module from the location
specified. Once the
module is loaded, the
following four directives
are required to enable the
IIOP connector to locate
the web container(s) or
CORBA server(s) it must
communicate with and
perform other functions.
IIopLogFile <install_dir>/var/domains/
<domain_name>/
configurations/
<configuration_name>/mos/
apache2/logs/mod_iiop.log
Specifies the location
where the IIOP connector
writes log output.
IIopLogLevel error Specifies the level of log
information to write. This
directive can take one of
the following: debug | warn |
info | error.
IIopClusterConfig <install_dir>/var/domains/
<domain_name>/
configurations/
<configuration_name>/mos/
apache2/conf/
WebClusters.properties
Specifies the location of
the "cluster" instance file.
For CORBA servers,
identifies the file that
contains the "cluster"
name by which they are
known to the IIOP
connector
1
.
IIopMapFile <install_dir>/var/domains/
<domain_name>/
configurations/
<configuration_name>/mos/
apache2/conf/
UriMapFile.properties
Specifies the location of
the URI-to-Instance
mapping file. For CORBA
servers, maps HTTP URIs
to a specific "cluster"
known to the IIOP
connector.










