<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_an_External_Connection_Pool</id>
	<title>How to Use an External Connection Pool - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=How_to_Use_an_External_Connection_Pool"/>
	<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=How_to_Use_an_External_Connection_Pool&amp;action=history"/>
	<updated>2026-04-06T15:14:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.infinite-erp.co.id/index.php?title=How_to_Use_an_External_Connection_Pool&amp;diff=2746&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;{{(!)| The use of external connection pools is available from '''3.0PR14Q2'''}}  == Introduction ==  By default Openbravo uses two connection pools:  * Hibernate default conne...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=How_to_Use_an_External_Connection_Pool&amp;diff=2746&amp;oldid=prev"/>
		<updated>2021-12-16T02:10:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{(!)| The use of external connection pools is available from &amp;#039;&amp;#039;&amp;#039;3.0PR14Q2&amp;#039;&amp;#039;&amp;#039;}}  == Introduction ==  By default Openbravo uses two connection pools:  * Hibernate default conne...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{(!)| The use of external connection pools is available from '''3.0PR14Q2'''}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
By default Openbravo uses two connection pools:&lt;br /&gt;
&lt;br /&gt;
* Hibernate default connection pool for DAL-related queries&lt;br /&gt;
* [http://commons.apache.org/proper/commons-dbcp/ Apache DBCP] for the connections provided by the ConnectionProviderImpl.&lt;br /&gt;
&lt;br /&gt;
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 Openbravo.properties.&lt;br /&gt;
&lt;br /&gt;
== Example: Using the Apache JDBC Connection Pool ==&lt;br /&gt;
&lt;br /&gt;
The [http://wiki.openbravo.com/wiki/Modules:Apache_JDBC_Connection_Pool Apache JDBC Connection Pool] Openbravo modules provides an implementation of the Apache JDBC Connection Pool.&lt;br /&gt;
&lt;br /&gt;
Once the module has been installed, the db.externalPoolClassName property has to be set in Openbravo.properties. This module implements the external connection pool class in the org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool class, so this line should be added to Openbravo.properties:&lt;br /&gt;
&lt;br /&gt;
'''db.externalPoolClassName=org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool'''&lt;br /&gt;
&lt;br /&gt;
This module contains a configuration file template: modules/org.openbravo.apachejdbcconnectionpool/config/connectionPool.properties.template. In order to customize the JDBC connection pool properties this file has to be copied to modules/org.openbravo.apachejdbcconnectionpool/config/connectionPool.properties. The user can then configure the pool properties according to his needs. Hints about how to configure this properties can be found [http://www.tomcatexpert.com/blog/2010/04/01/configuring-jdbc-pool-high-concurrency here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:HowTo]]&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
</feed>