Working directory
The Sentinel Agent’s current working directory/folder becomes the current working directory of all components started by the Agent, unless an Alternative start-up directory was configured for the component. The working directory is important because most of the files and paths specified when configuring components in EMM are assumed to be relative to the Sentinel Agent’s working directory if a full absolute path is not provided.
Determining the working directory
If the Sentinel Agent was started manually then its current working directory is simply the current directory when it was run.
If it was started automatically – either as a service on Windows or as a daemon on UNIX – then the current working directory is determined as follows.
On Windows:
1. Normally, the Sentinel Agent tries to use the logs subdirectory of the Apama work directory.
2. Otherwise the Sentinel Agent tries to use the %WinDir%\System32 directory.
3. If the Sentinel Agent cannot write to any of these directories, it will fail to start.
On UNIX:
1. The Sentinel Agent tries to use the /logs subdirectory of the Apama work directory.
2. If the Sentinel Agent cannot write to this directory, it will fail to start.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.