Each RAR uses a connection manager that can be configured via the additional properties described in the following table. The Postgres1.jonas-ra.xml file provides an example of the settings. These settings all have default values and they are not required.
| Property name | Description | Default Value |
|---|---|---|
| pool-init | Initial number of connections | 0 |
| pool-min | Minimum number of connections | 0 |
| pool-max | Maximum number of connections | -1 (unlimited) |
| pool-max-age | Number of milliseconds to keep the connection | 0 (unlimited) |
| pstmt-max | Maximum number of PreparedStatements cached per connection | 10 |
Table 40-1. pool-params elements
| Property name | Description | Default Value |
|---|---|---|
| jdbc-check-level | JDBC connection checking level | 0 (no check) |
| jdbc-test-statement | test statement |
Table 40-2. jdbc-conn-params elements
jdbc-test-statement is not used when jdbc-check-level is equal to 0 or 1.