Configure the Connector
Before running the connector you must modify connectorLibJava.cfg
.
In the [Connector]
section of the configuration file, set the following parameters. These parameters tell ConnectorLib Java how to locate your connector implementation:
JavaConnectorClass
|
The full name of the Java class of your connector implementation. |
JVMLibraryPath
|
The library path to the location of your JAR file. (The default is the connector directory). |
For example, this is the configuration for the HelloWorld connector introduced in Implement a New Connector:
[Connector] JavaConnectorClass=myconnector.HelloWorldConnector
Licensing
In the [License]
section of the configuration file, specify the location of your license server. All connectors written using ConnectorLib Java require a ConnectorLib Java 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