Created
January 31, 2017 11:24
-
-
Save pulasthi7/2fdab760a62bf8f2c0755849894af30d to your computer and use it in GitHub Desktop.
PostgreSQL config for WSO2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> | |
<providers> | |
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> | |
</providers> | |
<datasources> | |
<datasource> | |
<name>WSO2_CARBON_DB</name> | |
<description>The datasource used for registry and user manager</description> | |
<jndiConfig> | |
<name>jdbc/WSO2CarbonDB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:postgresql://localhost:5432/wso2db</url> | |
<username>postgres</username> | |
<password>root</password> | |
<driverClassName>org.postgresql.Driver</driverClassName> | |
<maxActive>30</maxActive> | |
<maxWait>60000</maxWait> | |
<minIdle>4</minIdle> | |
<testOnBorrow>true</testOnBorrow> | |
<validationInterval>30000</validationInterval> | |
<defaultAutoCommit>false</defaultAutoCommit> | |
</configuration> | |
</definition> | |
</datasource> | |
</datasources> | |
</datasources-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment