Adapter Properties File

The runtime adapter parses one or more properties files at startup. The default properties file for TIBCO ActiveMatrix Adapter for Database is the adbagent.tra file, which is located in the TIB_ADADB_HOME\bin subdirectory. The runtime adapter provides a template TRA file 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 at the first occurrence of these characters. The format is as follows:

    (space) : =

  • The value starts at the first character after any of the preceding three characters.

The following example shows some adapter properties and their formats:

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 of a deployed service override the same properties defined in the project. The properties file for a deployed service is located in the following directory:

TIBCO_TRA_DOMAIN_HOME/domainName/application/applicationDeploymentName

Note: The following restrictions apply to properties:
  • 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, TIBCO ActiveMatrix Adapter for Database does not support this syntax.
  • All paths inside a properties file, including Microsoft Windows directory names, must use forward slashes (/).