View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Add page
Show collection (0 pages)
Collections help


How to Use an External Connection Pool

Bulbgraph.png   The use of external connection pools is available from 3.0PR14Q2


By default Openbravo uses two connection pools:

From 3.0MP32 it is possible to specify an external connection provider that Openbravo will use to obtain the JDBC connections. For that, a module containing a subclass of ExternalConnectionPool needs to be installed, and the db.externalPoolClassName property has to be set in

Example: Using the Apache JDBC Connection Pool

The Apache JDBC Connection Pool Openbravo modules provides an implementation of the Apache JDBC Connection Pool.

Once the module has been installed, the db.externalPoolClassName property has to be set in This module implements the external connection pool class in the org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool class, so this line should be added to


This module contains a configuration file template: modules/org.openbravo.apachejdbcconnectionpool/config/ In order to customize the JDBC connection pool properties this file has to be copied to modules/org.openbravo.apachejdbcconnectionpool/config/ The user can then configure the pool properties according to his needs. Hints about how to configure this properties can be found here.

Retrieved from ""

This page has been accessed 2,691 times. This page was last modified on 6 May 2014, at 06:03. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.