Configure the Connector

Before running the connector you must modify connectorLibCpp.cfg.

In the [Connector] section of the configuration file, set the following parameter. This parameter tells ConnectorLib C++ how to locate your connector implementation:

ConnectorLibrary

The name of your connector library. The value of this parameter can include the full path and library name, or just specify the library name. All of the following examples are valid:

ConnectorLibrary=C:\Path\MyLibrary.dll
ConnectorLibrary=/path/libMyLibrary.so
ConnectorLibrary=./libMyLibrary.so
ConnectorLibrary=MyLibrary

For example, this is the configuration for the HelloWorld connector introduced in Implement a New Connector:

[Connector]
ConnectorLibrary=HelloWorldConnector.dll

Licensing

In the [License] section of the configuration file, specify the location of your license server. All connectors written using ConnectorLib C++ require a ConnectorLib C++ license. If the connector cannot find the license it logs an error to license.log and terminates. To specify the location of your license server, set the following parameters:

LicenseServerHost The host name or IP address of the machine that hosts the License server.
LicenseServerACIPort The ACI port of the License server.

For example:

[License]
LicenseServerHost=licenses
LicenseServerACIPort=20000