Deploying and Managing Apama Applications > Correlator Utilities Reference > Using the Apama component extended configuration file > Setting environment variables for Apama components
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.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.