Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
CDO Objectivity Store ConfigFile
The configuration file indicates which database to use. To use the Objectivity DB store, you need to setup your configuration like the following example:
<?xml version="1.0" encoding="UTF-8"?> <cdoServer> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036"> </acceptor> <repository name="companyrepo"> <property name="supportingAudits" value="true"/> <property name="supportingBranches" value="false"/> <store type="objectivity"> <fdConfig name="Company" lockServerHost = "_DEFAULT_" fdDirPath = "c:\data\Company" fdFileHost = "_DEFAULT_" fdNumber = "5565" dbDirPath = "_DEFAULT_" pageSize = "_DEFAULT_" SessionMinCacheSize = "600" SessionMaxCacheSize = "1000">> </fdConfig> </store> </repository> </cdoServer>
Legend:
name
- Name of the federated database you want to create.
lockServerHost
- The IP/network name of the lockserver host. To use the lockserver living on the current computer, use "_DEFAULT_".
fdDirPath
- The directory of the federated database on the host. The directory must exist already.
fdFileHost
- The IP/network name of the computer hosting the federated database. To use the lockserver living on the current computer, use "_DEFAULT_".
fdNumber
- The ID number of the federated database, must be between 0 and 65534
dbDirPath
- The directory of the databases on the host. The directory must exist already. If the value is "_DEFAULT_" the location will be the same as fdFileHost
.
pageSize
- The size of each page inside a database.
SessionMinCacheSize
- The minimum size of the session's cache
SessionMaxCacheSize
- The maximum size of the session's cache