Troubleshoot Errors

If you run the connector and find that it stops immediately, check the logs to see if any errors occurred at the time you tried to start it. You can also try running the connector from the command prompt to see if any messages are output to the console.

The following table provides the solutions for some common problems:

Symptom Resolution

The connector stops immediately, writing this line to the console and to connectorLibJava.log:

File I/O: readFile failed: connectorLibJava.cfg

Ensure the configuration file is present in the connector directory. The configuration file must have the same name as the executable, but with the extension cfg instead of exe. For example:

connectorLibJava.cfg

The connector stops immediately, writing this line to the console:

EXCEPTION: Exception in Java: java.lang.NoClassDefFoundError: com/autonomy/connector/Log

JavaConnector.jar is not present, or the wrong version is present. Ensure that the version of JavaConnector.jar provided with connectorLibJava.exe is present in the connector directory.

The connector stops immediately, logging this line to the application log:

EXCEPTION: Exception in Java: java.lang.NoClassDefFoundError: myconnector/MyConnector

Ensure your connector JAR and all of its dependencies are present in the connector directory. Also ensure that the configuration parameter JavaConnectorClass is set correctly in the configuration file.

The connector stops immediately, logging this line to the application log:

EXCEPTION: Connector class myconnector/MyConnector does not extend com.autonomy.connector.ConnectorBase

The class specified by the JavaConnectorClass configuration parameter was found but it did not have ConnectorBase as its base type.

The connector stops and logs this error to license.log:

No license found for My Connector

(where My Connector is the name of your connector).

A valid ConnectorLib Java license could not be found. Check the settings in the [License] section of the configuration file, that the license server can be contacted, and that you have a valid ConnectorLib Java license.