Page History
...
Three types of datasources can be configured in the Java web application: JDBC, ODBC and JNDI. A datasource must be defined in the
Include Page | ||||
---|---|---|---|---|
|
...
Code Block |
---|
connection.datasource_name.sql.poolInitialSize=5 |
The parameters are:
Parameter | Default | Description |
---|---|---|
poolInitialSize | 0 | The initial number of connections that are created when the pool is started. |
poolMaxTotal | 8 | The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit. |
poolMaxIdle | 8 | The maximum number of connections that can remain idle in the pool, without extra ones being released, or negative for no limit. |
poolMinIdle | 0 | The minimum number of connections that can remain idle in the pool, without extra ones being created, or zero to create none. |
poolMaxWait | -1 | The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or -1 to wait indefinitely. |
Info | ||
---|---|---|
| ||
The descriptions above and the default values are taken from the Apache Commons DBCP website. |
...
Using the development plugin
Assuming the Development plugin development tools component is installed, the Settings widget can be started by using the button in the top right corner of the dashboard (see Using the development dashboard).
...
Overview
Content Tools