General Connector Configuration Properties
These properties apply to the Oracle Documaker Connector application, regardless of what document source and destination is configured. These items include the choices of source and destination components.
Most of the core application properties configure the common logging service. These properties let you specify the amount information that is logged (this affects performance), where the log files are written, how the log files are named, and how the log is split into multiple files over time. When you run Documaker Connector in Server mode from the command line, it can be controlled by another copy of itself running in Commander mode. The Commander mode copy sends control messages across the network to the server mode copy. To prevent unauthorized or accidental control messages from being processed, a password may be required. These properties control the port on which the server Connector listens for commands and the password used to validate incoming commands on the port.
The channel.count controls the number of parallel channels Documaker Connector creates and manages. Using multiple channels allows processing to scale within a single Documaker Connector application. Each channel uses a copy of the source and destination which are all created and initialized separately. Consequently, each channel creates separate connections to the source and destination systems.
If run in server mode, each Documaker Connector channel loops continuously, calling its source until no more documents are available to be processed. It then sleeps for engine.datarequest.wait seconds and tries again to import documents.
Table 3-2 General Connector Configuration Properties
| Complete Property Name | Description | Default |
|---|---|---|
| log.level | Sets the logging level to either FATAL, ERROR, WARN, INFO, or DEBUG. | WARN |
| log.destination | Specifies where the log is written, either CONSOLE or FILE. | CONSOLE |
| log.path | Specifies the base log file name. | connector.log |
| log.maxsize | Specifies the maximum log file size in kilobytes. | 100 (Kb) |
| log.history | Specifies the number of rolled-over history log generations to retain. | One (1) |
| command.port | Specifies the command channel port number. | 23232 |
| command.password | Specifies the password which must be provided by a client with each command request. See Handling Passwords in the Property File on page 50 for more information. | none |
| channel.count | Specifies the number of document import channels. Each channel has a source and destination component created for it. | One (1) |
| engine.datarequest.wait | Specifies the number of seconds to wait after an empty data request is received. | Five (5) |
| source.name | Specifies the Java class name for the source component. | none |
| destination.name | Specifies the Java class name for the destination component. | none |
| [id.]phase.name | Specifies the Java class name for a phase listener you want to include in the processing cycle. | none |