user manual
Chapter 8: Apache web server to CORBA server connectivity 81
Configuring your Apache web server to invoke a CORBA server
The two configuration files are:
Modifying either of these configuration files can be done so without starting up
or shutting down the Apache web server(s) or CORBA server(s) because the
file is automatically loaded by the IIOP connector.
Adding new CORBA servers (clusters)
CORBA servers are known as "clusters" to the IIOP connector. To configure
your CORBA server for use with the IIOP connector, you need to define and
add a "cluster" to the WebClusters.properties file.
The WebClusters.properties file tells the IIOP connector:
■
The name of each available cluster - (ClusterList).
■
The web container identification.
■
Whether to provide automatic load balancing (enable_loadbalancing) for a
particular cluster.
To add a new cluster:
■
In the WebClusters.properties file:
a add the name of the configured cluster to the ClusterList. For example:
ClusterList=cluster1,cluster2,cluster3
b define each cluster by adding a line in the following format specifying the
cluster name, the required webcontainer_id attribute, and any additional
attributes (see the following table, “Cluster definition attributes” on
page 82). For example:
<clustername>.webcontainer_id = <id> <attribute>
Table 8.1 Apache IIOP connection configuration files
IIOP configuration file Description
WebClusters.properties
Specifies the cluster(s) and the
corresponding CORBA server(s) for each
cluster.
UriMapFile.properties
Maps URI references to the clusters
defined in the WebClusters.properties file.










