Default parameters are defined in the Pool. However, they may be modified via the Pool.properties file or the poolSession_<PoolName>.properties file (this has priority over the Pool.properties file).
The file should be accessible from the CLASSPATH (generally placed in the WEB-INF\classes subdirectory of the web application).
The session pool parameters are as follows:
Name |
Description |
Values |
MaxConns
|
Maximum number of sessions that can be opened by the pool.
|
Integer from 1 to n By default: 10 |
MinSize |
Number of permanent sessions in the pool (or minimum size of pool). |
Integer from 0 to n By default: 1 |
TimeOut |
Lifetime in milliseconds of a session between two uses in the Pool. When the indicated time period has expired, sessions, in addition to the minimum size, are released. |
Integer from 100 to n By default: 1000000 |
HangTime |
Period (in milliseconds) at the end of which a session may be blocked by an Adelia Bean. After this period, the session is automatically made available in the pool. |
Integer from 100 to n By default: 100000 |
FileCfg |
Client configuration file (MWCLIENT.ini) to be used for the Pool (if the parameter is not defined, then the client configuration file indicated in CfgConfiguration.properties is to be used). |
ALPHA string |
FileCfgSrv |
Server configuration file (MWSERVER.ini) to be used for the Pool (if the parameter is not defined, then the server configuration file indicated in CfgConfiguration.properties is to be used). |
ALPHA string |
MW_ANSI_CODEPAGE |
ANSI page code used to build Unicode-EBCDIC conversion tables with AS/400 servers, or UNICODE - ANSI with Windows servers (if the parameter is not defined, then the parameter indicated in CfgConfiguration.properties is to be used). |
Integer |
MW_ASCII_CODEPAGE |
ASCII code page used to build Unicode- EBCDIC conversion tables with AS/400 servers if the ANSI code page did not allow to build these tables (if the parameter is not defined, then the parameter indicated in CfgConfiguration.properties is to be used). |
Integer |
Click below for further details about: