mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Humongous merge. It is incomplete, however; faces-config-navigation.xml and ClientConfigElement
were both beyond me, and are just the raw conflict merge data. If Kev can't figure out how they should go together by tomorrow AM (for me) I'll dig back in. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
|
||||
<!--
|
||||
An example of how to override the dataSource bean.
|
||||
If an alternative pool is desired, such as C3P0, then it can be referenced by
|
||||
changing the 'class' attribute and adding or removing the required properties.
|
||||
The required libraries can be dropped into the servers extension lib folders.
|
||||
-->
|
||||
<beans>
|
||||
|
||||
<!-- Datasource bean -->
|
||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
||||
<!-- connection settings -->
|
||||
<property name="driverClassName">
|
||||
<value>${db.driver}</value>
|
||||
</property>
|
||||
<property name="url">
|
||||
<value>${db.url}</value>
|
||||
</property>
|
||||
<property name="username">
|
||||
<value>${db.username}</value>
|
||||
</property>
|
||||
<property name="password">
|
||||
<value>${db.password}</value>
|
||||
</property>
|
||||
<property name="defaultAutoCommit" >
|
||||
<value>false</value>
|
||||
</property>
|
||||
<!-- pool settings -->
|
||||
<property name="initialSize" >
|
||||
<value>${db.pool.initial}</value>
|
||||
</property>
|
||||
<property name="maxActive" >
|
||||
<value>${db.pool.max}</value>
|
||||
</property>
|
||||
<property name="timeBetweenEvictionRunsMillis" >
|
||||
<value>300000</value>
|
||||
</property>
|
||||
<property name="minEvictableIdleTimeMillis" >
|
||||
<value>-1</value>
|
||||
</property>
|
||||
<property name="testOnBorrow" >
|
||||
<value>false</value>
|
||||
</property>
|
||||
<property name="maxWait" >
|
||||
<value>50000</value>
|
||||
</property>
|
||||
<property name="testWhileIdle" >
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="validationQuery" >
|
||||
<value>select 1</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
Reference in New Issue
Block a user