Next: , Up: Run-time configuration


4.2.1 Using a configuration file

A configuration file may be used to configure a PolyORB node. A sample configuration file may be found in src/polyorb.conf.

The syntax of the configuration file is:

Default search path for polyorb.conf is current directory. Environment variable POLYORB_CONF may be used to set up information on configuration file.

PolyORB's configuration file allows the user to

  1. enable/disable the output of debug information
  2. set up default reference on naming service
  3. select the default protocol personality
  4. set up each protocol personality

The configuration file is read once when running a node, during initialization. Look in the sample configuration file src/polyorb.conf to see the available sections and variables.