System service configuration
elDoc IDP & BPM system comes with generic configuration parameters. Before launching elDoc system as system service you need to review and adjust those parameters in order to ensure stability and proper operation of the system.
Service parameters are set via elDoc-server.sh (for Linux deployment) or elDoc-server.cmd (for Windows deployment) file.
List of system service process parameters
elDoc IDP & BPM system is a Java-based application, as such service parameters are provided as Java-process command-line arguments.
Parameter name | Default value | Description |
---|---|---|
-XmsZZg | -Xms8g | Sets the minimal reserved memory space for the elDoc server system process |
-XmxZZg | -Xmx8g | Sets the maximum memory for the elDoc server system process |
-Dorg.bytedeco.javacpp.maxPhysicalBytes | 16g | Sets maximum memory for the IDP-related sub-system like computer vision |
-Dua.eldoc.disableSchedulers | false | Disables automatic launch of system schedulers on server start (system schedulers still can be enabled manually via the administration page) |
-Dua.eldoc.ocr.page.timeoutSec | 300 | Defines timeout (per-page) for performing OCR (affects internal OCR Engine only) |
-Dua.eldoc.idp.processing.threads | 10 | Defines max number of IDP processing threads |
-Dua.eldoc.idp.preprocessing.threads | 4 | Defines max number of IDP pre-processing threads |
-Dua.eldoc.idp.postProc.timeoutSec | 60 | Defines timeout (per execution entity, e.g.: field, recoForm) for executing (running) post-processing script |
-Dua.eldoc.idp.minSkewDegree -Dua.eldoc.idp.maxSkewDegree | 0.55 5 | Defines min and max skew degree (as detected by the IDP de-skew algorithm) allowed be fixed. Entered value has to be inside the range [0, 45] and follow the rule minSkewDegree<maxSkewDegree, otherwise provided values are ignored and default values are used. Setting parameter as -Dua.eldoc.idp.maxSkewDegree=0 effectively disables page skew handling. |
-Dua.eldoc.idp.maxRotateDegree | 270 | Defines pages max rotate degree. Supported values: 0, 90, 180, 270. Setting this property to 0 effectively disables page rotation detection logic. |
-Dua.eldoc.idp.preprocess.enableAccessibility | false | Defines the way how system forms pre-processed by IDP PDF files (which are accessible for download from the system via API). Enabling this option allows to have accessibility functions (e.g.: text-to-speech) available on the resulting PDF files. |
-Dua.eldoc.pdf.textPdfCharThresh | 50 | Specifies the minimum number of characters required on a page to determine if it is text-based. Should be a positive integer value or zero. |
-Dua.eldoc.pdf.maxMemoryBytes | 10485760 (10MB) | Defines maximum memory (RAM) to be used for PDF document content buffers (on per file basis). Possible values:
|
-Djavax.net.ssl.keyStore | $BASE_DIR/cert/keystore.jks | Defines path to the key store container |
-Djavax.net.ssl.keyStorePassword | Defines password for the key store container | |
-Djavax.net.ssl.trustStore | $BASE_DIR/cert/cacerts.jks | Defines path to the key store container with trusted certs |
-Djavax.net.ssl.trustStorePassword | Defines password for the key store container with trusted certs | |
-Dua.eldoc.export.maxdocs | 100000 | Defines maximum number of documents processed by CSV-export |
-Dua.eldoc.security.authCache.ttlSec | 10 | Defines authorization cache TTL in seconds |
-Dua.eldoc.security.authCache.distributed | FALSE | Enables distributed authorization cache. By default local cache instance (per node) is used instead |
--port | 8080 | Sets on which port elDoc server will be listening for the requests (NOTE: standard practice is to use reverse-proxy in front of the elDoc system like nginx) |
--sslport | 443 | Sets the HTTPS port on which elDoc server will be listening for requests |
--sslcert | eldoc-cert-name | Sets the name of the HTTPS certificate to be used |
IMPORTANT: parameters starting with double-dash ("--") have to follow after the line with the "-jar" parameter, all other parameters have to be present before line with "-jar" parameter in the start script file elDoc-server.sh (or elDoc-server.cmd).
Last modified: June 05, 2024