ConnectorLib Java 25.2
ConnectorLib Java SDK Programming Guide

# 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

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib Java 25.2

Topic Title: Configure the Connector