Setting environment variables for Apama components
You can use the extended configuration file to set environment variables. Put environment variable declarations in the [Environment] section. For example:
[Environment]
LD_LIBRARY_PATH=/usr/local/mydir
If you specify an extended configuration file when you start the correlator, and if there are any environment variable entries in the extended configuration file then the Apama components use those environment variable settings. If you do not specify an extended configuration file when you start the correlator, or there are no environment variable entries in an extended configuration file that you do specify, the Apama components use the environment variable settings specified elsewhere.
Note: You must set variables such as LD_PRELOAD and LD_LIBRARY_PATH before the affected component starts execution. These environment variables are read-only. If you change them after component execution starts, the component does not recognize the change.