configuring lexicon settings |
proiv dashboard |
Lexicon configuration
-
On the Lexicon page, click Settings tab.
The Lexicon Configuration page appears with the default values. -
Modify the configuration as required. The following table describes the fields that can be configured.
Field Name
Description
Database Connection String
The connection string used to connect to the Lexicon database. The default value is "jdbc:derby://localhost:9820/lexidb"
Username
The username with which you can access the Lexicon jdbc connection. The default value is "proivsysdb"
Password
The password with which you can access the Lexicon jdbc connection.
Jdbc Driver
The class name of the jdbc driver to be used for the jdbc connection to the Lexicon. The default driver is "org.apache.derby.jdbc.ClientDriver".
Lexicon Base Language
The base language of the lexicon. The default base language is "EN" - ENGLISH.
Database Pool Initial Size
The number of Lexicon database connections to pool at startup. By default, the initial size is set to 1; however, you can modify the value based on the database connections to pool.
Database Pool Maximum Size
The maximum number of Lexicon database connections that can be started to service demand. By default, the value is set to 100; however, you can modify the value based on the number of database connections to pool.
Database Pool Idle Timeout
The length of time in seconds that a connection can remain idle in the pool. After this time, the pool will close the connection. The default value is 3600 seconds.
Database Retry Exception List
The database retry exception list. By default, "connection reset by peer, a different exception" is set. You can change it as required. The exceptions are separated with semi colon that when received, the database operation is retried.
Base String Cache Size
The maximum number of untranslated base strings to be cached. The default value is 3000.
Translation String Cache Size
The maximum number of translated strings that should be cached. The default value is 3000.
Translation Request Timeout
The number of milliseconds to wait for a translation before timing out the request. The default value is 500 milliseconds.
Worker Threads Initial Size
The number of worker threads to initialise at startup. The default value is 1.
Worker Threads Maximum Size
The maximum number of lexicon worker threads that can be started to serve the demand. The default value is 50.
-
Click Submit.
Related Topics
Dashboard
Overview
Lexicon Database Configuration
Topic ID: 860005