Setting configuration properties

The configuration parameters are in the $COLLATION_HOME/sdk/etc/collation.properties file. Table 1 describes the configuration parameters you can specify:

Table 1. Configuration properties
Parameter Details
com.collation.version

Version of the API

com.collation.LogFile
Location that client side messages are logged in. The directory must exist. The file is created if it does not exist. The supplied default is ../log/api-client.log. If this property is not specified, logging defaults to stdout.
com.collation.log.level

Logging level, from among the following values:

  • INFO—Default
  • ERROR
  • DEBUG
com.collation.log.filesize

Log file size. The default value is 20 MB.

com.collation.log.filecount

Rollover count. The default value is 3.

com.ibm.cdb.service.registry.public.port

Default port for the TADDM public services RMI registry. SDK (API) is one of the public TADDM services. This value must be the same as the setting for the TADDM server. The default value is 9433.

If the API connects to multiple TADDM servers, you must configure all servers to use the same port, or specify the port when connecting.

com.ibm.cdb.service.ApiServer.port

Default port for the TADDM where API server listens on for non-SSL requests. SDK (API) is one of the public TADDM services. This value must be the same as the setting for the TADDM server. The default value is 9530.

If the API connects to multiple TADDM servers, you must configure all servers to use the same port, or specify the port when connecting.

The com.ibm.cdb.service.registry.public.port and com.ibm.cdb.service.registry.public.port properties settings must match the settings for the TADDM server. Otherwise the TADDM SDK does not work. This is required for both embedded and standalone modes.