This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Connection Manager (connectionManager)
Connection Manager configuration
Attribute name | Data type | Default value | Description |
---|---|---|---|
agedTimeout | A period of time with second precision | -1 | Amount of time before a physical connection can be discarded by pool maintenance. A value of -1 disables this timeout. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds. |
connectionTimeout | A period of time with second precision | 30s | Amount of time after which a connection request times out. A value of -1 disables this timeout. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds. |
id | string | A unique configuration ID. | |
maxConnectionsPerThread | int
Minimum: 0 |
Limits the number of open connections on each thread. | |
maxIdleTime | A period of time with second precision | 30m | Amount of time after which an unused or idle connection can be discarded during pool maintenance, if doing so does not reduce the pool below the minimum size. A value of -1 disables this timeout. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds. |
maxPoolSize | int
Minimum: 0 |
50 | Maximum number of physical connections for a pool. A value of 0 means unlimited. |
minPoolSize | int
Minimum: 0 |
Minimum number of physical connections to maintain in the pool. The pool is not pre-populated. Aged timeout can override the minimum. | |
numConnectionsPerThreadLocal | int
Minimum: 0 |
Caches the specified number of connections for each thread. | |
purgePolicy |
|
EntirePool | Specifies which connections to destroy when a stale connection is detected in a pool.
|
reapTime | A period of time with second precision | 3m | Amount of time between runs of the pool maintenance thread. A value of -1 disables pool maintenance. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds. |