Configuring the context parameters

Some context parameters must be specified in the Servlet Manager in order for SECollab to work properly. The procedure for specifying a context parameter depends on the selected application server. See the corresponding section for Apache Tomcat or IBM Application Server Liberty.

Valid attributes for each Parameter are the following.

Attribute Description
description Optional. The literary description of the context parameter.
name Mandatory. The name of the context parameter to be created.
value Mandatory. The value of the parameter that will be specified in the application. The values shown below are examples and must be modified to match your configuration

List of context parameters

Attribut Description
description When purchasing SECollab, two options are available for managing licenses. You will have either been given a license file, installed locally on the server, or an application to install to play the role of License server. In the first case, you will enter the absolute path (the file must be located on the application server hosting SECollab). In the second case, you will indicate the address of the server.
name mdw.license
value

Two values are possible :

  • License Server
    Specify the license server address with the syntax port@nameOfServer. The port is optional and usually does not need to be filled in.
    Example : @LicenceServer
     
  • Local license file
    Specify the absolute path of the license file installed on the same server as the machine hosting SECollab.
    Example: c:\licences\secollab.lic
Attribute Description
description Absolute path to the folder where SECollab will store the files it needs. This folder must be set to the machine hosting the SECollab server and exist before the application is deployed to the application server.
name mdw.server.workspace
value Example: c:\secollab\workspace
Attribute Description
description (optional parameter) The maximum number of resources stored in the configurations cache on the server. You should increase this number for a performance gain on create/update/delete operations if you often work on large designs (>50000 resources) and if you have a large amount of RAM available for the SECollab server. Setting a value lower than the default is not advised.
name mdw.server.configuration.cacheWeight
value Default: 250000
This value corresponds to a memory footprint of around 340MB on the server. The memory footprint increases linearly with the number of cached resources.
Attribute Description
description (optional parameter) The number of minutes after which an entry of the configurations cache will expire if it is not accessed. You can increase this number if you have a large amount of RAM available for the SECollab server and if you don't need to minimize its memory usage as often. Setting a value lower than the default is not advised.
name mdw.server.configuration.cacheExpirationDuration
value Default: 5

List of context parameters for embedded database

Attribute Description
description (optional parameter) List of connection parameters to append to the JDBC connection string, separated by a semicolon.
name mdw.server.db.connectionParams
value Example (H2 database): COMPRESS=true;CIPHER=AES;create=true

Note: It is necessary to restart your application server after changing its context parameters.