40.3. ConnectionManager Configuration

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 nameDescriptionDefault Value
pool-initInitial number of connections0
pool-minMinimum number of connections0
pool-maxMaximum number of connections-1 (unlimited)
pool-max-ageNumber of milliseconds to keep the connection0 (unlimited)
pstmt-maxMaximum number of PreparedStatements cached per connection10

Table 40-1. pool-params elements

Property nameDescriptionDefault Value
jdbc-check-levelJDBC connection checking level0 (no check)
jdbc-test-statementtest statement 

Table 40-2. jdbc-conn-params elements

jdbc-test-statement is not used when jdbc-check-level is equal to 0 or 1.