Adapter Properties File
The runtime adapter parses one or more properties files at startup. The default runtime adapter properties file is named as adfilesagent.tra.
The default properties file is located in the TIB_ADFILES_HOME\bin directory.
The adapter also provides template TRA files for each properties file when the actual properties file is corrupted or deleted by mistake.
Each line in a properties file is a single property. Each property consists of a key and a value. The key starts with the first non-whitespace character and ends with the first occurrence of these characters:
(space) : =
The value starts at the first character after any of the three characters listed above.
For example:
tibco.configurl=/tibco/private/adapter/test/config/config1 tibco.repourl=tibcr://TEST_PROJECT tibco.username=admin tibco.password=samplePassword tibco.clientVar.service=7600 tibco.clientVar.daemon=tcp:7600
Properties defined in the properties file override the same properties defined in the project. The properties file for a deployed service is located in the TIBCO_TRA_DOMAIN_HOME/domainName/application/applicationDeploymentName directory.
Properties File Format
- Do not use the exclamation point (!) as a comment line indicator. Instead, use the number sign (#).
- The line continuation character is ignored, and you cannot define a property with multi-line values.
- A key cannot contain any of the termination characters. Although you can use termination characters by escaping the value with a preceding backslash (\) in Java, the adapter does not support this syntax.
- All paths inside a properties file, including Microsoft Windows directory names, must use forward slashes.